DonutBlitzCornerConnections#
- class lsst.ts.wep.blitz.DonutBlitzCornerConnections(*, config=None)#
Bases:
DonutBlitzPlotOutputConnectionsPipeline connections for DonutBlitzCornerTask.
The three plot outputs are inherited rather than restated: the
plotsubtask writes them here exactly as it does when it runs standalone.- Parameters:
config (
Any, default:None)
Attributes Summary
Mapping holding all connection attributes.
Connection for output dataset.
Class used for declaring PipelineTask prerequisite connections.
Connection for output dataset.
Set of dimension names that define the unit of work for this task.
Connection for output dataset.
Class used for declaring PipelineTask prerequisite connections.
Set with the names of all
InitInputconnection attributes.Set with the names of all
InitOutputconnection attributes.Set with the names of all
connectionTypes.Inputconnection attributes.Class used for declaring PipelineTask prerequisite connections.
Class used for declaring PipelineTask prerequisite connections.
Set with the names of all
Outputconnection attributes.Set with the names of all
PrerequisiteInputconnection attributes.Class used for declaring PipelineTask prerequisite connections.
Class used for declaring PipelineTask input connections.
Class used for declaring PipelineTask prerequisite connections.
Connection for output dataset.
Connection for output dataset.
Connection for output dataset.
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 ininputs,prerequisiteInputs,outputs,initInputs, andinitOutputs.
- cornerResults#
Connection for output dataset.
- crosstalk#
Class used for declaring PipelineTask prerequisite connections.
- Raises:
TypeError – Raised if
minimumis greater than one butmultiple=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
Inputconnections:The query used to find them then during
QuantumGraphgeneration can be fully customized by providing alookupFunction.Failed searches for prerequisites during
QuantumGraphgeneration will usually generate more helpful diagnostics than those for regularInputconnections.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
Inputconnections cannot do at present) and to work aroundQuantumGraphgeneration 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 afrozensetand may not be replaced.
- donutDiagPlot#
Connection for output dataset.
- flat#
Class used for declaring PipelineTask prerequisite connections.
- Raises:
TypeError – Raised if
minimumis greater than one butmultiple=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
Inputconnections:The query used to find them then during
QuantumGraphgeneration can be fully customized by providing alookupFunction.Failed searches for prerequisites during
QuantumGraphgeneration will usually generate more helpful diagnostics than those for regularInputconnections.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
Inputconnections cannot do at present) and to work aroundQuantumGraphgeneration 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
InitInputconnection attributes.See
inputsfor additional information.
- initOutputs: set[str] = frozenset({})#
Set with the names of all
InitOutputconnection attributes.See
inputsfor additional information.
- inputs: set[str] = frozenset({'raws'})#
Set with the names of all
connectionTypes.Inputconnection 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 afrozensetand may not be replaced.
- intrinsicZernikes#
Class used for declaring PipelineTask prerequisite connections.
- Raises:
TypeError – Raised if
minimumis greater than one butmultiple=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
Inputconnections:The query used to find them then during
QuantumGraphgeneration can be fully customized by providing alookupFunction.Failed searches for prerequisites during
QuantumGraphgeneration will usually generate more helpful diagnostics than those for regularInputconnections.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
Inputconnections cannot do at present) and to work aroundQuantumGraphgeneration 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
minimumis greater than one butmultiple=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
Inputconnections:The query used to find them then during
QuantumGraphgeneration can be fully customized by providing alookupFunction.Failed searches for prerequisites during
QuantumGraphgeneration will usually generate more helpful diagnostics than those for regularInputconnections.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
Inputconnections cannot do at present) and to work aroundQuantumGraphgeneration 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
Outputconnection attributes.See
inputsfor additional information.
- prerequisiteInputs: set[str] = frozenset({'crosstalk', 'flat', 'intrinsicZernikes', 'linearizer', 'ptc', 'refCat'})#
Set with the names of all
PrerequisiteInputconnection attributes.See
inputsfor additional information.
- ptc#
Class used for declaring PipelineTask prerequisite connections.
- Raises:
TypeError – Raised if
minimumis greater than one butmultiple=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
Inputconnections:The query used to find them then during
QuantumGraphgeneration can be fully customized by providing alookupFunction.Failed searches for prerequisites during
QuantumGraphgeneration will usually generate more helpful diagnostics than those for regularInputconnections.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
Inputconnections cannot do at present) and to work aroundQuantumGraphgeneration 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
minimumis greater than one butmultiple=False.NotImplementedError – Raised if
minimumis zero for a regularInputconnection; this is not currently supported by our QuantumGraph generation algorithm.
- refCat#
Class used for declaring PipelineTask prerequisite connections.
- Raises:
TypeError – Raised if
minimumis greater than one butmultiple=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
Inputconnections:The query used to find them then during
QuantumGraphgeneration can be fully customized by providing alookupFunction.Failed searches for prerequisites during
QuantumGraphgeneration will usually generate more helpful diagnostics than those for regularInputconnections.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
Inputconnections cannot do at present) and to work aroundQuantumGraphgeneration 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.