DonutBlitzCornerConnections#

class lsst.ts.wep.blitz.DonutBlitzCornerConnections(*, config=None)#

Bases: DonutBlitzPlotOutputConnections

Pipeline connections for DonutBlitzCornerTask.

The three plot outputs are inherited rather than restated: the plot subtask writes them here exactly as it does when it runs standalone.

Parameters:

config (Any, default: None)

Attributes Summary

allConnections

Mapping holding all connection attributes.

cornerResults

Connection for output dataset.

crosstalk

Class used for declaring PipelineTask prerequisite connections.

defaultTemplates

deprecatedTemplates

detectorImages

Connection for output dataset.

dimensions

Set of dimension names that define the unit of work for this task.

donutDiagPlot

Connection for output dataset.

flat

Class used for declaring PipelineTask prerequisite connections.

initInputs

Set with the names of all InitInput connection attributes.

initOutputs

Set with the names of all InitOutput connection attributes.

inputs

Set with the names of all connectionTypes.Input connection attributes.

intrinsicZernikes

Class used for declaring PipelineTask prerequisite connections.

linearizer

Class used for declaring PipelineTask prerequisite connections.

outputs

Set with the names of all Output connection attributes.

prerequisiteInputs

Set with the names of all PrerequisiteInput connection attributes.

ptc

Class used for declaring PipelineTask prerequisite connections.

raws

Class used for declaring PipelineTask input connections.

refCat

Class used for declaring PipelineTask prerequisite connections.

selectionDiagPlot

Connection for output dataset.

selectionOverlays

Connection for output dataset.

wfDiagPlot

Connection for output dataset.

zernikes

Connection for output dataset.

Attributes Documentation

