computeWidths

lsst.validate.drp.util.computeWidths(array)[source]

Compute the RMS and the scaled inter-quartile range of an array.

Returns:

float, float

RMS and scaled inter-quartile range (IQR).

Notes

We estimate the width of the histogram in two ways:
using a simple RMS, using the interquartile range (IQR)
The IQR is scaled by the IQR/RMS ratio for a Gaussian such that it
if the array is Gaussian distributed, then the scaled IQR = RMS.