summaryrefslogtreecommitdiff
path: root/numpy/ma
Commit message (Collapse)AuthorAgeFilesLines
* * Add flatten_structured_array to the namespacepierregm2009-01-102-8/+9
|
* * Added flatten_structured_arrayspierregm2009-01-092-17/+104
| | | | * Fixed _get_recordarray for nested structures
* * Remove a debugging print statement.pierregm2009-01-081-4/+0
|
* * Add __eq__ and __ne__ for support of flexible arrays.pierregm2009-01-082-4/+129
| | | | * Fixed .filled for nested structures
* * Renamed `torecords` to `toflex`, keeping `torecords` as an aliaspierregm2009-01-072-11/+88
| | | | | * Introduced `fromflex`, to reconstruct a masked_array from the output of `toflex` (can’t `use fromrecords` as it would clash with `numpy.ma.mrecords.fromrecords`) * Fixed a bug in MaskedBinaryOperation (#979) (wrong array broadcasting)
* * Fixed iadd/isub/imul when the base array has no mask but the other array doespierregm2009-01-072-4/+55
|
* * Bugfix #961pierregm2009-01-061-29/+32
|
* *moved the printing templates out of MaskedArray.__repr__pierregm2009-01-051-31/+32
|
* * adapted default_fill_value for flexible datatypepierregm2009-01-042-12/+62
| | | | * fixed max/minimum_fill_value for flexible datatype
* ran reindentJarrod Millman2008-12-315-28/+26
|
* testutils:pierregm2008-12-234-58/+116
| | | | | | | | | | | | | * assert_equal : use assert_equal_array on records * assert_array_compare : prevent the common mask to be back-propagated to the initial input arrays. * assert_equal_array : use operator.__eq__ instead of ma.equal * assert_equal_less: use operator.__less__ instead of ma.less core: * Fixed _check_fill_value for nested flexible types * Add a ndtype option to _make_mask_descr * Fixed mask_or for nested flexible types * Fixed the printing of masked arrays w/ flexible types.
* testutils:pierregm2008-12-223-67/+218
| | | | | | assert_array_compare : make sure that the comparison is performed on ndarrays, and make sure we use the np version of the comparison function. core: * Try not to touch the data in unary/binary ufuncs, (including inplace)
* Get lstsq and eigvals from numpy.linalg, not from numpy.dual. Addresses ↵Pauli Virtanen2008-12-131-2/+2
| | | | Scipy ticket #800
* * 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
|