allConnections: Mapping[str, BaseConnection] = {'cornerResults': Output(name='donutBlitzCornerResults', storageClass='ArrowAstropy', doc='Per-donut catalog containing selection metrics, fit results, Zernikes, stamp/model images, and all metadata needed to regenerate diagnostic plots.', multiple=False, deprecated=None, _deprecation_context='', dimensions=('instrument', 'visit'), isCalibration=False), 'crosstalk': PrerequisiteInput(name='crosstalk', storageClass='CrosstalkCalib', doc='Crosstalk coefficients, one per detector.', multiple=True, deprecated=None, _deprecation_context='', dimensions=['instrument', 'detector'], isCalibration=True, deferLoad=False, minimum=1, lookupFunction=None), 'detectorImages': Output(name='donutBlitzCornerDetectorImages', storageClass='ArrowAstropy', doc='Per-detector binned post-ISR images plus the maxFieldDist boundary, for the focal-plane selection plot. One row per detector processed. See lsst.ts.wep.blitz.dataStructures.DetectorView.', multiple=False, deprecated=None, _deprecation_context='', dimensions=('instrument', 'visit'), isCalibration=False), 'donutDiagPlot': Output(name='donutBlitzCornerDonutPlot', storageClass='Plot', doc='Per-detector donut stamps with their selection and fit stats: one section per detector, accepted donuts beside rejected ones.', multiple=False, deprecated=None, _deprecation_context='', dimensions=('instrument', 'visit'), isCalibration=False), 'flat': PrerequisiteInput(name='flat', storageClass='ExposureF', doc='Flat field calibration, one per detector.', multiple=True, deprecated=None, _deprecation_context='', dimensions=['instrument', 'detector', 'physical_filter'], isCalibration=True, deferLoad=False, minimum=1, lookupFunction=None), 'intrinsicZernikes': PrerequisiteInput(name='intrinsicZernikes', storageClass='IsrCalib', doc='Intrinsic Zernike calibration, one per corner detector.', multiple=True, deprecated=None, _deprecation_context='', dimensions=('detector', 'instrument', 'physical_filter'), isCalibration=True, deferLoad=False, minimum=0, lookupFunction=None), 'linearizer': PrerequisiteInput(name='linearizer', storageClass='Linearizer', doc='Linearity correction, one per detector.', multiple=True, deprecated=None, _deprecation_context='', dimensions=['instrument', 'detector'], isCalibration=True, deferLoad=False, minimum=1, lookupFunction=None), 'ptc': PrerequisiteInput(name='ptc', storageClass='PhotonTransferCurveDataset', doc='Photon transfer curve calibration, one per detector.', multiple=True, deprecated=None, _deprecation_context='', dimensions=['instrument', 'detector'], isCalibration=True, deferLoad=False, minimum=1, lookupFunction=None), 'raws': Input(name='raw', storageClass='Exposure', doc='Raw corner wavefront sensor exposures. Any subset of the 8 corner detectors is processed; missing detectors are simply skipped.', multiple=True, deprecated=None, _deprecation_context='', dimensions=('instrument', 'exposure', 'detector'), isCalibration=False, deferLoad=False, minimum=1, deferGraphConstraint=False, deferBinding=False), 'refCat': PrerequisiteInput(name='the_monster_20250219', storageClass='SimpleCatalog', doc='Reference catalog for both WCS fitting and donut selection.', multiple=True, deprecated=None, _deprecation_context='', dimensions=('htm7',), isCalibration=False, deferLoad=True, minimum=1, lookupFunction=None), 'selectionDiagPlot': Output(name='donutBlitzCornerSelectionPlot', storageClass='Plot', doc="Focal-plane view of donut selection: each corner sensor's binned post-ISR image overlaid with the stages of the selection funnel.", multiple=False, deprecated=None, _deprecation_context='', dimensions=('instrument', 'visit'), isCalibration=False), 'selectionOverlays': Output(name='donutBlitzCornerSelectionOverlays', storageClass='ArrowAstropy', doc='Long-form table of the sources each selection stage saw -- reference catalog, blitz detections, selector output -- one row per source, tagged by `kind`. Companion to donutBlitzCornerDetectorImages.', multiple=False, deprecated=None, _deprecation_context='', dimensions=('instrument', 'visit'), isCalibration=False), 'wfDiagPlot': Output(name='donutBlitzCornerWfPlot', storageClass='Plot', doc='Wavefront fits as a 2x2 grid of corners, one row per fit, each row showing data, model, residual and Zernikes on both sides of focus.', multiple=False, deprecated=None, _deprecation_context='', dimensions=('instrument', 'visit'), isCalibration=False), 'zernikes': Output(name='zernikes', storageClass='AstropyQTable', doc='Per-corner Zernike table in the schema CalcZernikesTask emits, for consumers written against the non-blitz corner pipeline. One per corner, keyed on the extra-focal (SW0) detector. Carries only the deviation Zernikes; see lsst.ts.wep.blitz.zernikesTable.', multiple=True, deprecated=None, _deprecation_context='', dimensions=('visit', 'detector', 'instrument'), isCalibration=False)}#

Mapping holding all connection attributes.

This is a read-only view that is automatically updated when connection attributes are added, removed, or replaced in __init__. It is also updated after __init__ completes to reflect changes in inputs, prerequisiteInputs, outputs, initInputs, and initOutputs.

cornerResults#

Connection for output dataset.

crosstalk#

Class used for declaring PipelineTask prerequisite connections.

Raises:

TypeError – Raised if minimum is greater than one but multiple=False.

Notes

Prerequisite inputs are used for datasets that must exist in the data repository before a pipeline including this is run; they cannot be produced by another task in the same pipeline.

In exchange for this limitation, they have a number of advantages relative to regular Input connections:

  • The query used to find them then during QuantumGraph generation can be fully customized by providing a lookupFunction.

  • Failed searches for prerequisites during QuantumGraph generation will usually generate more helpful diagnostics than those for regular Input connections.

  • The default query for prerequisite inputs relates the quantum dimensions directly to the dimensions of its dataset type, without being constrained by any of the other dimensions in the pipeline. This allows them to be used for temporal calibration lookups (which regular Input connections cannot do at present) and to work around QuantumGraph generation limitations involving cases where naive spatial overlap relationships between dimensions are not desired (e.g. a task that wants all detectors in each visit for which the visit overlaps a tract, not just those where that detector+visit combination overlaps the tract).

  • Prerequisite inputs may be optional (regular inputs are never optional).

