summaryrefslogtreecommitdiff
path: root/numpy/ma/extras.py
diff options
context:
space:
mode:
authorrgommers <ralf.gommers@googlemail.com>2011-03-07 09:12:50 +0800
committerrgommers <ralf.gommers@googlemail.com>2011-03-11 12:27:02 +0800
commit44ae46c70d0b9cb4909bfafe1e4dbef3cd90f5b9 (patch)
tree9c833c7eba8b72c3306218d2a86e3c184290dee4 /numpy/ma/extras.py
parentf791984cf1d8aedaeaf4fa36db539744d88de051 (diff)
downloadnumpy-44ae46c70d0b9cb4909bfafe1e4dbef3cd90f5b9.tar.gz
DEP: remove unique1d, setmember1d and intersect1d_nu.
Diffstat (limited to 'numpy/ma/extras.py')
-rw-r--r--numpy/ma/extras.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/numpy/ma/extras.py b/numpy/ma/extras.py
index 5ca1e3d1b..1c28eadb8 100644
--- a/numpy/ma/extras.py
+++ b/numpy/ma/extras.py
@@ -1087,7 +1087,7 @@ def intersect1d(ar1, ar2, assume_unique=False):
if assume_unique:
aux = ma.concatenate((ar1, ar2))
else:
- # Might be faster than unique1d( intersect1d( ar1, ar2 ) )?
+ # Might be faster than unique( intersect1d( ar1, ar2 ) )?
aux = ma.concatenate((unique(ar1), unique(ar2)))
aux.sort()
return aux[aux[1:] == aux[:-1]]
@@ -1522,7 +1522,7 @@ def flatnotmasked_edges(a):
See Also
--------
- flatnotmasked_contiguous, notmasked_contiguous, notmasked_edges,
+ flatnotmasked_contiguous, notmasked_contiguous, notmasked_edges,
clump_masked, clump_unmasked
Notes
@@ -1637,7 +1637,7 @@ def flatnotmasked_contiguous(a):
>>> a = np.ma.arange(10)
>>> np.ma.extras.flatnotmasked_contiguous(a)
slice(0, 10, None)
-
+
>>> mask = (a < 3) | (a > 8) | (a == 5)
>>> a[mask] = np.ma.masked
>>> np.array(a[~a.mask])
@@ -1761,7 +1761,7 @@ def clump_unmasked(a):
See Also
--------
- flatnotmasked_edges, flatnotmasked_contiguous, notmasked_edges,
+ flatnotmasked_edges, flatnotmasked_contiguous, notmasked_edges,
notmasked_contiguous, clump_masked
Examples
@@ -1805,7 +1805,7 @@ def clump_masked(a):
See Also
--------
- flatnotmasked_edges, flatnotmasked_contiguous, notmasked_edges,
+ flatnotmasked_edges, flatnotmasked_contiguous, notmasked_edges,
notmasked_contiguous, clump_unmasked
Examples