LSST Applications g00274db5b6+edbf708997,g00d0e8bbd7+edbf708997,g199a45376c+5137f08352,g1fd858c14a+1d4b6db739,g262e1987ae+f4d9505c4f,g29ae962dfc+7156fb1a53,g2cef7863aa+73c82f25e4,g35bb328faa+edbf708997,g3e17d7035e+5b3adc59f5,g3fd5ace14f+852fa6fbcb,g47891489e3+6dc8069a4c,g53246c7159+edbf708997,g64539dfbff+9f17e571f4,g67b6fd64d1+6dc8069a4c,g74acd417e5+ae494d68d9,g786e29fd12+af89c03590,g7ae74a0b1c+a25e60b391,g7aefaa3e3d+536efcc10a,g7cc15d900a+d121454f8d,g87389fa792+a4172ec7da,g89139ef638+6dc8069a4c,g8d7436a09f+28c28d8d6d,g8ea07a8fe4+db21c37724,g92c671f44c+9f17e571f4,g98df359435+b2e6376b13,g99af87f6a8+b0f4ad7b8d,gac66b60396+966efe6077,gb88ae4c679+7dec8f19df,gbaa8f7a6c5+38b34f4976,gbf99507273+edbf708997,gc24b5d6ed1+9f17e571f4,gca7fc764a6+6dc8069a4c,gcc769fe2a4+97d0256649,gd7ef33dd92+6dc8069a4c,gdab6d2f7ff+ae494d68d9,gdbb4c4dda9+9f17e571f4,ge410e46f29+6dc8069a4c,geaed405ab2+e194be0d2b,w.2025.47
LSST Data Management Base Package
Loading...
Searching...
No Matches
lsst.pipe.tasks.skyCorrection.SkyCorrectionConfig Class Reference
Inheritance diagram for lsst.pipe.tasks.skyCorrection.SkyCorrectionConfig:
lsst.pipe.tasks.skyCorrection.SkyCorrectionConnections

Public Member Functions

 setDefaults (self)
 
 validate (self)
 

Static Public Attributes

 doApplyFlatBackgroundRatio
 
 maskObjects
 
 doMaskObjects
 
 bgModel1
 
 undoBgModel1
 
 sky
 
 doSky
 
 bgModel2
 
 doBgModel2
 
 binning
 
 calExps
 
 calBkgs
 
 backgroundToPhotometricRatioHandles
 
 skyFrames
 
 camera
 
 skyCorr
 
 calExpMosaic
 
 calBkgMosaic
 

Detailed Description

Definition at line 145 of file skyCorrection.py.

Member Function Documentation

◆ setDefaults()

lsst.pipe.tasks.skyCorrection.SkyCorrectionConfig.setDefaults ( self)

Definition at line 193 of file skyCorrection.py.

193 def setDefaults(self):
194 Config.setDefaults(self)
195 self.bgModel2.doSmooth = True
196 self.bgModel2.minFrac = 0.3
197 self.bgModel2.xSize = 256
198 self.bgModel2.ySize = 256
199 self.bgModel2.smoothScale = 1.0
200

◆ validate()

lsst.pipe.tasks.skyCorrection.SkyCorrectionConfig.validate ( self)

Definition at line 201 of file skyCorrection.py.

201 def validate(self):
202 super().validate()
203 if self.undoBgModel1 and not self.doSky and not self.doBgModel2:
204 raise ValueError("If undoBgModel1 is True, task requires at least one of doSky or doBgModel2.")
205
206

Member Data Documentation

◆ backgroundToPhotometricRatioHandles

lsst.pipe.tasks.skyCorrection.SkyCorrectionConnections.backgroundToPhotometricRatioHandles
staticinherited
Initial value:
= Input(
doc="Ratio of a background-flattened image to a photometric-flattened image. "
"Only used if doApplyFlatBackgroundRatio is True.",
multiple=True,
name="background_to_photometric_ratio",
storageClass="Image",
dimensions=["instrument", "visit", "detector"],
deferLoad=True,
)

Definition at line 91 of file skyCorrection.py.

◆ bgModel1

lsst.pipe.tasks.skyCorrection.SkyCorrectionConfig.bgModel1
static
Initial value:
= ConfigField(
dtype=FocalPlaneBackgroundConfig,
doc="Initial background model, prior to sky frame subtraction",
)

Definition at line 160 of file skyCorrection.py.

◆ bgModel2

lsst.pipe.tasks.skyCorrection.SkyCorrectionConfig.bgModel2
static
Initial value:
= ConfigField(
dtype=FocalPlaneBackgroundConfig,
doc="Final (cleanup) background model, after sky frame subtraction",
)

Definition at line 178 of file skyCorrection.py.

◆ binning

lsst.pipe.tasks.skyCorrection.SkyCorrectionConfig.binning
static
Initial value:
= Field(
dtype=int,
default=8,
doc="Binning factor for constructing full focal plane '*_camera' output datasets",
)

