LSST Applications g0d97872fb5+4fd969bb9d,g1653933729+34a971ddd9,g28da252d5a+072f89fe25,g2bbee38e9b+a99b0ab4cd,g2bc492864f+a99b0ab4cd,g2ca4be77d2+c0e3b27cd8,g2cdde0e794+704103fe75,g3156d2b45e+6e87dc994a,g347aa1857d+a99b0ab4cd,g35bb328faa+34a971ddd9,g3a166c0a6a+a99b0ab4cd,g3e281a1b8c+8ec26ec694,g4005a62e65+ba0306790b,g414038480c+9ed5ed841a,g569e0e2b34+cb4faa46ad,g5a97de2502+520531a62c,g717e5f8c0f+29153700a5,g7ede599f99+367733290c,g80478fca09+17051a22cc,g82479be7b0+f2f1ea0a87,g858d7b2824+29153700a5,g8b782ad322+29153700a5,g8cd86fa7b1+05420e7f7d,g9125e01d80+34a971ddd9,ga5288a1d22+e7f674aaf3,gae0086650b+34a971ddd9,gae74b0b5c6+45ef5cdc51,gb58c049af0+ace264a4f2,gc28159a63d+a99b0ab4cd,gcf0d15dbbd+8051a81198,gda6a2b7d83+8051a81198,gdaeeff99f8+7774323b41,gdf4d240d4a+34a971ddd9,ge2409df99d+cb167bac99,ge33fd446bb+29153700a5,ge79ae78c31+a99b0ab4cd,gf0baf85859+890af219f9,gf5289d68f6+9faa5c5784,w.2024.36
LSST Data Management Base Package
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | List of all members
lsst.meas.algorithms.normalizedCalibrationFlux.NormalizedCalibrationFluxConfig Class Reference
Inheritance diagram for lsst.meas.algorithms.normalizedCalibrationFlux.NormalizedCalibrationFluxConfig:
lsst.pex.config.config.Config lsst.pex.config.config.ConfigMeta

Public Member Functions

 setDefaults (self)
 

Static Public Attributes

 measure_ap_corr
 
 raw_calibflux_name
 
 normalized_calibflux_name
 
 do_set_calib_slot
 
 do_measure_ap_corr
 
 fallback_source_selector
 

Detailed Description

Configuration parameters for NormalizedCalibrationFluxTask.

Definition at line 34 of file normalizedCalibrationFlux.py.

Member Function Documentation

◆ setDefaults()

lsst.meas.algorithms.normalizedCalibrationFlux.NormalizedCalibrationFluxConfig.setDefaults ( self)
Subclass hook for computing defaults.

Notes
-----
Derived `~lsst.pex.config.Config` classes that must compute defaults
rather than using the `~lsst.pex.config.Field` instances's defaults
should do so here. To correctly use inherited defaults,
implementations of ``setDefaults`` must call their base class's
``setDefaults``.

Reimplemented from lsst.pex.config.config.Config.

Definition at line 67 of file normalizedCalibrationFlux.py.

67 def setDefaults(self):
68 super().setDefaults()
69
70 self.measure_ap_corr.refFluxName = "base_CircularApertureFlux_12_0"
71
72 # This task is meant to be used early when we focus on PSF stars.
73 selector = self.measure_ap_corr.sourceSelector["science"]
74 selector.doUnresolved = False
75 selector.flags.good = ["calib_psf_used"]
76 selector.flags.bad = []
77 selector.signalToNoise.fluxField = self.raw_calibflux_name + "_instFlux"
78 selector.signalToNoise.errField = self.raw_calibflux_name + "_instFluxErr"
79 # Do median for this.
80 self.measure_ap_corr.fitConfig.orderX = 0
81 self.measure_ap_corr.fitConfig.orderY = 0
82
83 fallback_selector = self.fallback_source_selector["science"]
84 fallback_selector.doFluxLimit = False
85 fallback_selector.doFlags = True
86 fallback_selector.doUnresolved = False
87 fallback_selector.doSignalToNoise = False
88 fallback_selector.doIsolated = False
89 fallback_selector.flags.good = ["calib_psf_used"]
90 fallback_selector.flags.bad = []
91
92

Member Data Documentation

◆ do_measure_ap_corr

lsst.meas.algorithms.normalizedCalibrationFlux.NormalizedCalibrationFluxConfig.do_measure_ap_corr
static
Initial value:
doc="Measure the aperture correction? (Otherwise, just apply.)",
dtype=bool,
default=True,
)

Definition at line 56 of file normalizedCalibrationFlux.py.

◆ do_set_calib_slot

lsst.meas.algorithms.normalizedCalibrationFlux.NormalizedCalibrationFluxConfig.do_set_calib_slot
static
Initial value:
doc="Set the calib flux slot to the normalized flux?",
dtype=bool,
default=True,
)

Definition at line 51 of file normalizedCalibrationFlux.py.

◆ fallback_source_selector

lsst.meas.algorithms.normalizedCalibrationFlux.NormalizedCalibrationFluxConfig.fallback_source_selector
static
Initial value:
= sourceSelectorRegistry.makeField(
doc="Selector that is used as a fallback if the full aperture correction "
"fails.",
default="science",
)

Definition at line 61 of file normalizedCalibrationFlux.py.

◆ measure_ap_corr

lsst.meas.algorithms.normalizedCalibrationFlux.NormalizedCalibrationFluxConfig.measure_ap_corr
static
Initial value:
target=MeasureApCorrTask,
doc="Subtask to measure aperture corrections.",
)

Definition at line 37 of file normalizedCalibrationFlux.py.

◆ normalized_calibflux_name

lsst.meas.algorithms.normalizedCalibrationFlux.NormalizedCalibrationFluxConfig.normalized_calibflux_name
static
Initial value:
doc="Name of normalized calibration flux.",
dtype=str,
default="base_NormalizedCompensatedTophatFlux",
)

Definition at line 46 of file normalizedCalibrationFlux.py.

◆ raw_calibflux_name

lsst.meas.algorithms.normalizedCalibrationFlux.NormalizedCalibrationFluxConfig.raw_calibflux_name
static
Initial value:
doc="Name of raw calibration flux to normalize.",
dtype=str,
default="base_CompensatedTophatFlux_12",
)

Definition at line 41 of file normalizedCalibrationFlux.py.


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