build_zernikes_tables#
- lsst.ts.wep.blitz.build_zernikes_tables(catalog, noll_indices, wf_mode, combine_zernikes, visit_id, cam_name='', visit_info=None, do_blur_clip=True, blur_clip_min_rows=3, log=None)#
Build one
zernikestable per corner from the per-donut catalog.- Parameters:
catalog (
astropy.table.QTable) – The per-donut catalog fromlsst.ts.wep.blitz.catalogBuilder._build_donut_catalog.noll_indices (sequence of
int) – The Noll indices that were fitted, from the fitting subtask’s config, so the columns cannot drift from the fit.wf_mode (
str) – ThewfEstimationModethe fits ran under. Selects the row label prefix; the row content rules do not branch on it.combine_zernikes (
CombineZernikesBaseTask) – The combine subtask, run per corner to fill the average row.visit_id (
int) – The visit these tables are for.cam_name (
str, optional) – Camera name formeta["cam_name"].visit_info (
lsst.afw.image.VisitInfo, optional) – Read for the boresight angles and mjd inmeta.do_blur_clip (
bool, optional) – Sigma clip donuts with outlier blur.blur_clip_min_rows (
int, optional) – Minimum data rows for blur clipping to run. Below this there is nothing to clip against, and running it anyway would replace the configured combine’s average with an unweighted mean for no gain.log (optional) – Logger for the per-corner summary.
- Returns:
One table per corner that contributed at least one fit, keyed by the corner’s extra-focal (SW0) detector id. Corners absent from the catalog are omitted entirely rather than written empty.
- Return type:
dict [
int,astropy.table.QTable]