saltstat contains statistical functions
iterstas calculates an arrays statistics using a sigma clipped values
Calculated the Median Absolute Deviation defined as: MAD=median(|x - median(x)|)
calculate mean of numeric list
calculate mean of 2d array
calculate the sigma clipped mean of 2d array
calculate median of numeric list
logfile–depreciated variable
calculate median of 2d array
logfile–depreciated variable
calculate the sigma clipped median of 2d array
Compute the median absolute deviation
Returns the median absolute deviation of the array elements. The MAD is defined as median(|a-median(a)|).
This will generate random variates from a Gaussian distribution and return the median absolute deviation for that distribution:
>>> from astropy.stats import median_aboslute_deviation
>>> from numpy.random import randn
>>> randvar = randn(10000)
>>> mad = median_absolute_deviation(randvar)
median
Median combine a set of arrays
logfile–depreciated variable
Median smooth an image with a filter size set by bin
returns arr
calculate clipped std of 2d array