CalibrateTask¶
Python API summary¶
from lsst.pipe.tasks.calibrate import CalibrateTask
-
class
(butler=None, astromRefObjLoader=None, photoRefObjLoader=None, icSourceSchema=None, initInputs=None, **kwargs)CalibrateTask
!Calibrate an exposure: measure sources and perform astrometric and photometric calibration
...
-
attribute
config
Access configuration fields and retargetable subtasks.
-
method
(exposure, exposureIdInfo=None, background=None, icSourceCat=None)run
!Calibrate an exposure (science image or coadd)
...
-
method
(dataRef, exposure=None, background=None, icSourceCat=None, doUnpersist=True)runDataRef
!Calibrate an exposure, optionally unpersisting inputs and persisting outputs
...
See also
See the CalibrateTask
API reference for complete details.
Retargetable subtasks¶
applyApCorr¶
- Default
lsst.meas.base.applyApCorr.ApplyApCorrTask
- Field type
ConfigurableField
Subtask to apply aperture corrections
astromRefObjLoader¶
- Default
lsst.meas.algorithms.loadIndexedReferenceObjects.LoadIndexedReferenceObjectsTask
- Field type
ConfigurableField
reference object loader for astrometric calibration
astrometry¶
- Default
lsst.meas.astrom.astrometry.AstrometryTask
- Field type
ConfigurableField
Perform astrometric calibration to refine the WCS
catalogCalculation¶
- Default
lsst.meas.base.catalogCalculation.CatalogCalculationTask
- Field type
ConfigurableField
Subtask to run catalogCalculation plugins on catalog
computeSummaryStats¶
- Default
lsst.pipe.tasks.computeExposureSummaryStats.ComputeExposureSummaryStatsTask
- Field type
ConfigurableField
Subtask to run computeSummaryStats on exposure
deblend¶
- Default
lsst.meas.deblender.sourceDeblendTask.SourceDeblendTask
- Field type
ConfigurableField
Split blended sources into their components
detection¶
- Default
lsst.meas.algorithms.detection.SourceDetectionTask
- Field type
ConfigurableField
Detect sources
insertFakes¶
- Default
lsst.pipe.tasks.fakes.BaseFakeSourcesTask
- Field type
ConfigurableField
Injection of fake sources for testing purposes (must be retargeted) Deprecated: insertFakes is no longer supported. This config will be removed after v24. Please use ProcessCcdWithFakesTask instead.
measurement¶
- Default
lsst.meas.base.sfm.SingleFrameMeasurementTask
- Field type
ConfigurableField
Measure sources
photoCal¶
- Default
lsst.pipe.tasks.photoCal.PhotoCalTask
- Field type
ConfigurableField
Perform photometric calibration
photoRefObjLoader¶
- Default
lsst.meas.algorithms.loadIndexedReferenceObjects.LoadIndexedReferenceObjectsTask
- Field type
ConfigurableField
reference object loader for photometric calibration
postCalibrationMeasurement¶
- Default
lsst.meas.base.sfm.SingleFrameMeasurementTask
- Field type
ConfigurableField
Second round of measurement for plugins that need to be run after photocal
setPrimaryFlags¶
- Default
lsst.pipe.tasks.setPrimaryFlags.SetPrimaryFlagsTask
- Field type
ConfigurableField
Set flags for primary source classification in single frame processing. True if sources are not sky sources and not a parent.
skySources¶
- Default
lsst.meas.algorithms.skyObjects.SkyObjectsTask
- Field type
ConfigurableField
Generate sky sources
Configuration fields¶
checkUnitsParseStrict¶
Strictness of Astropy unit compatibility check, can be ‘raise’, ‘warn’ or ‘silent’
connections¶
- Data type
lsst.pipe.base.config.Connections
- Field type
ConfigField
Configurations describing the connections of the PipelineTask to datatypes
doComputeSummaryStats¶
Run subtask to measure exposure summary statistics?
doInsertFakes¶
Run fake sources injection task Deprecated: doInsertFakes is no longer supported. This config will be removed after v24. Please use ProcessCcdWithFakesTask instead.
doWriteExposure¶
Write the calexp? If fakes have been added then we do not want to write out the calexp as a normal calexp but as a fakes_calexp.
doWriteHeavyFootprintsInSources¶
Include HeavyFootprint data in source table? If false then heavy footprints are saved as normal footprints, which saves some space
doWriteMatches¶
Write reference matches (ignored if doWrite or doAstrometry false)?
doWriteMatchesDenormalized¶
Write reference matches in denormalized format? This format uses more disk space, but is more convenient to read. Ignored if doWriteMatches=False or doWrite=False.
icSourceFieldsToCopy¶
Fields to copy from the icSource catalog to the output catalog for matching sources Any missing fields will trigger a RuntimeError exception. Ignored if icSourceCat is not provided.
matchRadiusPix¶
Match radius for matching icSourceCat objects to sourceCat objects (pixels)
requireAstrometry¶
Raise an exception if astrometry fails? Ignored if doAstrometry false.
requirePhotoCal¶
Raise an exception if photoCal fails? Ignored if doPhotoCal false.
saveLogOutput¶
Flag to enable/disable saving of log output for a task, enabled by default.