defaultTemplates = {}#
deprecatedTemplates = {}#
detectorImages#

Connection for output dataset.

dimensions: set[str] = {'instrument', 'visit'}#

Set of dimension names that define the unit of work for this task.

Required and implied dependencies will automatically be expanded later and need not be provided.

This may be replaced or modified in __init__ to change the dimensions of the task. After __init__ it will be a frozenset and may not be replaced.

donutDiagPlot#

Connection for output dataset.

flat#

Class used for declaring PipelineTask prerequisite connections.

Raises:

TypeError – Raised if minimum is greater than one but multiple=False.

Notes

Prerequisite inputs are used for datasets that must exist in the data repository before a pipeline including this is run; they cannot be produced by another task in the same pipeline.

In exchange for this limitation, they have a number of advantages relative to regular Input connections:

  • The query used to find them then during QuantumGraph generation can be fully customized by providing a lookupFunction.

  • Failed searches for prerequisites during QuantumGraph generation will usually generate more helpful diagnostics than those for regular Input connections.

  • The default query for prerequisite inputs relates the quantum dimensions directly to the dimensions of its dataset type, without being constrained by any of the other dimensions in the pipeline. This allows them to be used for temporal calibration lookups (which regular Input connections cannot do at present) and to work around QuantumGraph generation limitations involving cases where naive spatial overlap relationships between dimensions are not desired (e.g. a task that wants all detectors in each visit for which the visit overlaps a tract, not just those where that detector+visit combination overlaps the tract).

  • Prerequisite inputs may be optional (regular inputs are never optional).

initInputs: set[str] = frozenset({})#

Set with the names of all InitInput connection attributes.

See inputs for additional information.

initOutputs: set[str] = frozenset({})#

Set with the names of all InitOutput connection attributes.

See inputs for additional information.

inputs: set[str] = frozenset({'raws'})#

Set with the names of all connectionTypes.Input connection attributes.

This is updated automatically as class attributes are added, removed, or replaced in __init__. Removing entries from this set will cause those connections to be removed after __init__ completes, but this is supported only for backwards compatibility; new code should instead just delete the collection attributed directly. After __init__ this will be a frozenset and may not be replaced.

intrinsicZernikes#

Class used for declaring PipelineTask prerequisite connections.

Raises:

TypeError – Raised if minimum is greater than one but multiple=False.

Notes

Prerequisite inputs are used for datasets that must exist in the data repository before a pipeline including this is run; they cannot be produced by another task in the same pipeline.

In exchange for this limitation, they have a number of advantages relative to regular Input connections:

  • The query used to find them then during QuantumGraph generation can be fully customized by providing a lookupFunction.

  • Failed searches for prerequisites during QuantumGraph generation will usually generate more helpful diagnostics than those for regular Input connections.

  • The default query for prerequisite inputs relates the quantum dimensions directly to the dimensions of its dataset type, without being constrained by any of the other dimensions in the pipeline. This allows them to be used for temporal calibration lookups (which regular Input connections cannot do at present) and to work around QuantumGraph generation limitations involving cases where naive spatial overlap relationships between dimensions are not desired (e.g. a task that wants all detectors in each visit for which the visit overlaps a tract, not just those where that detector+visit combination overlaps the tract).

  • Prerequisite inputs may be optional (regular inputs are never optional).

linearizer#

Class used for declaring PipelineTask prerequisite connections.

Raises:

TypeError – Raised if minimum is greater than one but multiple=False.

Notes

Prerequisite inputs are used for datasets that must exist in the data repository before a pipeline including this is run; they cannot be produced by another task in the same pipeline.

