blurClipZkTable#
- lsst.ts.wep.task.blurClipZkTable(zkTable)#
Sigma clip donuts whose blur (fwhm) is an outlier, then re-average.
Rows flagged as outliers have
usedset False and theaveragerow is recomputed over the survivors with an unweighted mean. Requiresmeta["estimatorInfo"]["fwhm"], one entry per non-average row, and exactly one leadingaveragerow: the fwhm list is indexed withuseIdx - 1to account for it.Note this deliberately recomputes the average with
CombineZernikesMeanTaskrather than whatever combine task produced the incoming average, since flippingusedinvalidates it.- Parameters:
zkTable (astropy.table.QTable) – Zernike table. Modified in place, and also returned via the copy the combine step makes.
- Returns:
Zernike table where donuts with outlier donut blur values have been changed to false and the average recomputed.
- Return type:
astropy.table.QTable