LSST Applications g0fba68d861+2e894914a0,g1ec0fe41b4+e220e2fb2f,g1f759649c2+d3ce33c3e0,g1fd858c14a+2b9bf32e51,g35bb328faa+fcb1d3bbc8,g4d2262a081+1dc91b7776,g53246c7159+fcb1d3bbc8,g56a49b3a55+1053ce1741,g60b5630c4e+d3ce33c3e0,g67b6fd64d1+fad15079a7,g78460c75b0+2f9a1b4bcd,g786e29fd12+cf7ec2a62a,g8180f54f50+9253e245c2,g8352419a5c+fcb1d3bbc8,g8852436030+f11a5d3b0b,g89139ef638+fad15079a7,g9125e01d80+fcb1d3bbc8,g94187f82dc+d3ce33c3e0,g989de1cb63+fad15079a7,g9ccd5d7f00+44d9ee3d90,g9d31334357+d3ce33c3e0,g9f33ca652e+9a8c17f5f6,gabe3b4be73+1e0a283bba,gabf8522325+94c30d56e9,gb1101e3267+90933e15fb,gb58c049af0+f03b321e39,gb89ab40317+fad15079a7,gc0af124501+26f6120d90,gcf25f946ba+f11a5d3b0b,gd6cbbdb0b4+8d7f1baacb,gd794735e4e+4bba874dfe,gdb1c4ca869+16879ca1a6,gde0f65d7ad+0609b2c34e,ge278dab8ac+4d6e48c014,ge410e46f29+fad15079a7,gf5e32f922b+fcb1d3bbc8,gf618743f1b+dd10d22602,gf67bdafdda+fad15079a7,w.2025.17
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
 
 rawLinker
 
 calExps
 
 calBkgs
 
 backgroundToPhotometricRatioHandles
 
 skyFrames
 
 camera
 
 skyCorr
 
 calExpMosaic
 
 calBkgMosaic
 

Detailed Description

Definition at line 178 of file skyCorrection.py.

Member Function Documentation

◆ setDefaults()

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

Definition at line 226 of file skyCorrection.py.

226 def setDefaults(self):
227 Config.setDefaults(self)
228 self.bgModel2.doSmooth = True
229 self.bgModel2.minFrac = 0.5
230 self.bgModel2.xSize = 256
231 self.bgModel2.ySize = 256
232 self.bgModel2.smoothScale = 1.0
233

◆ validate()

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

Definition at line 234 of file skyCorrection.py.

234 def validate(self):
235 super().validate()
236 if self.undoBgModel1 and not self.doSky and not self.doBgModel2:
237 raise ValueError("If undoBgModel1 is True, task requires at least one of doSky or doBgModel2.")
238
239

Member Data Documentation

◆ backgroundToPhotometricRatioHandles

lsst.pipe.tasks.skyCorrection.SkyCorrectionConnections.backgroundToPhotometricRatioHandles
staticinherited
Initial value:
= cT.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 124 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 193 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 211 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 220 of file skyCorrection.py.

◆ calBkgMosaic

lsst.pipe.tasks.skyCorrection.SkyCorrectionConnections.calBkgMosaic
staticinherited
Initial value:
= cT.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 162 of file skyCorrection.py.

◆ calBkgs

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

Definition at line 117 of file skyCorrection.py.

◆ calExpMosaic

lsst.pipe.tasks.skyCorrection.SkyCorrectionConnections.calExpMosaic
staticinherited
Initial value:
= cT.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 156 of file skyCorrection.py.

◆ calExps

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

Definition at line 110 of file skyCorrection.py.

◆ camera

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

Definition at line 142 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 179 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 215 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 188 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 206 of file skyCorrection.py.

◆ maskObjects

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

Definition at line 184 of file skyCorrection.py.

◆ rawLinker

lsst.pipe.tasks.skyCorrection.SkyCorrectionConnections.rawLinker
staticinherited
Initial value:
= cT.Input(
doc="Raw data to provide exp-visit linkage to connect calExp inputs to camera/sky calibs.",
name="raw",
multiple=True,
deferLoad=True,
storageClass="Exposure",
dimensions=["instrument", "exposure", "detector"],
)

Definition at line 102 of file skyCorrection.py.

◆ sky

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

Definition at line 202 of file skyCorrection.py.

◆ skyCorr

lsst.pipe.tasks.skyCorrection.SkyCorrectionConnections.skyCorr
staticinherited
Initial value:
= cT.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 149 of file skyCorrection.py.

◆ skyFrames

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

Definition at line 133 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 197 of file skyCorrection.py.


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