[AstroPy] Module for outliers

Susmita Das susmitadas130 at gmail.com
Mon Nov 16 02:56:48 EST 2015

Below is a plot of Magnitude vs Phase made in IDL using "goodpoly.pro"
where it takes magnitude, phase and sigma to remove outliers.
I am now trying to shift to Python and would like to know:

* If there exists a Module which would remove the outliers in magnitudes as
a function of phase, i.e. for a smaller phase bins, remove N*sigma outliers
in the magnitude. And perform it recursively until all outliers are removed.

* I guess If I use the sigma_clip module on magnitude array only, it will
remove all points beyond abs(mean - 3.0*sigma), not necessarily removing
the outliers.

Thank you for your help in advance
Susmita Das
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/astropy/attachments/20151116/c5d42252/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: outliers.eps
Type: application/postscript
Size: 66710 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/astropy/attachments/20151116/c5d42252/attachment.eps>

More information about the AstroPy mailing list