Base config class for all measurement driver tasks.
More...
Base config class for all measurement driver tasks.
Definition at line 184 of file baseMeasurement.py.
def lsst.meas.base.baseMeasurement.BaseMeasurementConfig.validate |
( |
|
self | ) |
|
Definition at line 221 of file baseMeasurement.py.
223 lsst.pex.config.Config.validate(self)
224 if self.slots.centroid
is not None and self.slots.centroid
not in self.plugins.names:
225 raise ValueError(
"source centroid slot algorithm is not being run.")
226 if self.slots.shape
is not None and self.slots.shape
not in self.plugins.names:
227 raise ValueError(
"source shape slot algorithm '%s' is not being run." % self.slots.shape)
228 for slot
in (self.slots.psfFlux, self.slots.apFlux, self.slots.modelFlux,
229 self.slots.instFlux, self.slots.calibFlux):
231 for name
in self.plugins.names:
232 if len(name) <= len(slot)
and name == slot[:len(name)]:
235 raise ValueError(
"source flux slot algorithm '%s' is not being run." % slot)