summaryrefslogtreecommitdiff
path: root/numpy/ma/extras.py
diff options
context:
space:
mode:
authorpierregm <pierregm@localhost>2008-04-14 16:07:22 +0000
committerpierregm <pierregm@localhost>2008-04-14 16:07:22 +0000
commit8bf74cc2b5c64ba5ade27650bcaa56c29eba0065 (patch)
tree4ef5b74b967f1b3ff8e1a0fa2007826aedcb1c95 /numpy/ma/extras.py
parent221f6d7b1a3d831bf189d2ef8a9209780fcd4945 (diff)
downloadnumpy-8bf74cc2b5c64ba5ade27650bcaa56c29eba0065.tar.gz
core:
fix_invalid : use isfinite & skip setting a mask is there's no invalid data _update_from: force the default hardmask to False (instead of relying on class default) extras: cleanup mrecords: modified to meet new standards (import numpy as np) __array_finalize__ : skip the call to _update_from and directly update __dict__ __setmask__ : allow an update from a valid fieldmask mask : as recognizable property
Diffstat (limited to 'numpy/ma/extras.py')
-rw-r--r--numpy/ma/extras.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/numpy/ma/extras.py b/numpy/ma/extras.py
index 64143d813..a8dec0637 100644
--- a/numpy/ma/extras.py
+++ b/numpy/ma/extras.py
@@ -824,6 +824,3 @@ def notmasked_contiguous(a, axis=None):
return result
################################################################################
-testmathworks = fix_invalid([1.165 , 0.6268, 0.0751, 0.3516, -0.6965,
- numpy.nan])
-expand_dims(testmathworks.mean(0),0) \ No newline at end of file