LSSTApplications  18.1.0
LSSTDataManagementBasePackage
Public Member Functions | Static Public Attributes | List of all members
lsst.pipe.tasks.processFakes.ProcessCcdWithFakesConfig Class Reference
Inheritance diagram for lsst.pipe.tasks.processFakes.ProcessCcdWithFakesConfig:
lsst.pipe.base.config.PipelineTaskConfig

Public Member Functions

def setDefaults (self)
 
def formatTemplateNames (self, templateParamsDict)
 

Static Public Attributes

 useUpdatedCalibs
 
 exposure
 
 fakeCat
 
 wcs
 
 photoCalib
 
 outputExposure
 
 outputCat
 
 coaddName
 
 insertFakes
 
 detection
 
 deblend = pexConfig.ConfigurableField(target=SourceDeblendTask, doc="The deblending task to use.")
 
 measurement
 
 applyApCorr
 
 catalogCalculation
 
 quantum
 

Detailed Description

Config for inserting fake sources

Notes
-----
The default column names are those from the UW sims database.

Definition at line 44 of file processFakes.py.

Member Function Documentation

◆ formatTemplateNames()

def lsst.pipe.base.config.PipelineTaskConfig.formatTemplateNames (   self,
  templateParamsDict 
)
inherited

Definition at line 326 of file config.py.

326  def formatTemplateNames(self, templateParamsDict):
327  # Look up the stored parameters for the specific instance of this config
328  # class
329  storedParamsDict = PIPELINETASK_CONFIG_TEMPLATE_DICT.setdefault(id(self), {})
330  storedParamsDict.update(templateParamsDict)
331  for key, value in self.items():
332  if isinstance(value, _BaseDatasetTypeConfig) and value.nameTemplate != '':
333  value.name = value.nameTemplate.format(**storedParamsDict)
334 
335 
table::Key< int > id
Definition: Detector.cc:166

◆ setDefaults()

def lsst.pipe.tasks.processFakes.ProcessCcdWithFakesConfig.setDefaults (   self)

Definition at line 129 of file processFakes.py.

129  def setDefaults(self):
130  self.detection.reEstimateBackground = False
131  super().setDefaults()
132  self.quantum.dimensions = ("Instrument", "Visit", "Detector")
133  self.measurement.plugins["base_PixelFlags"].masksFpAnywhere.append("FAKE")
134  self.measurement.plugins["base_PixelFlags"].masksFpCenter.append("FAKE")
135 
136 

Member Data Documentation

◆ applyApCorr

lsst.pipe.tasks.processFakes.ProcessCcdWithFakesConfig.applyApCorr
static
Initial value:
= pexConfig.ConfigurableField(target=ApplyApCorrTask,
doc="The apply aperture correction task to use.")

Definition at line 123 of file processFakes.py.

◆ catalogCalculation

lsst.pipe.tasks.processFakes.ProcessCcdWithFakesConfig.catalogCalculation
static
Initial value:
= pexConfig.ConfigurableField(target=CatalogCalculationTask,
doc="The catalog calculation ask to use.")

Definition at line 126 of file processFakes.py.

◆ coaddName

lsst.pipe.tasks.processFakes.ProcessCcdWithFakesConfig.coaddName
static
Initial value:
= pexConfig.Field(
doc="The name of the type of coadd used",
dtype=str,
default="deep",
)

Definition at line 106 of file processFakes.py.

◆ deblend

lsst.pipe.tasks.processFakes.ProcessCcdWithFakesConfig.deblend = pexConfig.ConfigurableField(target=SourceDeblendTask, doc="The deblending task to use.")
static

Definition at line 118 of file processFakes.py.

◆ detection

lsst.pipe.tasks.processFakes.ProcessCcdWithFakesConfig.detection
static
Initial value:
= pexConfig.ConfigurableField(target=SourceDetectionTask,
doc="The detection task to use.")

Definition at line 115 of file processFakes.py.

◆ exposure

lsst.pipe.tasks.processFakes.ProcessCcdWithFakesConfig.exposure
static
Initial value:
= pipeBase.InputDatasetField(
doc="Exposure into which fakes are to be added.",
name="calexp",
scalar=True,
storageClass="ExposureF",
dimensions=("Instrument", "Visit", "Detector")
)

Definition at line 58 of file processFakes.py.

◆ fakeCat

lsst.pipe.tasks.processFakes.ProcessCcdWithFakesConfig.fakeCat
static
Initial value:
= pipeBase.InputDatasetField(
doc="Catalog of fake sources to draw inputs from.",
nameTemplate="{CoaddName}Coadd_fakeSourceCat",
scalar=True,
storageClass="Parquet",
dimensions=("Tract", "SkyMap")
)

Definition at line 66 of file processFakes.py.

◆ insertFakes

lsst.pipe.tasks.processFakes.ProcessCcdWithFakesConfig.insertFakes
static
Initial value:
= pexConfig.ConfigurableField(target=InsertFakesTask,
doc="Configuration for the fake sources")

Definition at line 112 of file processFakes.py.

◆ measurement

lsst.pipe.tasks.processFakes.ProcessCcdWithFakesConfig.measurement
static
Initial value:
= pexConfig.ConfigurableField(target=SingleFrameMeasurementTask,
doc="The measurement task to use")

Definition at line 120 of file processFakes.py.

◆ outputCat

lsst.pipe.tasks.processFakes.ProcessCcdWithFakesConfig.outputCat
static
Initial value:
= pipeBase.OutputDatasetField(
doc="Source catalog produced in calibrate task with fakes also measured.",
name="src",
storageClass="SourceCatalog",
dimensions=("Instrument", "Visit", "Detector"),
scalar=True
)

Definition at line 98 of file processFakes.py.

◆ outputExposure

lsst.pipe.tasks.processFakes.ProcessCcdWithFakesConfig.outputExposure
static
Initial value:
= pipeBase.OutputDatasetField(
doc="Exposure with fake sources added.",
name="fakes_calexp",
scalar=True,
storageClass="ExposureF",
dimensions=("Instrument", "Visit", "Detector")
)

Definition at line 90 of file processFakes.py.

◆ photoCalib

lsst.pipe.tasks.processFakes.ProcessCcdWithFakesConfig.photoCalib
static
Initial value:
= pipeBase.InputDatasetField(
doc="Calib information for the input exposure.",
name="jointcal_photoCalib",
scalar=True,
storageClass="TablePersistablePhotoCalib",
dimensions=("Tract", "SkyMap", "Instrument", "Visit", "Detector")
)

Definition at line 82 of file processFakes.py.

◆ quantum

lsst.pipe.base.config.PipelineTaskConfig.quantum
staticinherited
Initial value:
= pexConfig.ConfigField(dtype=QuantumConfig,
doc="configuration for PipelineTask quantum")

Definition at line 323 of file config.py.

◆ useUpdatedCalibs

lsst.pipe.tasks.processFakes.ProcessCcdWithFakesConfig.useUpdatedCalibs
static
Initial value:
= pexConfig.Field(
doc="Use updated calibs and wcs from jointcal?",
dtype=bool,
default=False,
)

Definition at line 52 of file processFakes.py.

◆ wcs

lsst.pipe.tasks.processFakes.ProcessCcdWithFakesConfig.wcs
static
Initial value:
= pipeBase.InputDatasetField(
doc="WCS information for the input exposure.",
name="jointcal_wcs",
scalar=True,
storageClass="TablePersistableWcs",
dimensions=("Tract", "SkyMap", "Instrument", "Visit", "Detector")
)

Definition at line 74 of file processFakes.py.


The documentation for this class was generated from the following file: