You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
make mad_std nan-compatible
mad_std too
add changelog entry [ci skip]
np->numpy in docstrings & check numpy version (using 1.9, because
officially it was added to numpy then according to their docs...)
use astropy.utils.compat (thanks @bsipocz)
1_9, not 1P9
bump to 1.10 to avoid np 1.9 weirdness
attempt to work around older numpy versions using ma.median
add tests for scalarness and use np.ma.median except when axis=None.
Also, change 'a' to 'data'. 'a' is a bad variable name and led to a few
mistakes
add another test of madstd with nan & axes
add a warning about NaNs in arrays for np<1.10. Remove a test for those
versions.
update docstrings & changelog. Add deprecation of old argument
correct the code to match the comment
change order of bool checking to do expensive one last
Test appropriate numpy versions, check warnings, and use asked array comparison
switch to catch_warnigns
for numpy 1.13, treatment of NaNs in masked arrays changed
add GE_13 to __ALL__
xfail the masked array test to avoid supporting incorrect behavior
see
astropy#5232 (review)
udpate the special cases as per @mwcraig's helpful chart!
[ci skip] fix the tests: the behavior of the function when given masked arrays vs
non-masked arrays has changed: we're now forcing the correct behavior
for earlier versions
implement @juliantaylor's suggetions
test should no longer use np.ma.allclose (though I don't know why ma
wouldn't just work....)
this commit will fail: I've fixed the underlying issue but kept the
tests flexible using the wrong data type...
tests for array type
double backticks
a second instance of bacticks
had a case wrong: one of the warn cases should *not* return a NaN for
np<1.11 (which is why we're catching a warning there)
numpy 1.10 np.ma.median([1,2,nan,4,5]) returns nan by default
no more old numpy supports. Mixed feelings about this
fix an import
cleanup to address the numpy <=1.8 deprecation
more cleanup
fix changelog
add a note about keepdims
whitespace fix
fix imports
trailing whitespace?!!?!?!
0 commit comments