summaryrefslogtreecommitdiff
path: root/numpy/ma
Commit message (Collapse)AuthorAgeFilesLines
...
* * Added MaskErrorpierregm2008-12-052-18/+33
| | | | * If a bool or int ndarray is given as the explicit output of var/min/max, an exception is raised if the function should have output np.nan
* * Cleaned up make_mask_descr pierregm2008-12-021-11/+6
|
* * Fixed make_mask_descr for dtype w/ composite names, like [(('A','B'), float)]pierregm2008-12-022-9/+20
|
* * Fixed MaskedArray for nested dtype w/ input maskpierregm2008-12-023-7/+71
| | | | | * Fixed masked_all for nested dtype * Fixed masked_all_like for nested dtype
* * added flatten_mask to collapse masks w/ (nested) flexible types.pierregm2008-12-012-5/+84
| | | | * fixed __getitem__ on arrays w/ nested dtype
* Fixed make_mask_descr for nested dtypespierregm2008-12-012-13/+28
|
* Doc updatepierregm2008-11-271-1/+12
|
* * Added get_object_signature to fix missing signaturespierregm2008-11-272-234/+183
| | | | | | * Fixed .getdoc from _arraymethod, _frommethod, _convert2ma, _fromnxfunction * Fixed the docstrings of .trace, .mean, .argsort, .sort * Suppressed duplicated conjugate, ptp, round, expand_dims, apply_along_axis, compress_rowcols, mask_rowcols, vander, polyfit
* * added ma.diagpierregm2008-11-262-17/+85
| | | | | * added copy, cumprod, cumsum, harden_mask, prod, round, soften_mask, squeeze to the namespace * TEMPORARILY fixed a pb of compatibility with python 2.6 (involvingin(np.nan))
* Added mod to the ufuncspierregm2008-11-232-2/+13
|
* Rewrote allclose to allow comparison with a scalarpierregm2008-11-212-33/+110
|
* * Prevent the shape of a 1d-singleton to be lost when interacting with ↵pierregm2008-11-212-18/+92
| | | | masked (bug fix #948)
* Import np_ in ma tests since the import is not available in numpy.ma anymore.David Cournapeau2008-11-201-0/+1
|
* make_mask : Added a dtype keyword to support flexible-dtypepierregm2008-11-191-103/+187
| | | | mask_or : Added support to flexible-dtype.
* simplify MAErrorpierregm2008-11-171-10/+23
|
* MaskedRecords : reintroduced _fieldmask as a property (for backcompatibility).pierregm2008-11-111-0/+5
|
* Import documentation from doc wiki (part 2, work-in-progress docstrings, but ↵Pauli Virtanen2008-10-283-262/+435
| | | | they are still an improvement)
* __getattribute__ : make sure than a np.void is returned when retrieving the ↵pierregm2008-10-191-12/+18
| | | | unmasked attribute of a single record.
* * make sure we call self.failUnless instead of assertpierregm2008-10-191-5/+5
|
* core : * fixed make_mask_descr to recognize subdtypes pierregm2008-10-185-87/+237
| | | | | | | | | : * fixed some corner cases of view mrecords : * fixed view : * got rid of _fieldmask for _mask : * WARNING: setting ._mask no longer calls __setmask__ : BE CAREFUL. : * prevent setting ._mask directly, as it screws up things: use .mask instead test_subclassing : * clean up
* replaced assert with self.failUnlesspierregm2008-09-294-166/+166
|
* use if ...: raise AssertionError instead of assertpierregm2008-09-291-7/+14
|
* core:pierregm2008-09-282-1/+22
| | | | | * added __rmul and __radd__ * fixed concatenate for flexible-dtype
* core:pierregm2008-09-194-34/+79
| | | | | | | | | | * add dtype to the repr of masked arrays w/ flexible type * prevent __getitem__ to return masked on flexible-type masked array * make sure __str__ returns something sensible for flexible dtype w/ masked fields * simplify the count method mrecords: * fixed a pb with fromrecords when the number of fields cannot be determined from the first element.
* median : fixed a bug in _median1D (there shouldn't have been an axis)pierregm2008-09-182-15/+26
|
* MaskedArray.__new__ : make sure that we inherit the _hardmask from data (if ↵pierregm2008-09-132-2/+7
| | | | any) instead of reverting to default.
* Removed unused imports.Alan McIntyre2008-09-136-67/+53
| | | | Standardize NumPy import as "import numpy as np".
* * fixed view for MaskedArrays w/ flexible dtypepierregm2008-09-112-4/+58
|
* * make sure that minimum & maximum actually return a MaskedArraypierregm2008-09-092-0/+19
|
* Removed unused imports.Alan McIntyre2008-09-092-3/+1
|
* * fixed deepcopy of masked arrays (bug #906)pierregm2008-09-052-0/+26
|
* docstring updatepierregm2008-09-031-186/+98
|
* reindenting prior to releaseJarrod Millman2008-09-021-3/+3
|
* * fixing botched previous commitpierregm2008-08-261-14/+0
|
* Updated doc + -OO compatibilitypierregm2008-08-262-26/+60
|
* Small style cleanup. Need work for ticket #893.Charles Harris2008-08-261-0/+2
|
* BUG: fix part of ticket #893Charles Harris2008-08-261-6/+11
|
* core : make sure that masked_equal works with a list as inputpierregm2008-08-253-8/+17
| | | | mrecords: make sure that the keys of self._optinfo are recognized as valid attributes.
* * masked_where : force a consistency check on the shapes of the inputspierregm2008-08-122-0/+16
|
* ran reindentJarrod Millman2008-08-088-88/+85
|
* * core : minor doc formattingpierregm2008-08-072-79/+81
| | | | * test_extras: switched to assert_almost_equal in TestCov and TestCorrcoef
* corepierregm2008-08-073-61/+151
| | | | | | | * use self.__name__ for private method instances extras * fixed corrcoef * introduced diagflat
* * MaskedArray.__new__: prevents self._optinfo to be overwritten (it's ↵pierregm2008-08-061-2/+0
| | | | defined w/ the call to .view)
* * added cov and corrcoef to ma.extras for compatibilitypierregm2008-08-052-16/+207
|
* Merge from documentation editor.Stefan van der Walt2008-08-052-13/+140
|
* * extras: fixed the definition of medianpierregm2008-08-041-11/+8
|
* corepierregm2008-08-042-0/+14
| | | | MaskedArray.__new__: prevents data.mask to change shape and force a copy of _data.mask
* core:pierregm2008-08-032-16/+37
| | | | | | | | * renamed _basedict to _optinfo * prevented the back propagation of _optinfo in _update_from : the __dict__ is copied only if the underlying object is not a MaskedArray * fixed getmaskarray for flexible dtype * fixed __setitem__ when filling fields (the mask might still be nomask) * _arraymethod now stores the name of the method in both self._name and self.__name__
* BUG: missing import.Robert Kern2008-07-291-0/+1
|
* * core : prevent ._basedict to be incorrectly propagatedpierregm2008-07-282-2/+13
|