| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
* fixed the documentation of (flat)notmasked_xxx
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
module. The fix should be good for Python >= 2.4 and used the following sed script:
s/\<failUnless\>/assertTrue/g
s/\<failIf\>/assertFalse/g
s/\<failUnlessEqual\>/assertEqual/g
s/\<failUnlessRaises\>/assertRaises/g
|
| |
|
| |
|
|
|
|
|
|
| |
(bugfix #1166)
extras : introduced clump_masked and clump_unmasked
|
| |
|
| |
|
|
|
|
|
|
| |
unique1d, union1d
* use np.atleast1d instead of ma.atleast1d
|
| |
|
|
|
|
|
| |
* Fixed masked_all for nested dtype
* Fixed masked_all_like for nested dtype
|
| |
|
| |
|
| |
|
|
|
|
| |
* test_extras: switched to assert_almost_equal in TestCov and TestCorrcoef
|
|
|
|
|
|
|
| |
* use self.__name__ for private method instances
extras
* fixed corrcoef
* introduced diagflat
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Added numpy.testing.run_module_suite to simplify "if __name__ == '__main__'" boilerplate code in test
modules.
Removed numpy/testing/pkgtester.py since it just consisted of an import statement after porting SciPy r4424.
Allow numpy.*.test() to accept the old keyword arguments (but issue a deprecation warning when old arguments
are seen).
numpy.*.test() returns a test result object as before.
Fixed typo in distutils doc.
|
|
|
|
| |
modules.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
core:
* When creating a masked array with named fields, the mask has now a flexible type [(n,bool) for n in fields], which allows individual fields to be masked.
* When a masked array has named fields, setting the mask to a sequence of booleans will set the mask of all the fields of the corresponding record.
* A new property, recordmask, returns either the mask (when no named fields) or a boolean array where values are True if all the fields of one record are masked, False otherwise.
* A new private attribute, _isfield, has been introduced to keep track whether an array is a field of a record-like masked array or not, and make sure that the mask is properly propagated.
* Setting an existing mask to nomask will only fill the mask with False, not transform it to nomask
mrecords:
* _fieldmask is now only a synonym for _mask, kept for convenience
* revamped __getattribute__ to the example of numpy.core.records.recarray.__getattribute__
* __setslice__ and filled are now inhertied from MaskedArray
tests
* The tests in test_core have been reorganized to improve clarity and avoid duplication.
* test_extras now uses the convention "import numpy as np"
|
|
|
|
| |
mrecords: fixed __setitem__ to update the mask if needed.
|
| |
|
| |
|
|
|
|
|
|
|
| |
mstats : fixed mmedian, renamed to median and moved to numpy.ma.extras for compatibility
extras : introduced median from mstats
mrecords: * fixed __array_finalize__ to keep the mask of a masked array when viewing it as a mrecarray
* simplified _getdata
|
|
|