HealSparsePropertyMapConnections¶
- class lsst.pipe.tasks.healSparseMapping.HealSparsePropertyMapConnections(*, config: PipelineTaskConfig | None = None)¶
- Bases: - PipelineTaskConnections- Attributes Summary - Mapping holding all connection attributes. - Class used for declaring PipelineTask input connections. - Connection for output dataset. - Connection for output dataset. - Connection for output dataset. - Connection for output dataset. - Connection for output dataset. - Connection for output dataset. - Connection for output dataset. - Connection for output dataset. - Connection for output dataset. - Connection for output dataset. - Connection for output dataset. - Connection for output dataset. - Connection for output dataset. - Connection for output dataset. - Connection for output dataset. - Connection for output dataset. - Connection for output dataset. - Connection for output dataset. - Connection for output dataset. - Connection for output dataset. - Set of dimension names that define the unit of work for this task. - Connection for output dataset. - Connection for output dataset. - Connection for output dataset. - Connection for output dataset. - Connection for output dataset. - Connection for output dataset. - Connection for output dataset. - Connection for output dataset. - Connection for output dataset. - Connection for output dataset. - Set with the names of all - InitInputconnection attributes.- Set with the names of all - InitOutputconnection attributes.- Class used for declaring PipelineTask input connections. - Set with the names of all - connectionTypes.Inputconnection attributes.- Connection for output dataset. - Connection for output dataset. - Connection for output dataset. - Connection for output dataset. - Connection for output dataset. - Set with the names of all - Outputconnection attributes.- Set with the names of all - PrerequisiteInputconnection attributes.- Connection for output dataset. - Connection for output dataset. - Connection for output dataset. - Connection for output dataset. - Connection for output dataset. - Connection for output dataset. - Connection for output dataset. - Connection for output dataset. - Connection for output dataset. - Connection for output dataset. - Connection for output dataset. - Connection for output dataset. - Connection for output dataset. - Connection for output dataset. - Connection for output dataset. - Connection for output dataset. - Connection for output dataset. - Connection for output dataset. - Connection for output dataset. - Connection for output dataset. - Connection for output dataset. - Connection for output dataset. - Connection for output dataset. - Connection for output dataset. - Connection for output dataset. - Class used for declaring PipelineTask input connections. - Connection for output dataset. - Connection for output dataset. - Connection for output dataset. - Connection for output dataset. - Connection for output dataset. - Class used for declaring PipelineTask input connections. - Methods Summary - adjustQuantum(inputs, outputs, label, data_id)- Override to make adjustments to - lsst.daf.butler.DatasetRefobjects in the- lsst.daf.butler.Quantumduring the graph generation stage of the activator.- buildDatasetRefs(quantum)- Build - QuantizedConnectioncorresponding to input- Quantum.- Return the names of regular input and output connections whose data IDs should be used to compute the spatial bounds of this task's quanta. - Return the names of regular input and output connections whose data IDs should be used to compute the temporal bounds of this task's quanta. - Attributes Documentation - allConnections: Mapping[str, BaseConnection] = {'coadd_exposures': Input(name='{coaddName}Coadd', storageClass='ExposureF', doc='Coadded exposures associated with input_maps', multiple=True, deprecated=None, _deprecation_context='', dimensions=('tract', 'patch', 'skymap', 'band'), isCalibration=False, deferLoad=True, minimum=1, deferGraphConstraint=False), 'dcr_ddec_map_max': Output(name='{coaddName}Coadd_dcr_ddec_map_max', storageClass='HealSparseMap', doc='Maximum-value map of dcr_ddec', multiple=False, deprecated=None, _deprecation_context='', dimensions=('tract', 'skymap', 'band'), isCalibration=False), 'dcr_ddec_map_mean': Output(name='{coaddName}Coadd_dcr_ddec_map_mean', storageClass='HealSparseMap', doc='Mean-value map of dcr_ddec', multiple=False, deprecated=None, _deprecation_context='', dimensions=('tract', 'skymap', 'band'), isCalibration=False), 'dcr_ddec_map_min': Output(name='{coaddName}Coadd_dcr_ddec_map_min', storageClass='HealSparseMap', doc='Minimum-value map of dcr_ddec', multiple=False, deprecated=None, _deprecation_context='', dimensions=('tract', 'skymap', 'band'), isCalibration=False), 'dcr_ddec_map_sum': Output(name='{coaddName}Coadd_dcr_ddec_map_sum', storageClass='HealSparseMap', doc='Sum-value map of dcr_ddec', multiple=False, deprecated=None, _deprecation_context='', dimensions=('tract', 'skymap', 'band'), isCalibration=False), 'dcr_ddec_map_weighted_mean': Output(name='{coaddName}Coadd_dcr_ddec_map_weighted_mean', storageClass='HealSparseMap', doc='Weighted mean-value map of dcr_ddec', multiple=False, deprecated=None, _deprecation_context='', dimensions=('tract', 'skymap', 'band'), isCalibration=False), 'dcr_dra_map_max': Output(name='{coaddName}Coadd_dcr_dra_map_max', storageClass='HealSparseMap', doc='Maximum-value map of dcr_dra', multiple=False, deprecated=None, _deprecation_context='', dimensions=('tract', 'skymap', 'band'), isCalibration=False), 'dcr_dra_map_mean': Output(name='{coaddName}Coadd_dcr_dra_map_mean', storageClass='HealSparseMap', doc='Mean-value map of dcr_dra', multiple=False, deprecated=None, _deprecation_context='', dimensions=('tract', 'skymap', 'band'), isCalibration=False), 'dcr_dra_map_min': Output(name='{coaddName}Coadd_dcr_dra_map_min', storageClass='HealSparseMap', doc='Minimum-value map of dcr_dra', multiple=False, deprecated=None, _deprecation_context='', dimensions=('tract', 'skymap', 'band'), isCalibration=False), 'dcr_dra_map_sum': Output(name='{coaddName}Coadd_dcr_dra_map_sum', storageClass='HealSparseMap', doc='Sum-value map of dcr_dra', multiple=False, deprecated=None, _deprecation_context='', dimensions=('tract', 'skymap', 'band'), isCalibration=False), 'dcr_dra_map_weighted_mean': Output(name='{coaddName}Coadd_dcr_dra_map_weighted_mean', storageClass='HealSparseMap', doc='Weighted mean-value map of dcr_dra', multiple=False, deprecated=None, _deprecation_context='', dimensions=('tract', 'skymap', 'band'), isCalibration=False), 'dcr_e1_map_max': Output(name='{coaddName}Coadd_dcr_e1_map_max', storageClass='HealSparseMap', doc='Maximum-value map of dcr_e1', multiple=False, deprecated=None, _deprecation_context='', dimensions=('tract', 'skymap', 'band'), isCalibration=False), 'dcr_e1_map_mean': Output(name='{coaddName}Coadd_dcr_e1_map_mean', storageClass='HealSparseMap', doc='Mean-value map of dcr_e1', multiple=False, deprecated=None, _deprecation_context='', dimensions=('tract', 'skymap', 'band'), isCalibration=False), 'dcr_e1_map_min': Output(name='{coaddName}Coadd_dcr_e1_map_min', storageClass='HealSparseMap', doc='Minimum-value map of dcr_e1', multiple=False, deprecated=None, _deprecation_context='', dimensions=('tract', 'skymap', 'band'), isCalibration=False), 'dcr_e1_map_sum': Output(name='{coaddName}Coadd_dcr_e1_map_sum', storageClass='HealSparseMap', doc='Sum-value map of dcr_e1', multiple=False, deprecated=None, _deprecation_context='', dimensions=('tract', 'skymap', 'band'), isCalibration=False), 'dcr_e1_map_weighted_mean': Output(name='{coaddName}Coadd_dcr_e1_map_weighted_mean', storageClass='HealSparseMap', doc='Weighted mean-value map of dcr_e1', multiple=False, deprecated=None, _deprecation_context='', dimensions=('tract', 'skymap', 'band'), isCalibration=False), 'dcr_e2_map_max': Output(name='{coaddName}Coadd_dcr_e2_map_max', storageClass='HealSparseMap', doc='Maximum-value map of dcr_e2', multiple=False, deprecated=None, _deprecation_context='', dimensions=('tract', 'skymap', 'band'), isCalibration=False), 'dcr_e2_map_mean': Output(name='{coaddName}Coadd_dcr_e2_map_mean', storageClass='HealSparseMap', doc='Mean-value map of dcr_e2', multiple=False, deprecated=None, _deprecation_context='', dimensions=('tract', 'skymap', 'band'), isCalibration=False), 'dcr_e2_map_min': Output(name='{coaddName}Coadd_dcr_e2_map_min', storageClass='HealSparseMap', doc='Minimum-value map of dcr_e2', multiple=False, deprecated=None, _deprecation_context='', dimensions=('tract', 'skymap', 'band'), isCalibration=False), 'dcr_e2_map_sum': Output(name='{coaddName}Coadd_dcr_e2_map_sum', storageClass='HealSparseMap', doc='Sum-value map of dcr_e2', multiple=False, deprecated=None, _deprecation_context='', dimensions=('tract', 'skymap', 'band'), isCalibration=False), 'dcr_e2_map_weighted_mean': Output(name='{coaddName}Coadd_dcr_e2_map_weighted_mean', storageClass='HealSparseMap', doc='Weighted mean-value map of dcr_e2', multiple=False, deprecated=None, _deprecation_context='', dimensions=('tract', 'skymap', 'band'), isCalibration=False), 'epoch_map_max': Output(name='{coaddName}Coadd_epoch_map_max', storageClass='HealSparseMap', doc='Maximum-value map of epoch', multiple=False, deprecated=None, _deprecation_context='', dimensions=('tract', 'skymap', 'band'), isCalibration=False), 'epoch_map_mean': Output(name='{coaddName}Coadd_epoch_map_mean', storageClass='HealSparseMap', doc='Mean-value map of epoch', multiple=False, deprecated=None, _deprecation_context='', dimensions=('tract', 'skymap', 'band'), isCalibration=False), 'epoch_map_min': Output(name='{coaddName}Coadd_epoch_map_min', storageClass='HealSparseMap', doc='Minimum-value map of epoch', multiple=False, deprecated=None, _deprecation_context='', dimensions=('tract', 'skymap', 'band'), isCalibration=False), 'epoch_map_sum': Output(name='{coaddName}Coadd_epoch_map_sum', storageClass='HealSparseMap', doc='Sum-value map of epoch', multiple=False, deprecated=None, _deprecation_context='', dimensions=('tract', 'skymap', 'band'), isCalibration=False), 'epoch_map_weighted_mean': Output(name='{coaddName}Coadd_epoch_map_weighted_mean', storageClass='HealSparseMap', doc='Weighted mean-value map of epoch', multiple=False, deprecated=None, _deprecation_context='', dimensions=('tract', 'skymap', 'band'), isCalibration=False), 'exposure_time_map_max': Output(name='{coaddName}Coadd_exposure_time_map_max', storageClass='HealSparseMap', doc='Maximum-value map of exposure_time', multiple=False, deprecated=None, _deprecation_context='', dimensions=('tract', 'skymap', 'band'), isCalibration=False), 'exposure_time_map_mean': Output(name='{coaddName}Coadd_exposure_time_map_mean', storageClass='HealSparseMap', doc='Mean-value map of exposure_time', multiple=False, deprecated=None, _deprecation_context='', dimensions=('tract', 'skymap', 'band'), isCalibration=False), 'exposure_time_map_min': Output(name='{coaddName}Coadd_exposure_time_map_min', storageClass='HealSparseMap', doc='Minimum-value map of exposure_time', multiple=False, deprecated=None, _deprecation_context='', dimensions=('tract', 'skymap', 'band'), isCalibration=False), 'exposure_time_map_sum': Output(name='{coaddName}Coadd_exposure_time_map_sum', storageClass='HealSparseMap', doc='Sum-value map of exposure_time', multiple=False, deprecated=None, _deprecation_context='', dimensions=('tract', 'skymap', 'band'), isCalibration=False), 'exposure_time_map_weighted_mean': Output(name='{coaddName}Coadd_exposure_time_map_weighted_mean', storageClass='HealSparseMap', doc='Weighted mean-value map of exposure_time', multiple=False, deprecated=None, _deprecation_context='', dimensions=('tract', 'skymap', 'band'), isCalibration=False), 'input_maps': Input(name='{coaddName}Coadd_inputMap', storageClass='HealSparseMap', doc='Healsparse bit-wise coadd input maps', multiple=True, deprecated=None, _deprecation_context='', dimensions=('tract', 'patch', 'skymap', 'band'), isCalibration=False, deferLoad=True, minimum=1, deferGraphConstraint=False), 'n_exposure_map_max': Output(name='{coaddName}Coadd_n_exposure_map_max', storageClass='HealSparseMap', doc='Maximum-value map of n_exposure', multiple=False, deprecated=None, _deprecation_context='', dimensions=('tract', 'skymap', 'band'), isCalibration=False), 'n_exposure_map_mean': Output(name='{coaddName}Coadd_n_exposure_map_mean', storageClass='HealSparseMap', doc='Mean-value map of n_exposure', multiple=False, deprecated=None, _deprecation_context='', dimensions=('tract', 'skymap', 'band'), isCalibration=False), 'n_exposure_map_min': Output(name='{coaddName}Coadd_n_exposure_map_min', storageClass='HealSparseMap', doc='Minimum-value map of n_exposure', multiple=False, deprecated=None, _deprecation_context='', dimensions=('tract', 'skymap', 'band'), isCalibration=False), 'n_exposure_map_sum': Output(name='{coaddName}Coadd_n_exposure_map_sum', storageClass='HealSparseMap', doc='Sum-value map of n_exposure', multiple=False, deprecated=None, _deprecation_context='', dimensions=('tract', 'skymap', 'band'), isCalibration=False), 'n_exposure_map_weighted_mean': Output(name='{coaddName}Coadd_n_exposure_map_weighted_mean', storageClass='HealSparseMap', doc='Weighted mean-value map of n_exposure', multiple=False, deprecated=None, _deprecation_context='', dimensions=('tract', 'skymap', 'band'), isCalibration=False), 'psf_e1_map_max': Output(name='{coaddName}Coadd_psf_e1_map_max', storageClass='HealSparseMap', doc='Maximum-value map of psf_e1', multiple=False, deprecated=None, _deprecation_context='', dimensions=('tract', 'skymap', 'band'), isCalibration=False), 'psf_e1_map_mean': Output(name='{coaddName}Coadd_psf_e1_map_mean', storageClass='HealSparseMap', doc='Mean-value map of psf_e1', multiple=False, deprecated=None, _deprecation_context='', dimensions=('tract', 'skymap', 'band'), isCalibration=False), 'psf_e1_map_min': Output(name='{coaddName}Coadd_psf_e1_map_min', storageClass='HealSparseMap', doc='Minimum-value map of psf_e1', multiple=False, deprecated=None, _deprecation_context='', dimensions=('tract', 'skymap', 'band'), isCalibration=False), 'psf_e1_map_sum': Output(name='{coaddName}Coadd_psf_e1_map_sum', storageClass='HealSparseMap', doc='Sum-value map of psf_e1', multiple=False, deprecated=None, _deprecation_context='', dimensions=('tract', 'skymap', 'band'), isCalibration=False), 'psf_e1_map_weighted_mean': Output(name='{coaddName}Coadd_psf_e1_map_weighted_mean', storageClass='HealSparseMap', doc='Weighted mean-value map of psf_e1', multiple=False, deprecated=None, _deprecation_context='', dimensions=('tract', 'skymap', 'band'), isCalibration=False), 'psf_e2_map_max': Output(name='{coaddName}Coadd_psf_e2_map_max', storageClass='HealSparseMap', doc='Maximum-value map of psf_e2', multiple=False, deprecated=None, _deprecation_context='', dimensions=('tract', 'skymap', 'band'), isCalibration=False), 'psf_e2_map_mean': Output(name='{coaddName}Coadd_psf_e2_map_mean', storageClass='HealSparseMap', doc='Mean-value map of psf_e2', multiple=False, deprecated=None, _deprecation_context='', dimensions=('tract', 'skymap', 'band'), isCalibration=False), 'psf_e2_map_min': Output(name='{coaddName}Coadd_psf_e2_map_min', storageClass='HealSparseMap', doc='Minimum-value map of psf_e2', multiple=False, deprecated=None, _deprecation_context='', dimensions=('tract', 'skymap', 'band'), isCalibration=False), 'psf_e2_map_sum': Output(name='{coaddName}Coadd_psf_e2_map_sum', storageClass='HealSparseMap', doc='Sum-value map of psf_e2', multiple=False, deprecated=None, _deprecation_context='', dimensions=('tract', 'skymap', 'band'), isCalibration=False), 'psf_e2_map_weighted_mean': Output(name='{coaddName}Coadd_psf_e2_map_weighted_mean', storageClass='HealSparseMap', doc='Weighted mean-value map of psf_e2', multiple=False, deprecated=None, _deprecation_context='', dimensions=('tract', 'skymap', 'band'), isCalibration=False), 'psf_maglim_map_max': Output(name='{coaddName}Coadd_psf_maglim_map_max', storageClass='HealSparseMap', doc='Maximum-value map of psf_maglim', multiple=False, deprecated=None, _deprecation_context='', dimensions=('tract', 'skymap', 'band'), isCalibration=False), 'psf_maglim_map_mean': Output(name='{coaddName}Coadd_psf_maglim_map_mean', storageClass='HealSparseMap', doc='Mean-value map of psf_maglim', multiple=False, deprecated=None, _deprecation_context='', dimensions=('tract', 'skymap', 'band'), isCalibration=False), 'psf_maglim_map_min': Output(name='{coaddName}Coadd_psf_maglim_map_min', storageClass='HealSparseMap', doc='Minimum-value map of psf_maglim', multiple=False, deprecated=None, _deprecation_context='', dimensions=('tract', 'skymap', 'band'), isCalibration=False), 'psf_maglim_map_sum': Output(name='{coaddName}Coadd_psf_maglim_map_sum', storageClass='HealSparseMap', doc='Sum-value map of psf_maglim', multiple=False, deprecated=None, _deprecation_context='', dimensions=('tract', 'skymap', 'band'), isCalibration=False), 'psf_maglim_map_weighted_mean': Output(name='{coaddName}Coadd_psf_maglim_map_weighted_mean', storageClass='HealSparseMap', doc='Weighted mean-value map of psf_maglim', multiple=False, deprecated=None, _deprecation_context='', dimensions=('tract', 'skymap', 'band'), isCalibration=False), 'psf_size_map_max': Output(name='{coaddName}Coadd_psf_size_map_max', storageClass='HealSparseMap', doc='Maximum-value map of psf_size', multiple=False, deprecated=None, _deprecation_context='', dimensions=('tract', 'skymap', 'band'), isCalibration=False), 'psf_size_map_mean': Output(name='{coaddName}Coadd_psf_size_map_mean', storageClass='HealSparseMap', doc='Mean-value map of psf_size', multiple=False, deprecated=None, _deprecation_context='', dimensions=('tract', 'skymap', 'band'), isCalibration=False), 'psf_size_map_min': Output(name='{coaddName}Coadd_psf_size_map_min', storageClass='HealSparseMap', doc='Minimum-value map of psf_size', multiple=False, deprecated=None, _deprecation_context='', dimensions=('tract', 'skymap', 'band'), isCalibration=False), 'psf_size_map_sum': Output(name='{coaddName}Coadd_psf_size_map_sum', storageClass='HealSparseMap', doc='Sum-value map of psf_size', multiple=False, deprecated=None, _deprecation_context='', dimensions=('tract', 'skymap', 'band'), isCalibration=False), 'psf_size_map_weighted_mean': Output(name='{coaddName}Coadd_psf_size_map_weighted_mean', storageClass='HealSparseMap', doc='Weighted mean-value map of psf_size', multiple=False, deprecated=None, _deprecation_context='', dimensions=('tract', 'skymap', 'band'), isCalibration=False), 'sky_background_map_max': Output(name='{coaddName}Coadd_sky_background_map_max', storageClass='HealSparseMap', doc='Maximum-value map of sky_background', multiple=False, deprecated=None, _deprecation_context='', dimensions=('tract', 'skymap', 'band'), isCalibration=False), 'sky_background_map_mean': Output(name='{coaddName}Coadd_sky_background_map_mean', storageClass='HealSparseMap', doc='Mean-value map of sky_background', multiple=False, deprecated=None, _deprecation_context='', dimensions=('tract', 'skymap', 'band'), isCalibration=False), 'sky_background_map_min': Output(name='{coaddName}Coadd_sky_background_map_min', storageClass='HealSparseMap', doc='Minimum-value map of sky_background', multiple=False, deprecated=None, _deprecation_context='', dimensions=('tract', 'skymap', 'band'), isCalibration=False), 'sky_background_map_sum': Output(name='{coaddName}Coadd_sky_background_map_sum', storageClass='HealSparseMap', doc='Sum-value map of sky_background', multiple=False, deprecated=None, _deprecation_context='', dimensions=('tract', 'skymap', 'band'), isCalibration=False), 'sky_background_map_weighted_mean': Output(name='{coaddName}Coadd_sky_background_map_weighted_mean', storageClass='HealSparseMap', doc='Weighted mean-value map of sky_background', multiple=False, deprecated=None, _deprecation_context='', dimensions=('tract', 'skymap', 'band'), isCalibration=False), 'sky_map': Input(name='skyMap', storageClass='SkyMap', doc='Input definition of geometry/bbox and projection/wcs for coadded exposures', multiple=False, deprecated=None, _deprecation_context='', dimensions=('skymap',), isCalibration=False, deferLoad=False, minimum=1, deferGraphConstraint=False), 'sky_noise_map_max': Output(name='{coaddName}Coadd_sky_noise_map_max', storageClass='HealSparseMap', doc='Maximum-value map of sky_noise', multiple=False, deprecated=None, _deprecation_context='', dimensions=('tract', 'skymap', 'band'), isCalibration=False), 'sky_noise_map_mean': Output(name='{coaddName}Coadd_sky_noise_map_mean', storageClass='HealSparseMap', doc='Mean-value map of sky_noise', multiple=False, deprecated=None, _deprecation_context='', dimensions=('tract', 'skymap', 'band'), isCalibration=False), 'sky_noise_map_min': Output(name='{coaddName}Coadd_sky_noise_map_min', storageClass='HealSparseMap', doc='Minimum-value map of sky_noise', multiple=False, deprecated=None, _deprecation_context='', dimensions=('tract', 'skymap', 'band'), isCalibration=False), 'sky_noise_map_sum': Output(name='{coaddName}Coadd_sky_noise_map_sum', storageClass='HealSparseMap', doc='Sum-value map of sky_noise', multiple=False, deprecated=None, _deprecation_context='', dimensions=('tract', 'skymap', 'band'), isCalibration=False), 'sky_noise_map_weighted_mean': Output(name='{coaddName}Coadd_sky_noise_map_weighted_mean', storageClass='HealSparseMap', doc='Weighted mean-value map of sky_noise', multiple=False, deprecated=None, _deprecation_context='', dimensions=('tract', 'skymap', 'band'), isCalibration=False), 'visit_summaries': Input(name='finalVisitSummary', storageClass='ExposureCatalog', doc='Visit summary tables with aggregated statistics', multiple=True, deprecated=None, _deprecation_context='', dimensions=('instrument', 'visit'), isCalibration=False, deferLoad=True, minimum=1, deferGraphConstraint=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.
 - coadd_exposures¶
- Class used for declaring PipelineTask input connections. - Raises:
- TypeError
- Raised if - minimumis greater than one but- multiple=False.
- NotImplementedError
- Raised if - minimumis zero for a regular- Inputconnection; this is not currently supported by our QuantumGraph generation algorithm.
 
- Attributes:
- namestr
- The default name used to identify the dataset type. 
- storageClassstr
- The storage class used when (un)/persisting the dataset type. 
- multiplebool
- Indicates if this connection should expect to contain multiple objects of the given dataset type. Tasks with more than one connection with - multiple=Truewith the same dimensions may want to implement- PipelineTaskConnections.adjustQuantumto ensure those datasets are consistent (i.e. zip-iterable) in- PipelineTask.runQuantumand notify the execution system as early as possible of outputs that will not be produced because the corresponding input is missing.
- dimensionsiterable of str
- The - lsst.daf.butler.Butler- lsst.daf.butler.Registrydimensions used to identify the dataset type identified by the specified name.
- deferLoadbool
- Indicates that this dataset type will be loaded as a - lsst.daf.butler.DeferredDatasetHandle. PipelineTasks can use this object to load the object at a later time.
- minimumbool
- Minimum number of datasets required for this connection, per quantum. This is checked in the base implementation of - PipelineTaskConnections.adjustQuantum, which raises- NoWorkFoundif the minimum is not met for- Inputconnections (causing the quantum to be pruned, skipped, or never created, depending on the context), and- FileNotFoundErrorfor- PrerequisiteInputconnections (causing QuantumGraph generation to fail).- PipelineTaskimplementations may provide custom- adjustQuantumimplementations for more fine-grained or configuration-driven constraints, as long as they are compatible with this minium.
- deferGraphConstraintbool, optional
- If - True, do not include this dataset type’s existence in the initial query that starts the QuantumGraph generation process. This can be used to make QuantumGraph generation faster by avoiding redundant datasets, and in certain cases it can (along with careful attention to which tasks are included in the same QuantumGraph) be used to work around the QuantumGraph generation algorithm’s inflexible handling of spatial overlaps. This option has no effect when the connection is not an overall input of the pipeline (or subset thereof) for which a graph is being created, and it never affects the ordering of quanta.
 
- name
 
 - dcr_ddec_map_max¶
- Connection for output dataset. 
 - dcr_ddec_map_mean¶
- Connection for output dataset. 
 - dcr_ddec_map_min¶
- Connection for output dataset. 
 - dcr_ddec_map_sum¶
- Connection for output dataset. 
 - dcr_ddec_map_weighted_mean¶
- Connection for output dataset. 
 - dcr_dra_map_max¶
- Connection for output dataset. 
 - dcr_dra_map_mean¶
- Connection for output dataset. 
 - dcr_dra_map_min¶
- Connection for output dataset. 
 - dcr_dra_map_sum¶
- Connection for output dataset. 
 - dcr_dra_map_weighted_mean¶
- Connection for output dataset. 
 - dcr_e1_map_max¶
- Connection for output dataset. 
 - dcr_e1_map_mean¶
- Connection for output dataset. 
 - dcr_e1_map_min¶
- Connection for output dataset. 
 - dcr_e1_map_sum¶
- Connection for output dataset. 
 - dcr_e1_map_weighted_mean¶
- Connection for output dataset. 
 - dcr_e2_map_max¶
- Connection for output dataset. 
 - dcr_e2_map_mean¶
- Connection for output dataset. 
 - dcr_e2_map_min¶
- Connection for output dataset. 
 - dcr_e2_map_sum¶
- Connection for output dataset. 
 - dcr_e2_map_weighted_mean¶
- Connection for output dataset. 
 - defaultTemplates = {'calexpType': '', 'coaddName': 'deep'}¶
 - deprecatedTemplates = {}¶
 - dimensions: set[str] = {'band', 'skymap', 'tract'}¶
- 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- frozensetand may not be replaced.
 - epoch_map_max¶
- Connection for output dataset. 
 - epoch_map_mean¶
- Connection for output dataset. 
 - epoch_map_min¶
- Connection for output dataset. 
 - epoch_map_sum¶
- Connection for output dataset. 
 - epoch_map_weighted_mean¶
- Connection for output dataset. 
 - exposure_time_map_max¶
- Connection for output dataset. 
 - exposure_time_map_mean¶
- Connection for output dataset. 
 - exposure_time_map_min¶
- Connection for output dataset. 
 - exposure_time_map_sum¶
- Connection for output dataset. 
 - exposure_time_map_weighted_mean¶
- Connection for output dataset. 
 - 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.
 - input_maps¶
- Class used for declaring PipelineTask input connections. - Raises:
- TypeError
- Raised if - minimumis greater than one but- multiple=False.
- NotImplementedError
- Raised if - minimumis zero for a regular- Inputconnection; this is not currently supported by our QuantumGraph generation algorithm.
 
- Attributes:
- namestr
- The default name used to identify the dataset type. 
- storageClassstr
- The storage class used when (un)/persisting the dataset type. 
- multiplebool
- Indicates if this connection should expect to contain multiple objects of the given dataset type. Tasks with more than one connection with - multiple=Truewith the same dimensions may want to implement- PipelineTaskConnections.adjustQuantumto ensure those datasets are consistent (i.e. zip-iterable) in- PipelineTask.runQuantumand notify the execution system as early as possible of outputs that will not be produced because the corresponding input is missing.
- dimensionsiterable of str
- The - lsst.daf.butler.Butler- lsst.daf.butler.Registrydimensions used to identify the dataset type identified by the specified name.
- deferLoadbool
- Indicates that this dataset type will be loaded as a - lsst.daf.butler.DeferredDatasetHandle. PipelineTasks can use this object to load the object at a later time.
- minimumbool
- Minimum number of datasets required for this connection, per quantum. This is checked in the base implementation of - PipelineTaskConnections.adjustQuantum, which raises- NoWorkFoundif the minimum is not met for- Inputconnections (causing the quantum to be pruned, skipped, or never created, depending on the context), and- FileNotFoundErrorfor- PrerequisiteInputconnections (causing QuantumGraph generation to fail).- PipelineTaskimplementations may provide custom- adjustQuantumimplementations for more fine-grained or configuration-driven constraints, as long as they are compatible with this minium.
- deferGraphConstraintbool, optional
- If - True, do not include this dataset type’s existence in the initial query that starts the QuantumGraph generation process. This can be used to make QuantumGraph generation faster by avoiding redundant datasets, and in certain cases it can (along with careful attention to which tasks are included in the same QuantumGraph) be used to work around the QuantumGraph generation algorithm’s inflexible handling of spatial overlaps. This option has no effect when the connection is not an overall input of the pipeline (or subset thereof) for which a graph is being created, and it never affects the ordering of quanta.
 
- name
 
 - inputs: set[str] = frozenset({'coadd_exposures', 'input_maps', 'sky_map', 'visit_summaries'})¶
- 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 a- frozensetand may not be replaced.
 - n_exposure_map_max¶
- Connection for output dataset. 
 - n_exposure_map_mean¶
- Connection for output dataset. 
 - n_exposure_map_min¶
- Connection for output dataset. 
 - n_exposure_map_sum¶
- Connection for output dataset. 
 - n_exposure_map_weighted_mean¶
- Connection for output dataset. 
 - name = 'epoch'¶
 - outputs: set[str] = frozenset({'dcr_ddec_map_max', 'dcr_ddec_map_mean', 'dcr_ddec_map_min', 'dcr_ddec_map_sum', 'dcr_ddec_map_weighted_mean', 'dcr_dra_map_max', 'dcr_dra_map_mean', 'dcr_dra_map_min', 'dcr_dra_map_sum', 'dcr_dra_map_weighted_mean', 'dcr_e1_map_max', 'dcr_e1_map_mean', 'dcr_e1_map_min', 'dcr_e1_map_sum', 'dcr_e1_map_weighted_mean', 'dcr_e2_map_max', 'dcr_e2_map_mean', 'dcr_e2_map_min', 'dcr_e2_map_sum', 'dcr_e2_map_weighted_mean', 'epoch_map_max', 'epoch_map_mean', 'epoch_map_min', 'epoch_map_sum', 'epoch_map_weighted_mean', 'exposure_time_map_max', 'exposure_time_map_mean', 'exposure_time_map_min', 'exposure_time_map_sum', 'exposure_time_map_weighted_mean', 'n_exposure_map_max', 'n_exposure_map_mean', 'n_exposure_map_min', 'n_exposure_map_sum', 'n_exposure_map_weighted_mean', 'psf_e1_map_max', 'psf_e1_map_mean', 'psf_e1_map_min', 'psf_e1_map_sum', 'psf_e1_map_weighted_mean', 'psf_e2_map_max', 'psf_e2_map_mean', 'psf_e2_map_min', 'psf_e2_map_sum', 'psf_e2_map_weighted_mean', 'psf_maglim_map_max', 'psf_maglim_map_mean', 'psf_maglim_map_min', 'psf_maglim_map_sum', 'psf_maglim_map_weighted_mean', 'psf_size_map_max', 'psf_size_map_mean', 'psf_size_map_min', 'psf_size_map_sum', 'psf_size_map_weighted_mean', 'sky_background_map_max', 'sky_background_map_mean', 'sky_background_map_min', 'sky_background_map_sum', 'sky_background_map_weighted_mean', 'sky_noise_map_max', 'sky_noise_map_mean', 'sky_noise_map_min', 'sky_noise_map_sum', 'sky_noise_map_weighted_mean'})¶
- Set with the names of all - Outputconnection attributes.- See - inputsfor additional information.
 - prerequisiteInputs: set[str] = frozenset({})¶
- Set with the names of all - PrerequisiteInputconnection attributes.- See - inputsfor additional information.
 - psf_e1_map_max¶
- Connection for output dataset. 
 - psf_e1_map_mean¶
- Connection for output dataset. 
 - psf_e1_map_min¶
- Connection for output dataset. 
 - psf_e1_map_sum¶
- Connection for output dataset. 
 - psf_e1_map_weighted_mean¶
- Connection for output dataset. 
 - psf_e2_map_max¶
- Connection for output dataset. 
 - psf_e2_map_mean¶
- Connection for output dataset. 
 - psf_e2_map_min¶
- Connection for output dataset. 
 - psf_e2_map_sum¶
- Connection for output dataset. 
 - psf_e2_map_weighted_mean¶
- Connection for output dataset. 
 - psf_maglim_map_max¶
- Connection for output dataset. 
 - psf_maglim_map_mean¶
- Connection for output dataset. 
 - psf_maglim_map_min¶
- Connection for output dataset. 
 - psf_maglim_map_sum¶
- Connection for output dataset. 
 - psf_maglim_map_weighted_mean¶
- Connection for output dataset. 
 - psf_size_map_max¶
- Connection for output dataset. 
 - psf_size_map_mean¶
- Connection for output dataset. 
 - psf_size_map_min¶
- Connection for output dataset. 
 - psf_size_map_sum¶
- Connection for output dataset. 
 - psf_size_map_weighted_mean¶
- Connection for output dataset. 
 - sky_background_map_max¶
- Connection for output dataset. 
 - sky_background_map_mean¶
- Connection for output dataset. 
 - sky_background_map_min¶
- Connection for output dataset. 
 - sky_background_map_sum¶
- Connection for output dataset. 
 - sky_background_map_weighted_mean¶
- Connection for output dataset. 
 - sky_map¶
- Class used for declaring PipelineTask input connections. - Raises:
- TypeError
- Raised if - minimumis greater than one but- multiple=False.
- NotImplementedError
- Raised if - minimumis zero for a regular- Inputconnection; this is not currently supported by our QuantumGraph generation algorithm.
 
- Attributes:
- namestr
- The default name used to identify the dataset type. 
- storageClassstr
- The storage class used when (un)/persisting the dataset type. 
- multiplebool
- Indicates if this connection should expect to contain multiple objects of the given dataset type. Tasks with more than one connection with - multiple=Truewith the same dimensions may want to implement- PipelineTaskConnections.adjustQuantumto ensure those datasets are consistent (i.e. zip-iterable) in- PipelineTask.runQuantumand notify the execution system as early as possible of outputs that will not be produced because the corresponding input is missing.
- dimensionsiterable of str
- The - lsst.daf.butler.Butler- lsst.daf.butler.Registrydimensions used to identify the dataset type identified by the specified name.
- deferLoadbool
- Indicates that this dataset type will be loaded as a - lsst.daf.butler.DeferredDatasetHandle. PipelineTasks can use this object to load the object at a later time.
- minimumbool
- Minimum number of datasets required for this connection, per quantum. This is checked in the base implementation of - PipelineTaskConnections.adjustQuantum, which raises- NoWorkFoundif the minimum is not met for- Inputconnections (causing the quantum to be pruned, skipped, or never created, depending on the context), and- FileNotFoundErrorfor- PrerequisiteInputconnections (causing QuantumGraph generation to fail).- PipelineTaskimplementations may provide custom- adjustQuantumimplementations for more fine-grained or configuration-driven constraints, as long as they are compatible with this minium.
- deferGraphConstraintbool, optional
- If - True, do not include this dataset type’s existence in the initial query that starts the QuantumGraph generation process. This can be used to make QuantumGraph generation faster by avoiding redundant datasets, and in certain cases it can (along with careful attention to which tasks are included in the same QuantumGraph) be used to work around the QuantumGraph generation algorithm’s inflexible handling of spatial overlaps. This option has no effect when the connection is not an overall input of the pipeline (or subset thereof) for which a graph is being created, and it never affects the ordering of quanta.
 
- name
 
 - sky_noise_map_max¶
- Connection for output dataset. 
 - sky_noise_map_mean¶
- Connection for output dataset. 
 - sky_noise_map_min¶
- Connection for output dataset. 
 - sky_noise_map_sum¶
- Connection for output dataset. 
 - sky_noise_map_weighted_mean¶
- Connection for output dataset. 
 - visit_summaries¶
- Class used for declaring PipelineTask input connections. - Raises:
- TypeError
- Raised if - minimumis greater than one but- multiple=False.
- NotImplementedError
- Raised if - minimumis zero for a regular- Inputconnection; this is not currently supported by our QuantumGraph generation algorithm.
 
- Attributes:
- namestr
- The default name used to identify the dataset type. 
- storageClassstr
- The storage class used when (un)/persisting the dataset type. 
- multiplebool
- Indicates if this connection should expect to contain multiple objects of the given dataset type. Tasks with more than one connection with - multiple=Truewith the same dimensions may want to implement- PipelineTaskConnections.adjustQuantumto ensure those datasets are consistent (i.e. zip-iterable) in- PipelineTask.runQuantumand notify the execution system as early as possible of outputs that will not be produced because the corresponding input is missing.
- dimensionsiterable of str
- The - lsst.daf.butler.Butler- lsst.daf.butler.Registrydimensions used to identify the dataset type identified by the specified name.
- deferLoadbool
- Indicates that this dataset type will be loaded as a - lsst.daf.butler.DeferredDatasetHandle. PipelineTasks can use this object to load the object at a later time.
- minimumbool
- Minimum number of datasets required for this connection, per quantum. This is checked in the base implementation of - PipelineTaskConnections.adjustQuantum, which raises- NoWorkFoundif the minimum is not met for- Inputconnections (causing the quantum to be pruned, skipped, or never created, depending on the context), and- FileNotFoundErrorfor- PrerequisiteInputconnections (causing QuantumGraph generation to fail).- PipelineTaskimplementations may provide custom- adjustQuantumimplementations for more fine-grained or configuration-driven constraints, as long as they are compatible with this minium.
- deferGraphConstraintbool, optional
- If - True, do not include this dataset type’s existence in the initial query that starts the QuantumGraph generation process. This can be used to make QuantumGraph generation faster by avoiding redundant datasets, and in certain cases it can (along with careful attention to which tasks are included in the same QuantumGraph) be used to work around the QuantumGraph generation algorithm’s inflexible handling of spatial overlaps. This option has no effect when the connection is not an overall input of the pipeline (or subset thereof) for which a graph is being created, and it never affects the ordering of quanta.
 
- name
 
 - Methods Documentation - adjustQuantum(inputs: dict[str, tuple[lsst.pipe.base.connectionTypes.BaseInput, collections.abc.Collection[lsst.daf.butler._dataset_ref.DatasetRef]]], outputs: dict[str, tuple[lsst.pipe.base.connectionTypes.Output, collections.abc.Collection[lsst.daf.butler._dataset_ref.DatasetRef]]], label: str, data_id: DataCoordinate) tuple[collections.abc.Mapping[str, tuple[lsst.pipe.base.connectionTypes.BaseInput, collections.abc.Collection[lsst.daf.butler._dataset_ref.DatasetRef]]], collections.abc.Mapping[str, tuple[lsst.pipe.base.connectionTypes.Output, collections.abc.Collection[lsst.daf.butler._dataset_ref.DatasetRef]]]]¶
- Override to make adjustments to - lsst.daf.butler.DatasetRefobjects in the- lsst.daf.butler.Quantumduring the graph generation stage of the activator.- Parameters:
- inputsdict
- Dictionary whose keys are an input (regular or prerequisite) connection name and whose values are a tuple of the connection instance and a collection of associated - DatasetRefobjects. The exact type of the nested collections is unspecified; it can be assumed to be multi-pass iterable and support- lenand- in, but it should not be mutated in place. In contrast, the outer dictionaries are guaranteed to be temporary copies that are true- dictinstances, and hence may be modified and even returned; this is especially useful for delegating to- super(see notes below).
- outputsMapping
- Mapping of output datasets, with the same structure as - inputs.
- labelstr
- Label for this task in the pipeline (should be used in all diagnostic messages). 
- data_idlsst.daf.butler.DataCoordinate
- Data ID for this quantum in the pipeline (should be used in all diagnostic messages). 
 
- inputs
- Returns:
- adjusted_inputsMapping
- Mapping of the same form as - inputswith updated containers of input- DatasetRefobjects. Connections that are not changed should not be returned at all. Datasets may only be removed, not added. Nested collections may be of any multi-pass iterable type, and the order of iteration will set the order of iteration within- PipelineTask.runQuantum.
- adjusted_outputsMapping
- Mapping of updated output datasets, with the same structure and interpretation as - adjusted_inputs.
 
- adjusted_inputs
- Raises:
- ScalarError
- Raised if any - Inputor- PrerequisiteInputconnection has- multipleset to- False, but multiple datasets.
- NoWorkFound
- Raised to indicate that this quantum should not be run; not enough datasets were found for a regular - Inputconnection, and the quantum should be pruned or skipped.
- FileNotFoundError
- Raised to cause QuantumGraph generation to fail (with the message included in this exception); not enough datasets were found for a - PrerequisiteInputconnection.
 
 - Notes - The base class implementation performs important checks. It always returns an empty mapping (i.e. makes no adjustments). It should always called be via - superby custom implementations, ideally at the end of the custom implementation with already-adjusted mappings when any datasets are actually dropped, e.g.:- def adjustQuantum(self, inputs, outputs, label, data_id): # Filter out some dataset refs for one connection. connection, old_refs = inputs["my_input"] new_refs = [ref for ref in old_refs if ...] adjusted_inputs = {"my_input", (connection, new_refs)} # Update the original inputs so we can pass them to super. inputs.update(adjusted_inputs) # Can ignore outputs from super because they are guaranteed # to be empty. super().adjustQuantum(inputs, outputs, label_data_id) # Return only the connections we modified. return adjusted_inputs, {} - Removing outputs here is guaranteed to affect what is actually passed to - PipelineTask.runQuantum, but its effect on the larger graph may be deferred to execution, depending on the context in which- adjustQuantumis being run: if one quantum removes an output that is needed by a second quantum as input, the second quantum may not be adjusted (and hence pruned or skipped) until that output is actually found to be missing at execution time.- Tasks that desire zip-iteration consistency between any combinations of connections that have the same data ID should generally implement - adjustQuantumto achieve this, even if they could also run that logic during execution; this allows the system to see outputs that will not be produced because the corresponding input is missing as early as possible.
 - buildDatasetRefs(quantum: Quantum) tuple[lsst.pipe.base.connections.InputQuantizedConnection, lsst.pipe.base.connections.OutputQuantizedConnection]¶
- Build - QuantizedConnectioncorresponding to input- Quantum.- Parameters:
- quantumlsst.daf.butler.Quantum
- Quantum object which defines the inputs and outputs for a given unit of processing. 
 
- quantum
- Returns:
- retValtupleof (InputQuantizedConnection,
- OutputQuantizedConnection) Namespaces mapping attribute names (identifiers of connections) to butler references defined in the input- lsst.daf.butler.Quantum.
 
- retVal
 
 - getSpatialBoundsConnections() Iterable[str]¶
- Return the names of regular input and output connections whose data IDs should be used to compute the spatial bounds of this task’s quanta. - The spatial bound for a quantum is defined as the union of the regions of all data IDs of all connections returned here, along with the region of the quantum data ID (if the task has spatial dimensions). - Returns:
- connection_namescollections.abc.Iterable[str]
- Names of collections with spatial dimensions. These are the task-internal connection names, not butler dataset type names. 
 
- connection_names
 - Notes - The spatial bound is used to search for prerequisite inputs that have skypix dimensions. The default implementation returns an empty iterable, which is usually sufficient for tasks with spatial dimensions, but if a task’s inputs or outputs are associated with spatial regions that extend beyond the quantum data ID’s region, this method may need to be overridden to expand the set of prerequisite inputs found. - Tasks that do not have spatial dimensions that have skypix prerequisite inputs should always override this method, as the default spatial bounds otherwise cover the full sky. 
 - getTemporalBoundsConnections() Iterable[str]¶
- Return the names of regular input and output connections whose data IDs should be used to compute the temporal bounds of this task’s quanta. - The temporal bound for a quantum is defined as the union of the timespans of all data IDs of all connections returned here, along with the timespan of the quantum data ID (if the task has temporal dimensions). - Returns:
- connection_namescollections.abc.Iterable[str]
- Names of collections with temporal dimensions. These are the task-internal connection names, not butler dataset type names. 
 
- connection_names
 - Notes - The temporal bound is used to search for prerequisite inputs that are calibration datasets. The default implementation returns an empty iterable, which is usually sufficient for tasks with temporal dimensions, but if a task’s inputs or outputs are associated with timespans that extend beyond the quantum data ID’s timespan, this method may need to be overridden to expand the set of prerequisite inputs found. - Tasks that do not have temporal dimensions that do not implement this method will use an infinite timespan for any calibration lookups.