Definition at line 187 of file skyCorrection.py.

◆ calBkgMosaic

lsst.pipe.tasks.skyCorrection.SkyCorrectionConnections.calBkgMosaic
staticinherited
Initial value:
= Output(
doc="Full focal plane mosaicked image of the sky corrected calibrated exposure backgrounds.",
name="calexpBackground_skyCorr_visit_mosaic",
storageClass="ImageF",
dimensions=["instrument", "visit"],
)

Definition at line 129 of file skyCorrection.py.

◆ calBkgs

lsst.pipe.tasks.skyCorrection.SkyCorrectionConnections.calBkgs
staticinherited
Initial value:
= Input(
doc="Subtracted backgrounds for input calibrated exposures.",
name="calexpBackground",
multiple=True,
storageClass="Background",
dimensions=["instrument", "visit", "detector"],
)

Definition at line 84 of file skyCorrection.py.

◆ calExpMosaic

lsst.pipe.tasks.skyCorrection.SkyCorrectionConnections.calExpMosaic
staticinherited
Initial value:
= Output(
doc="Full focal plane mosaicked image of the sky corrected calibrated exposures.",
name="calexp_skyCorr_visit_mosaic",
storageClass="ImageF",
dimensions=["instrument", "visit"],
)

Definition at line 123 of file skyCorrection.py.

◆ calExps

lsst.pipe.tasks.skyCorrection.SkyCorrectionConnections.calExps
staticinherited
Initial value:
= Input(
doc="Background-subtracted calibrated exposures.",
name="calexp",
multiple=True,
deferLoad=True,
storageClass="ExposureF",
dimensions=["instrument", "visit", "detector"],
)

Definition at line 76 of file skyCorrection.py.

◆ camera

lsst.pipe.tasks.skyCorrection.SkyCorrectionConnections.camera
staticinherited
Initial value:
= PrerequisiteInput(
doc="Input camera.",
name="camera",
storageClass="Camera",
dimensions=["instrument"],
isCalibration=True,
)

Definition at line 109 of file skyCorrection.py.

◆ doApplyFlatBackgroundRatio

lsst.pipe.tasks.skyCorrection.SkyCorrectionConfig.doApplyFlatBackgroundRatio
static
Initial value:
= Field(
dtype=bool,
default=False,
doc="This should be True if the input image was processed with an illumination correction.",
)

Definition at line 146 of file skyCorrection.py.

◆ doBgModel2

lsst.pipe.tasks.skyCorrection.SkyCorrectionConfig.doBgModel2
static
Initial value:
= Field(
dtype=bool,
default=True,
doc="Do final (cleanup) background model subtraction, after sky frame subtraction?",
)

Definition at line 182 of file skyCorrection.py.

◆ doMaskObjects

lsst.pipe.tasks.skyCorrection.SkyCorrectionConfig.doMaskObjects
static
Initial value:
= Field(
dtype=bool,
default=True,
doc="Iteratively mask objects to find good sky?",
)

Definition at line 155 of file skyCorrection.py.

◆ doSky

lsst.pipe.tasks.skyCorrection.SkyCorrectionConfig.doSky
static
Initial value:
= Field(
dtype=bool,
default=True,
doc="Do sky frame subtraction?",
)

Definition at line 173 of file skyCorrection.py.

◆ maskObjects

lsst.pipe.tasks.skyCorrection.SkyCorrectionConfig.maskObjects
static
Initial value:
= ConfigurableField(
target=MaskObjectsTask,
doc="Mask Objects",
)

Definition at line 151 of file skyCorrection.py.

◆ sky

lsst.pipe.tasks.skyCorrection.SkyCorrectionConfig.sky
static
Initial value:
= ConfigurableField(
target=SkyMeasurementTask,
doc="Sky measurement",
)

Definition at line 169 of file skyCorrection.py.

◆ skyCorr

lsst.pipe.tasks.skyCorrection.SkyCorrectionConnections.skyCorr
staticinherited
Initial value:
= Output(
doc="Sky correction data, to be subtracted from the calibrated exposures.",
name="skyCorr",
multiple=True,
storageClass="Background",
dimensions=["instrument", "visit", "detector"],
)

Definition at line 116 of file skyCorrection.py.

◆ skyFrames

lsst.pipe.tasks.skyCorrection.SkyCorrectionConnections.skyFrames
staticinherited
Initial value:
= PrerequisiteInput(
doc="Calibration sky frames.",
name="sky",
multiple=True,
deferLoad=True,
storageClass="ExposureF",
dimensions=["instrument", "physical_filter", "detector"],
isCalibration=True,
)

Definition at line 100 of file skyCorrection.py.

◆ undoBgModel1

lsst.pipe.tasks.skyCorrection.SkyCorrectionConfig.undoBgModel1
static
Initial value:
= Field(
dtype=bool,
default=False,
doc="If True, adds back initial background model after sky and removes bgModel1 from the list",
)

Definition at line 164 of file skyCorrection.py.


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