source:
trunk/MESOSCALE/PLOT/PYTHON/mylib/mymath.py
@
180
Last change on this file since 180 was 180, checked in by , 14 years ago | |
---|---|
File size: 344 bytes |
Line | |
---|---|
1 | def min (field,axis=None): |
2 | import numpy as np |
3 | return np.array(field).min(axis=axis) |
4 | |
5 | def max (field,axis=None): |
6 | import numpy as np |
7 | return np.array(field).max(axis=axis) |
8 | |
9 | def mean (field,axis=None): |
10 | import numpy as np |
11 | return np.array(field).mean(axis=axis) |
12 | |
13 | def deg (): |
14 | return u'\u00b0' |
15 |
Note: See TracBrowser
for help on using the repository browser.