gaussianPercentile
Return to directory of Todd's tools
Builds a Gaussian distribution, then computes the standard deviation
and
MAD of the values below the specified percentile. See also
gaussianPercentilePlot.
Usage:
tt.gaussianPercentile(percentile, N=100000)
Returns: st. dev.,
MAD, fraction of points selected, offset,
where offset is the difference between the median of all the data
and the median of the selected points, divided by the
MAD
Example:
CASA <4>: tt.gaussianPercentile(20)
Median of all data=-0.001873, median of selected points=-1.287488
Out[4]: (0.46566450349936794, 0.41599508032921984, 1e-05, 3.0904569574556406)
-- Main.ToddHunter - 2015-08-26