source: trunk/MESOSCALE/LMD_MM_MARS/SRC/PYTHON/mymath.py @ 295

Last change on this file since 295 was 261, checked in by aslmd, 13 years ago

MESOSCALE: user manual. a decent complete version. needs to be read again. also moved python graphical scripts to /home/aymeric/Science/MODELESMESOSCALELMD_MM_MARS/SRC/PYTHON so that it is available to users (and not only developers)

File size: 344 bytes
Line 
1def min (field,axis=None): 
2        import numpy as np
3        return np.array(field).min(axis=axis)
4
5def max (field,axis=None):
6        import numpy as np
7        return np.array(field).max(axis=axis)
8
9def mean (field,axis=None):
10        import numpy as np
11        return np.array(field).mean(axis=axis)
12
13def deg ():
14        return u'\u00b0'
15
Note: See TracBrowser for help on using the repository browser.