summaryrefslogtreecommitdiff
path: root/numpy/ma
Commit message (Collapse)AuthorAgeFilesLines
* extras : dropped the m prefix in mediff1d, mvander, mpolyfitpierregm2008-05-145-23/+37
| | | | mrecords: fixed __setitem__ to update the mask if needed.
* extras: introduced mvander and mpolyfitpierregm2008-05-132-85/+190
|
* Fix reST markup.Stefan van der Walt2008-05-121-3/+9
|
* power : fixed a bug when a scalar is the first argumentpierregm2008-05-122-7/+35
| | | | | MaskedArray.__pow__ : call power MaskedArray.__ipow__: works in place. Note that the _data part gets "fixed" (NaNs/Infs set to fill_value)
* core : power : use the quick-and-dirty approach: compute everything and mask ↵pierregm2008-05-122-15/+42
| | | | | | | 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
* core : power : mask all negative values when the exponent (b) doesn't ↵pierregm2008-05-092-3/+7
| | | | satisfy b==b.astype(int)
* core : power : mask all negative values when the exponent (b) doesn't ↵pierregm2008-05-092-6/+7
| | | | satisfy (abs(b-int(b))<np.finfo(float).precision)
* core : prevent power to mask negative values when it should notpierregm2008-05-072-4/+10
|
* core : force .compressed() to return a type(_baseclass) object (usually a ↵pierregm2008-05-052-6/+23
| | | | | | ndarray) : fixed a bug in .compressed() when the _baseclass is a matrix
* (no commit message)pierregm2008-05-021-1/+0
|
* core : clean up update_frompierregm2008-05-013-16/+17
|
* core : fixed a bug w/ array((0,0))/0.pierregm2008-04-303-4/+33
| | | | | | 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
* removed tests/test_mstat and tests/test_morestats (now available in scipy)pierregm2008-04-252-289/+0
|
* suppressed mstats and morestats: the modules are now part of scipy.statspierregm2008-04-242-886/+0
|
* __float__ : raises a TypeError exception for arrays longer than 1pierregm2008-04-233-9/+19
| | | | __int__ : raises a TypeError exception for arrays longer than 1
* mrecords: clean-uppierregm2008-04-203-27/+18
| | | | | | 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
* ran reindent in preparation for the 1.1 releaseJarrod Millman2008-04-209-102/+100
|
* Remove R files?Travis Oliphant2008-04-142-41/+0
|
* core:pierregm2008-04-146-146/+197
| | | | | | | | | | | | | | 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
* Add docs and examples for financial functions.Travis Oliphant2008-04-082-9/+0
|
* Fix maskedarray's std and var of complex arrays, with test. Add test for ddof.aarchiba2008-04-072-2/+59
|
* core: pierregm2008-04-076-85/+36
| | | | | | | | | | 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)
* Documented and tested new behaviour of std and var on complex numbers. ↵aarchiba2008-04-071-8/+13
| | | | Added ddof argument and its documentation to the std and var methods of matrix. Documented ddof for std and var methods of ma. Note that stdu and varu in ma still have the old, peculiar, behaviour for complex values.
* Add tests for ddof parameter in var/std [patch by Anne Archibald].Stefan van der Walt2008-04-061-0/+2
|
* added common_fill_value and set_fill_value in __all__pierregm2008-03-281-4/+4
|
* (forgot to get rid of my personal tests... sorry about that)pierregm2008-03-271-11/+0
|
* new methods : roundpierregm2008-03-272-3/+74
| | | | | new functions : frombuffer, fromfunction, identity, indices, trace to fix : fromfile/tofile raise a NotImplementedError. For now.
* Remove broken ma test.Stefan van der Walt2008-03-231-2/+0
|
* core : fixed sort when axis is Nonepierregm2008-03-227-45/+166
| | | | | | | 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
* reverted to a proper version of __getitem__pierregm2008-03-181-1/+1
|
* - fixed masked_where (bug #703)pierregm2008-03-182-23/+24
| | | | | - simplified 'masked_invalid' and added it to __all__ - added the 'out' optional parameter to .mean
* BUG: Python 2.3 compatibility. We cannot use generator expressions in numpy.Robert Kern2008-03-111-1/+1
|
* Add ddof parameter to std and var computations.Travis Oliphant2008-03-071-5/+6
|
* updated API_CHANGES.txtpierregm2008-02-155-134/+292
|\ | | | | | | | | | | mstats : updated docstrings morestats : updated docstrings core : fixed __setitem__ for records
| * numpy.ma : docs + API_CHANGES.txt updatespierregm2008-02-144-133/+283
| |
* | initial port from Moin Moin siteJarrod Millman2008-02-101-0/+241
| |
* | Add ma for scons buildDavid Cournapeau2008-02-091-0/+18
| |
* | Merge maskedarray branch.Stefan van der Walt2008-02-091-1/+0
|/
* comments cleaning and docstring updates.pierregm2008-02-072-82/+106
|
* Remove .data comparisons in tests. Fix whitespace.Stefan van der Walt2008-02-072-8/+1
|
* Ignore DeprecationWarning during testing.Stefan van der Walt2008-02-061-2/+5
|
* Remove print statement from test.Stefan van der Walt2008-02-061-1/+0
|
* maskedarray.core:pierregm2008-02-014-369/+632
| | | | | | | | 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
* maskedarray.core:pierregm2008-01-301-2/+3
| | | | | * fixed __getitem__ on records when fill_value is not set * fixed _extrema_operation.reduce to accept non arrays as arguments (ticket #645)
* maskedarray.core:pierregm2008-01-282-32/+44
| | | | | * fixed compress (third time the charm?) * fixed a pb w/ get_fill_value when fill_value is None: now recognized records.
* (no commit message)pierregm2008-01-241-1/+2
|
* core: fixed compress to ensure that a.compress(cond)==a[cond] in most casespierregm2008-01-242-11/+17
|
* ma.core : add the compress method/functionpierregm2008-01-242-7/+49
|
* Add 'compress'.Stefan van der Walt2008-01-232-2/+14
|
* Update documentation format.Stefan van der Walt2008-01-231-364/+424
|