CharacterizeImageTask¶
Python API summary¶
from lsst.pipe.tasks.characterizeImage import CharacterizeImageTask
-
class
CharacterizeImageTask
(schema=None, **kwargs) Measure bright sources and use this to estimate background and PSF of an exposure
...
- attributeconfig
Access configuration fields and retargetable subtasks.
-
method
run
(exposure, exposureIdInfo=None, background=None, idGenerator=None) Characterize a science image
...
See also
See the CharacterizeImageTask
API reference for complete details.
Retargetable subtasks¶
applyApCorr¶
- Default
- Field type
Subtask to apply aperture corrections
background¶
Configuration for initial background estimation
catalogCalculation¶
Subtask to run catalogCalculation plugins on catalog
computeSummaryStats¶
Subtask to run computeSummaryStats on exposure Deprecated: This subtask has been moved to CalibrateTask with DM-30701.
deblend¶
- Default
lsst.meas.deblender.sourceDeblendTask.SourceDeblendTask
- Field type
Split blended source into their components
detection¶
- Default
- Field type
Detect sources
installSimplePsf¶
Install a simple PSF model
maskStreaks¶
- Default
- Field type
Subtask for masking streaks. Only used if doMaskStreaks is True. Adds a mask plane to an exposure, with the mask plane name set by streakMaskName.
measureApCorr¶
- Default
- Field type
Subtask to measure aperture corrections
measurePsf¶
- Default
- Field type
Measure PSF
measurement¶
- Default
- Field type
Measure sources
repair¶
- Default
- Field type
Remove cosmic rays
Configuration fields¶
checkUnitsParseStrict¶
Strictness of Astropy unit compatibility check, can be ‘raise’, ‘warn’ or ‘silent’
connections¶
- Data type
lsst.pipe.base.config.CharacterizeImageConfigConnections
- Field type
Configurations describing the connections of the PipelineTask to datatypes
doApCorr¶
Run subtasks to measure and apply aperture corrections
doComputeSummaryStats¶
Run subtask to measure exposure summary statistics Deprecated: This subtask has been moved to CalibrateTask with DM-30701.
doDeblend¶
Run deblender input exposure
doMaskStreaks¶
Mask streaks
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)
doWrite¶
Persist results?
doWriteExposure¶
Write icExp and icExpBackground in addition to icSrc? Ignored if doWrite False.
idGenerator¶
- Data type
lsst.meas.base._id_generator.DetectorVisitIdGeneratorConfig
- Field type
Configuration for how to generate catalog IDs from data IDs.
psfIterations¶
- Default
2
- Field type
- 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.
requireCrForPsf¶
Require cosmic ray detection and masking to run successfully before measuring the PSF.
saveLogOutput¶
Flag to enable/disable saving of log output for a task, enabled by default.
saveMetadata¶
Flag to enable/disable metadata saving for a task, enabled by default. Deprecated: This field is deprecated and will be removed after v26.
useSimplePsf¶
Replace the existing PSF model with a simplified version that has the same sigma at the start of each PSF determination iteration? Doing so makes PSF determination converge more robustly and quickly.