| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
mrecords: fixed __setitem__ to update the mask if needed.
|
| |
|
|
|
|
|
| |
MaskedArray.__pow__ : call power
MaskedArray.__ipow__: works in place. Note that the _data part gets "fixed" (NaNs/Infs set to fill_value)
|
|
|
|
|
|
|
| |
afterwards
: MaskedArray._update_from(obj) : ensure that _baseclass is a ndarray if obj wasn't one already
: introduced clip in the namespace, just for convenience
|
|
|
|
| |
satisfy b==b.astype(int)
|
|
|
|
| |
satisfy (abs(b-int(b))<np.finfo(float).precision)
|
| |
|
|
|
|
|
|
| |
ndarray)
: fixed a bug in .compressed() when the _baseclass is a matrix
|
| |
|
|
|
|
|
|
| |
testutils : introduced assert_almost_equal/assert_approx_equal:
use assert_almost_equal(a,b,decimal) to compare a and b up to decimal places
use assert_approx_equal(a,b,decimal) to compare a and b up to b*10.**-decimal
|
| |
|
|
|
|
| |
__int__ : raises a TypeError exception for arrays longer than 1
|
|
|
|
|
|
| |
core: MaskedArray.__setitem__ : when hardmask is False, force the data to be updated before the mask.
core: MaskedArray.round_ : fixed to keep the dates on TimeSeries
core: round : simplified
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
| |
compressed : make sure that the result is always an array.
count : make sure that a regular ndarray is returned.
added the get_fill_value function
extras:
added the expand_dims function
deleted varu/stdu (redundant with the ddof=1 parameter)
|
| |
|
|
|
|
|
| |
new functions : frombuffer, fromfunction, identity, indices, trace
to fix : fromfile/tofile raise a NotImplementedError. For now.
|
| |
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
- simplified 'masked_invalid' and added it to __all__
- added the 'out' optional parameter to .mean
|
|
|
|
|
|
| |
mstats : updated docstrings
morestats : updated docstrings
core : fixed __setitem__ for records
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
tolist : make sure that a masked record is output as a tuple of None
maskedarray.mrecords:
* introduced mrecarray as the equivalent of recarray w/ fieldmask
* simplified fromarrays/fromrecords
|
|
|
|
|
| |
* fixed compress (third time the charm?)
* fixed a pb w/ get_fill_value when fill_value is None: now recognized records.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
fix_invalid - change the default to copy=True
_MaskedUnaryOperation - make sure the result gets updated from the
input (for subclasses)
_MaskedBinaryOperation - make sure the result gets updated from the
inputs (for subclasses)
_DomainedBinaryOperation - make sure the result gets updated from the
inputs (for subclasses)
MaskedArray.__new__ - added the ndmin keyword
MaskedArray.__getitem__ - works with fields, using the global mask
MaskedArray.__setitem__ - works with fields. The global mask is NOT
updated
MaskedArray.ids - fixed when nomask
MaskedArray.min/.max - force masked to be returned when the whole
array is masked
array - added the ndmin keyword
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|