LSST Applications g1653933729+34a971ddd9,g1a997c3884+34a971ddd9,g2160c40384+da0d0eec6b,g28da252d5a+1236b942f7,g2bbee38e9b+e5a1bc5b38,g2bc492864f+e5a1bc5b38,g2ca4be77d2+192fe503f0,g2cdde0e794+704103fe75,g3156d2b45e+6e87dc994a,g347aa1857d+e5a1bc5b38,g35bb328faa+34a971ddd9,g3a166c0a6a+e5a1bc5b38,g3e281a1b8c+8ec26ec694,g4005a62e65+ba0306790b,g414038480c+9f5be647b3,g41af890bb2+c3a10c924f,g5065538af8+e7237db731,g5a0bb5165c+eae055db26,g717e5f8c0f+b65b5c3ae4,g80478fca09+4ce5a07937,g82479be7b0+08790af60f,g858d7b2824+b65b5c3ae4,g9125e01d80+34a971ddd9,ga5288a1d22+5df949a35e,gae0086650b+34a971ddd9,gb58c049af0+ace264a4f2,gbd397ab92a+2141afb137,gc28159a63d+e5a1bc5b38,gc805d3fbd4+b65b5c3ae4,gcf0d15dbbd+97632ccc20,gd6b7c0dfd1+de826e8718,gda6a2b7d83+97632ccc20,gdaeeff99f8+7774323b41,ge2409df99d+e6cadbf968,ge33fd446bb+b65b5c3ae4,ge79ae78c31+e5a1bc5b38,gf0baf85859+890af219f9,gf5289d68f6+a27069ed62,w.2024.37
LSST Data Management Base Package
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | List of all members
lsst.meas.base.baseMeasurement.SourceSlotConfig Class Reference
Inheritance diagram for lsst.meas.base.baseMeasurement.SourceSlotConfig:
lsst.pex.config.config.Config lsst.pex.config.config.ConfigMeta

Public Member Functions

 setupSchema (self, schema)
 

Static Public Attributes

 Field = lsst.pex.config.Field
 
 centroid
 
 shape
 
 psfShape
 
 apFlux
 
 modelFlux
 
 psfFlux
 
 gaussianFlux
 
 calibFlux
 

Detailed Description

Assign named plugins to measurement slots.

Slot configuration which assigns a particular named plugin to each of a set
of slots.  Each slot allows a type of measurement to be fetched from the
`lsst.afw.table.SourceTable` without knowing which algorithm was used to
produced the data.

Notes
-----
The default algorithm for each slot must be registered, even if the default
is not used.

Definition at line 76 of file baseMeasurement.py.

Member Function Documentation

◆ setupSchema()

lsst.meas.base.baseMeasurement.SourceSlotConfig.setupSchema ( self,
schema )
Set up a slots in a schema following configuration directives.

Parameters
----------
schema : `lsst.afw.table.Schema`
    The schema in which slots will be set up.

Notes
-----
This is defined in this configuration class to support use in unit
tests without needing to construct an `lsst.pipe.base.Task` object.

Definition at line 108 of file baseMeasurement.py.

108 def setupSchema(self, schema):
109 """Set up a slots in a schema following configuration directives.
110
111 Parameters
112 ----------
113 schema : `lsst.afw.table.Schema`
114 The schema in which slots will be set up.
115
116 Notes
117 -----
118 This is defined in this configuration class to support use in unit
119 tests without needing to construct an `lsst.pipe.base.Task` object.
120 """
121 aliases = schema.getAliasMap()
122 if self.centroid is not None:
123 aliases.set("slot_Centroid", self.centroid)
124 if self.shape is not None:
125 aliases.set("slot_Shape", self.shape)
126 if self.psfShape is not None:
127 aliases.set("slot_PsfShape", self.psfShape)
128 if self.apFlux is not None:
129 aliases.set("slot_ApFlux", self.apFlux)
130 if self.modelFlux is not None:
131 aliases.set("slot_ModelFlux", self.modelFlux)
132 if self.psfFlux is not None:
133 aliases.set("slot_PsfFlux", self.psfFlux)
134 if self.gaussianFlux is not None:
135 aliases.set("slot_GaussianFlux", self.gaussianFlux)
136 if self.calibFlux is not None:
137 aliases.set("slot_CalibFlux", self.calibFlux)
138
139

Member Data Documentation

◆ apFlux

lsst.meas.base.baseMeasurement.SourceSlotConfig.apFlux
static
Initial value:
= Field(dtype=str, default="base_CircularApertureFlux_12_0", optional=True,
doc="the name of the algorithm used to set the source aperture instFlux slot")

Definition at line 97 of file baseMeasurement.py.

◆ calibFlux

lsst.meas.base.baseMeasurement.SourceSlotConfig.calibFlux
static
Initial value:
= Field(dtype=str, default="base_CircularApertureFlux_12_0", optional=True,
doc="the name of the instFlux measurement algorithm used for calibration")

Definition at line 105 of file baseMeasurement.py.

◆ centroid

lsst.meas.base.baseMeasurement.SourceSlotConfig.centroid
static
Initial value:
= Field(dtype=str, default="base_SdssCentroid", optional=True,
doc="the name of the centroiding algorithm used to set source x,y")

Definition at line 91 of file baseMeasurement.py.

◆ Field

lsst.meas.base.baseMeasurement.SourceSlotConfig.Field = lsst.pex.config.Field
static

Definition at line 90 of file baseMeasurement.py.

◆ gaussianFlux

lsst.meas.base.baseMeasurement.SourceSlotConfig.gaussianFlux
static
Initial value:
= Field(dtype=str, default="base_GaussianFlux", optional=True,
doc="the name of the algorithm used to set the source Gaussian instFlux slot")

Definition at line 103 of file baseMeasurement.py.

◆ modelFlux

lsst.meas.base.baseMeasurement.SourceSlotConfig.modelFlux
static
Initial value:
= Field(dtype=str, default="base_GaussianFlux", optional=True,
doc="the name of the algorithm used to set the source model instFlux slot")

Definition at line 99 of file baseMeasurement.py.

◆ psfFlux

lsst.meas.base.baseMeasurement.SourceSlotConfig.psfFlux
static
Initial value:
= Field(dtype=str, default="base_PsfFlux", optional=True,
doc="the name of the algorithm used to set the source psf instFlux slot")

Definition at line 101 of file baseMeasurement.py.

◆ psfShape

lsst.meas.base.baseMeasurement.SourceSlotConfig.psfShape
static
Initial value:
= Field(dtype=str, default="base_SdssShape_psf", optional=True,
doc="the name of the algorithm used to set PSF moments parameters")

Definition at line 95 of file baseMeasurement.py.

◆ shape

lsst.meas.base.baseMeasurement.SourceSlotConfig.shape
static
Initial value:
= Field(dtype=str, default="base_SdssShape", optional=True,
doc="the name of the algorithm used to set source moments parameters")

Definition at line 93 of file baseMeasurement.py.


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