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.


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


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
Topic revision: r1 - 2015-08-26, ToddHunter
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding NRAO Public Wiki? Send feedback