On Sun, 10 Feb 2008, David Trémouilles apparently wrote:
> I have a slightly different objective: I just want to 
> remove outliers 

Do you just want to filter out the outliers?

    newdata = [datum for datum in data if not isoutlier(datum)]

You can define ``isoutlier`` to return True for outliers
in your data.

Apologies if this proves OT.

fwiw,
Alan Isaac




-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to