CharacterizeImageTask¶
Python API summary¶
from lsst.pipe.tasks.characterizeImage import CharacterizeImageTask
-
class
(butler=None, refObjLoader=None, schema=None, **kwargs)CharacterizeImageTask
!Measure bright sources and use this to estimate background and PSF of an exposure
...
-
attribute
config
Access configuration fields and retargetable subtasks.
-
method
(exposure, exposureIdInfo=None, background=None)run
!Characterize a science image
...
-
method
(dataRef, exposure=None, background=None, doUnpersist=True)runDataRef
!Characterize a science image and, if wanted, persist the results
...
See also
See the CharacterizeImageTask
API reference for complete details.
Retargetable subtasks¶
applyApCorr¶
- Default
lsst.meas.base.applyApCorr.ApplyApCorrTask
- Field type
ConfigurableField
Subtask to apply aperture corrections
background¶
- Default
lsst.meas.algorithms.subtractBackground.SubtractBackgroundTask
- Field type
ConfigurableField
Configuration for initial background estimation
catalogCalculation¶
- Default
lsst.meas.base.catalogCalculation.CatalogCalculationTask
- Field type
ConfigurableField
Subtask to run catalogCalculation plugins on catalog
deblend¶
- Default
lsst.meas.deblender.deblend.SourceDeblendTask
- Field type
ConfigurableField
Split blended source into their components
detection¶
- Default
lsst.meas.algorithms.detection.SourceDetectionTask
- Field type
ConfigurableField
Detect sources
installSimplePsf¶
- Default
lsst.meas.algorithms.installGaussianPsf.InstallGaussianPsfTask
- Field type
ConfigurableField
Install a simple PSF model
measureApCorr¶
- Default
lsst.meas.algorithms.measureApCorr.MeasureApCorrTask
- Field type
ConfigurableField
Subtask to measure aperture corrections
measurePsf¶
- Default
lsst.pipe.tasks.measurePsf.MeasurePsfTask
- Field type
ConfigurableField
Measure PSF
measurement¶
- Default
lsst.meas.base.sfm.SingleFrameMeasurementTask
- Field type
ConfigurableField
Measure sources
refObjLoader¶
- Default
lsst.meas.algorithms.loadIndexedReferenceObjects.LoadIndexedReferenceObjectsTask
- Field type
ConfigurableField
reference object loader
ref_match¶
- Default
lsst.meas.astrom.ref_match.RefMatchTask
- Field type
ConfigurableField
Task to load and match reference objects. Only used if measurePsf can use matches. Warning: matching will only work well if the initial WCS is accurate enough to give good matches (roughly: good to 3 arcsec across the CCD).
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
doMeasurePsf¶
Measure PSF? If False then for all subsequent operations use either existing PSF model when present, or install simple PSF model when not (see installSimplePsf config options)
doWriteExposure¶
Write icExp and icExpBackground in addition to icSrc? Ignored if doWrite False.
psfIterations¶
- Default
2
- Field type
int
RangeField
- Range
- [1,inf)
Number of iterations of detect sources, measure sources, estimate PSF. If useSimplePsf is True then 2 should be plenty; otherwise more may be wanted.
saveMetadata¶
Flag to enable/disable metadata saving for a task, enabled by default.