DetectorView#
- class lsst.ts.wep.blitz.DetectorView(image, binning, bbox_min, bbox_shape, refcat, detections, selections, field_dist, max_field_dist_deg)#
Bases:
objectOne detector’s binned image and overlay sources, for the plot task.
What the focal-plane selection plot needs and the output catalog cannot supply: the catalog is one row per surviving donut, whereas this plot is about everything that was considered. Built in the cutout worker, since the post-ISR image only exists there, and carried home on
CutoutResult.Binned and float32 deliberately for speed.
binningand the two bbox fields are recorded rather than assumed, so a plot regenerated from an older run cannot mis-scale its overlays against a differently-binned image.- image#
The background-subtracted post-ISR image.
- Type:
ndarray
- bbox_min#
The exposure bbox’s
(x, y)origin, subtracted before scaling a detector-frame coordinate intoimage.
- refcat, detections, selections
The three stages’ sources. None means the stage did not run, which is distinct from a stage that ran and found nothing.
- Type:
SourceSetor None
- field_dist#
Each binned pixel’s distance from the field center, in degrees, same shape as
image. float32; all-NaN if the transform failed.- Type:
ndarray
- max_field_dist_deg#
The selector’s configured
maxFieldDist, read from the live subtask config rather than assumed – corner mode overrides the class default.- Type:
- Parameters:
Attributes Summary
Attributes Documentation