In exchange for this limitation, they have a number of advantages relative to regular Input connections:

  • The query used to find them then during QuantumGraph generation can be fully customized by providing a lookupFunction.

  • Failed searches for prerequisites during QuantumGraph generation will usually generate more helpful diagnostics than those for regular Input connections.

  • The default query for prerequisite inputs relates the quantum dimensions directly to the dimensions of its dataset type, without being constrained by any of the other dimensions in the pipeline. This allows them to be used for temporal calibration lookups (which regular Input connections cannot do at present) and to work around QuantumGraph generation limitations involving cases where naive spatial overlap relationships between dimensions are not desired (e.g. a task that wants all detectors in each visit for which the visit overlaps a tract, not just those where that detector+visit combination overlaps the tract).

  • Prerequisite inputs may be optional (regular inputs are never optional).

outputs: set[str] = frozenset({'cornerResults', 'detectorImages', 'donutDiagPlot', 'selectionDiagPlot', 'selectionOverlays', 'wfDiagPlot', 'zernikes'})#

Set with the names of all Output connection attributes.

See inputs for additional information.

prerequisiteInputs: set[str] = frozenset({'crosstalk', 'flat', 'intrinsicZernikes', 'linearizer', 'ptc', 'refCat'})#

Set with the names of all PrerequisiteInput connection attributes.

See inputs for additional information.

ptc#

Class used for declaring PipelineTask prerequisite connections.

Raises:

TypeError – Raised if minimum is greater than one but multiple=False.

Notes

Prerequisite inputs are used for datasets that must exist in the data repository before a pipeline including this is run; they cannot be produced by another task in the same pipeline.

In exchange for this limitation, they have a number of advantages relative to regular Input connections:

  • The query used to find them then during QuantumGraph generation can be fully customized by providing a lookupFunction.

  • Failed searches for prerequisites during QuantumGraph generation will usually generate more helpful diagnostics than those for regular Input connections.

  • The default query for prerequisite inputs relates the quantum dimensions directly to the dimensions of its dataset type, without being constrained by any of the other dimensions in the pipeline. This allows them to be used for temporal calibration lookups (which regular Input connections cannot do at present) and to work around QuantumGraph generation limitations involving cases where naive spatial overlap relationships between dimensions are not desired (e.g. a task that wants all detectors in each visit for which the visit overlaps a tract, not just those where that detector+visit combination overlaps the tract).

  • Prerequisite inputs may be optional (regular inputs are never optional).

raws#

Class used for declaring PipelineTask input connections.

Raises:
  • TypeError – Raised if minimum is greater than one but multiple=False.

  • NotImplementedError – Raised if minimum is zero for a regular Input connection; this is not currently supported by our QuantumGraph generation algorithm.

refCat#

Class used for declaring PipelineTask prerequisite connections.

Raises:

TypeError – Raised if minimum is greater than one but multiple=False.

Notes

Prerequisite inputs are used for datasets that must exist in the data repository before a pipeline including this is run; they cannot be produced by another task in the same pipeline.

In exchange for this limitation, they have a number of advantages relative to regular Input connections:

  • The query used to find them then during QuantumGraph generation can be fully customized by providing a lookupFunction.

  • Failed searches for prerequisites during QuantumGraph generation will usually generate more helpful diagnostics than those for regular Input connections.

  • The default query for prerequisite inputs relates the quantum dimensions directly to the dimensions of its dataset type, without being constrained by any of the other dimensions in the pipeline. This allows them to be used for temporal calibration lookups (which regular Input connections cannot do at present) and to work around QuantumGraph generation limitations involving cases where naive spatial overlap relationships between dimensions are not desired (e.g. a task that wants all detectors in each visit for which the visit overlaps a tract, not just those where that detector+visit combination overlaps the tract).

  • Prerequisite inputs may be optional (regular inputs are never optional).

selectionDiagPlot#

Connection for output dataset.

selectionOverlays#

Connection for output dataset.

wfDiagPlot#

Connection for output dataset.

zernikes#

Connection for output dataset.