lsst.pipe.tasks
19.0.0-61-gec4c6e08+2
|
useUpdatedCalibs = pexConfig.Field( doc="Use updated calibs and wcs from jointcal?", dtype=bool, default=False, ) coaddName = pexConfig.Field( doc="The name of the type of coadd used", dtype=str, default="deep", ) calibrationFieldsToCopy = pexConfig.ListField( dtype=str, default=("calib_psf_candidate", "calib_psf_used", "calib_psf_reserved"), doc=("Fields to copy from the icSource catalog to the output catalog " "for matching sources Any missing fields will trigger a " "RuntimeError exception.") ) srcFieldsToCopy = pexConfig.ListField( dtype=str, default=("calib_photometry_reserved", "calib_photometry_used", "calib_astrometry_used"), doc=("Fields to copy from the `src` catalog to the output catalog " "for matching sources Any missing fields will trigger a " "RuntimeError exception.") ) matchRadiusPix = pexConfig.Field( dtype=float, default=3, doc=("Match radius for matching icSourceCat objects to sourceCat objects (pixels)"), ) insertFakes = pexConfig.ConfigurableField(target=InsertFakesTask, doc="Configuration for the fake sources") detection = pexConfig.ConfigurableField(target=SourceDetectionTask, doc="The detection task to use.") deblend = pexConfig.ConfigurableField(target=SourceDeblendTask, doc="The deblending task to use.") measurement = pexConfig.ConfigurableField(target=SingleFrameMeasurementTask, doc="The measurement task to use") applyApCorr = pexConfig.ConfigurableField(target=ApplyApCorrTask, doc="The apply aperture correction task to use.") catalogCalculation = pexConfig.ConfigurableField(target=CatalogCalculationTask, doc="The catalog calculation task to use.") skySources = pexConfig.ConfigurableField(target=SkyObjectsTask, doc="Generate sky sources") def setDefaults(self): self.detection.reEstimateBackground = False super().setDefaults() self.measurement.plugins["base_PixelFlags"].masksFpAnywhere.append("FAKE") self.measurement.plugins["base_PixelFlags"].masksFpCenter.append("FAKE") self.deblend.maxFootprintSize = 2000 self.measurement.plugins.names |= ["base_LocalPhotoCalib", "base_LocalWcs"] class ProcessCcdWithFakesTask(PipelineTask, CmdLineTask):
_DefaultName = "processCcdWithFakes" ConfigClass = ProcessCcdWithFakesConfig def __init__(self, schema=None, butler=None, **kwargs):
Definition at line 212 of file processCcdWithFakes.py.