lsst.pipe.tasks 23.0.0+f2fbba1123
Public Member Functions | Static Public Attributes | List of all members
lsst.pipe.tasks.fit_multiband.MultibandFitConnections Class Reference
Inheritance diagram for lsst.pipe.tasks.fit_multiband.MultibandFitConnections:
lsst.pipe.tasks.fit_multiband.MultibandFitConfig

Public Member Functions

def adjustQuantum (self, inputs, outputs, label, data_id)
 

Static Public Attributes

 cat_ref
 
 cats_meas
 
 coadds
 
 cat_output
 
 cat_ref_schema
 
 cat_output_schema
 

Detailed Description

Definition at line 72 of file fit_multiband.py.

Member Function Documentation

◆ adjustQuantum()

def lsst.pipe.tasks.fit_multiband.MultibandFitConnections.adjustQuantum (   self,
  inputs,
  outputs,
  label,
  data_id 
)
Validates the `lsst.daf.butler.DatasetRef` bands against the
subtask's list of bands to fit and drops unnecessary bands.

Parameters
----------
inputs : `dict`
    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 `DatasetRef` objects.
    The exact type of the nested collections is unspecified; it can be
    assumed to be multi-pass iterable and support `len` and ``in``, but
    it should not be mutated in place.  In contrast, the outer
    dictionaries are guaranteed to be temporary copies that are true
    `dict` instances, and hence may be modified and even returned; this
    is especially useful for delegating to `super` (see notes below).
outputs : `Mapping`
    Mapping of output datasets, with the same structure as ``inputs``.
label : `str`
    Label for this task in the pipeline (should be used in all
    diagnostic messages).
data_id : `lsst.daf.butler.DataCoordinate`
    Data ID for this quantum in the pipeline (should be used in all
    diagnostic messages).

Returns
-------
adjusted_inputs : `Mapping`
    Mapping of the same form as ``inputs`` with updated containers of
    input `DatasetRef` objects.  All inputs involving the 'band'
    dimension are adjusted to put them in consistent order and remove
    unneeded bands.
adjusted_outputs : `Mapping`
    Mapping of updated output datasets; always empty for this task.

Raises
------
lsst.pipe.base.NoWorkFound
    Raised if there are not enough of the right bands to run the task
    on this quantum.

Definition at line 114 of file fit_multiband.py.

Member Data Documentation

◆ cat_output

lsst.pipe.tasks.fit_multiband.MultibandFitConnections.cat_output
static
Initial value:
= cT.Output(
doc="Measurement multi-band catalog",
name="{name_output_coadd}Coadd_{name_output_cat}",
storageClass="SourceCatalog",
dimensions=("tract", "patch", "skymap"),
)

Definition at line 97 of file fit_multiband.py.

◆ cat_output_schema

lsst.pipe.tasks.fit_multiband.MultibandFitConnections.cat_output_schema
static
Initial value:
= cT.InitOutput(
doc="Output of the schema used in deblending task",
name="{name_output_coadd}Coadd_{name_output_cat}_schema",
storageClass="SourceCatalog"
)

Definition at line 108 of file fit_multiband.py.

◆ cat_ref

lsst.pipe.tasks.fit_multiband.MultibandFitConnections.cat_ref
static
Initial value:
= cT.Input(
doc="Reference multiband source catalog",
name="{name_input_coadd}Coadd_ref",
storageClass="SourceCatalog",
dimensions=("tract", "patch", "skymap"),
)

Definition at line 77 of file fit_multiband.py.

◆ cat_ref_schema

lsst.pipe.tasks.fit_multiband.MultibandFitConnections.cat_ref_schema
static
Initial value:
= cT.InitInput(
doc="Schema associated with a ref source catalog",
storageClass="SourceCatalog",
name="{name_input_coadd}Coadd_ref_schema",
)

Definition at line 103 of file fit_multiband.py.

◆ cats_meas

lsst.pipe.tasks.fit_multiband.MultibandFitConnections.cats_meas
static
Initial value:
= cT.Input(
doc="Deblended single-band source catalogs",
name="{name_input_coadd}Coadd_meas",
storageClass="SourceCatalog",
multiple=True,
dimensions=("tract", "patch", "band", "skymap"),
)

Definition at line 83 of file fit_multiband.py.

◆ coadds

lsst.pipe.tasks.fit_multiband.MultibandFitConnections.coadds
static
Initial value:
= cT.Input(
doc="Exposures on which to run fits",
name="{name_input_coadd}Coadd_calexp",
storageClass="ExposureF",
multiple=True,
dimensions=("tract", "patch", "band", "skymap"),
)

Definition at line 90 of file fit_multiband.py.


The documentation for this class was generated from the following file: