CharacterizeImageConfig#
- class lsst.pipe.tasks.characterizeImage.CharacterizeImageConfig(*args, **kw)#
Bases:
PipelineTaskConfigConfig for CharacterizeImageTask.
Attributes Summary
Subtask to apply aperture corrections (
ConfigurableInstance, default<class 'lsst.meas.base.applyApCorr.ApplyApCorrConfig'>)Configuration for initial background estimation (
ConfigurableInstance, default<class 'lsst.meas.algorithms.subtractBackground.SubtractBackgroundConfig'>)Subtask to run catalogCalculation plugins on catalog (
ConfigurableInstance, default<class 'lsst.meas.base.catalogCalculation.CatalogCalculationConfig'>)Strictness of Astropy unit compatibility check, can be 'raise', 'warn' or 'silent' (
str, default'raise')Subtask to run computeSummaryStats on exposure Deprecated: This subtask has been moved to CalibrateTask with DM-30701.
Field which refers to a dynamically added configuration class which is based on a PipelineTaskConnections class.
Split blended source into their components (
ConfigurableInstance, default<class 'lsst.meas.deblender.sourceDeblendTask.SourceDeblendConfig'>)Detect sources (
ConfigurableInstance, default<class 'lsst.meas.algorithms.detection.SourceDetectionConfig'>)Run subtasks to measure and apply aperture corrections (
bool, defaultTrue)Run subtask to measure exposure summary statistics Deprecated: This subtask has been moved to CalibrateTask with DM-30701.
Run deblender input exposure (
bool, defaultTrue)Mask streaks Deprecated: This subtask has been moved to detectAndMeasureTask in ip_diffim with DM-43370 and will be removed in DM-44658.
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) (
bool, defaultTrue)Use normalized calibration flux (e.g. compensated tophats)? (
bool, defaultTrue).Persist results? (
bool, defaultTrue)Write icExp and icExpBackground in addition to icSrc? Ignored if doWrite False.
Configuration for how to generate catalog IDs from data IDs.
Install a simple PSF model (
ConfigurableInstance, default<class 'lsst.meas.algorithms.installGaussianPsf.InstallGaussianPsfConfig'>)Subtask for masking streaks.
Subtask to measure aperture corrections (
ConfigurableInstance, default<class 'lsst.meas.algorithms.measureApCorr.MeasureApCorrConfig'>)Measure PSF (
ConfigurableInstance, default<class 'lsst.pipe.tasks.measurePsf.MeasurePsfConfig'>)Measure sources (
ConfigurableInstance, default<class 'lsst.meas.base.sfm.SingleFrameMeasurementConfig'>)Task to normalize the calibration flux (e.g. compensated tophats).
Number of iterations of detect sources, measure sources, estimate PSF.
Remove cosmic rays (
ConfigurableInstance, default<class 'lsst.pipe.tasks.repair.RepairConfig'>)Require cosmic ray detection and masking to run successfully before measuring the PSF.
Flag to enable/disable saving of log output for a task, enabled by default.
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.
Methods Summary
Subclass hook for computing defaults.
validate()Validate the Config, raising an exception if invalid.
Attributes Documentation
- applyApCorr#
Subtask to apply aperture corrections (
ConfigurableInstance, default<class 'lsst.meas.base.applyApCorr.ApplyApCorrConfig'>)
- background#
Configuration for initial background estimation (
ConfigurableInstance, default<class 'lsst.meas.algorithms.subtractBackground.SubtractBackgroundConfig'>)
- catalogCalculation#
Subtask to run catalogCalculation plugins on catalog (
ConfigurableInstance, default<class 'lsst.meas.base.catalogCalculation.CatalogCalculationConfig'>)
- checkUnitsParseStrict#
Strictness of Astropy unit compatibility check, can be ‘raise’, ‘warn’ or ‘silent’ (
str, default'raise')
- computeSummaryStats#
Subtask to run computeSummaryStats on exposure Deprecated: This subtask has been moved to CalibrateTask with DM-30701. (
ConfigurableInstance, default<class 'lsst.pipe.tasks.computeExposureSummaryStats.ComputeExposureSummaryStatsConfig'>)
- connections: pexConfig.ConfigField#
Field which refers to a dynamically added configuration class which is based on a PipelineTaskConnections class.
- deblend#
Split blended source into their components (
ConfigurableInstance, default<class 'lsst.meas.deblender.sourceDeblendTask.SourceDeblendConfig'>)
- detection#
Detect sources (
ConfigurableInstance, default<class 'lsst.meas.algorithms.detection.SourceDetectionConfig'>)
- doApCorr#
Run subtasks to measure and apply aperture corrections (
bool, defaultTrue)
- doComputeSummaryStats#
Run subtask to measure exposure summary statistics Deprecated: This subtask has been moved to CalibrateTask with DM-30701. (
bool, defaultTrue)
- doDeblend#
Run deblender input exposure (
bool, defaultTrue)
- doMaskStreaks#
Mask streaks Deprecated: This subtask has been moved to detectAndMeasureTask in ip_diffim with DM-43370 and will be removed in DM-44658. (
bool, defaultFalse)
- 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) (
bool, defaultTrue)
- doNormalizedCalibration#
Use normalized calibration flux (e.g. compensated tophats)? (
bool, defaultTrue)
- doWrite#
Persist results? (
bool, defaultTrue)
- doWriteExposure#
Write icExp and icExpBackground in addition to icSrc? Ignored if doWrite False. (
bool, defaultTrue)
- idGenerator#
Configuration for how to generate catalog IDs from data IDs. (
DetectorVisitIdGeneratorConfig, default<class 'lsst.meas.base._id_generator.DetectorVisitIdGeneratorConfig'>)
- installSimplePsf#
Install a simple PSF model (
ConfigurableInstance, default<class 'lsst.meas.algorithms.installGaussianPsf.InstallGaussianPsfConfig'>)
- maskStreaks#
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. Deprecated: This subtask has been moved to detectAndMeasureTask in ip_diffim with DM-43370 and will be removed in DM-44658. (
ConfigurableInstance, default<class 'lsst.meas.algorithms.maskStreaks.MaskStreaksConfig'>)
- measureApCorr#
Subtask to measure aperture corrections (
ConfigurableInstance, default<class 'lsst.meas.algorithms.measureApCorr.MeasureApCorrConfig'>)
- measurePsf#
Measure PSF (
ConfigurableInstance, default<class 'lsst.pipe.tasks.measurePsf.MeasurePsfConfig'>)
- measurement#
Measure sources (
ConfigurableInstance, default<class 'lsst.meas.base.sfm.SingleFrameMeasurementConfig'>)
- normalizedCalibrationFlux#
Task to normalize the calibration flux (e.g. compensated tophats). (
ConfigurableInstance, default<class 'lsst.meas.algorithms.normalizedCalibrationFlux.NormalizedCalibrationFluxConfig'>)
- psfIterations#
Number of iterations of detect sources, measure sources, estimate PSF. If useSimplePsf is True then 2 should be plenty; otherwise more may be wanted. (
int, default2)Valid Range = [1,inf)
- repair#
Remove cosmic rays (
ConfigurableInstance, default<class 'lsst.pipe.tasks.repair.RepairConfig'>)
- requireCrForPsf#
Require cosmic ray detection and masking to run successfully before measuring the PSF. (
bool, defaultTrue)
- saveLogOutput#
Flag to enable/disable saving of log output for a task, enabled by default. (
bool, defaultTrue)
- 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. (
bool, defaultTrue)
Methods Documentation
- setDefaults()#
Subclass hook for computing defaults.
Notes#
Derived
Configclasses that must compute defaults rather than using theFieldinstances’s defaults should do so here. To correctly use inherited defaults, implementations ofsetDefaultsmust call their base class’ssetDefaults.
- validate()#
Validate the Config, raising an exception if invalid.
Raises#
- lsst.pex.config.FieldValidationError
Raised if verification fails.
Notes#
The base class implementation performs type checks on all fields by calling their
validatemethods.Complex single-field validation can be defined by deriving new Field types. For convenience, some derived
lsst.pex.config.Field-types (ConfigFieldandConfigChoiceField) are defined inlsst.pex.configthat handle recursing into subconfigs.Inter-field relationships should only be checked in derived
Configclasses after calling this method, and base validation is complete.