LSST Applications 27.0.0,g0265f82a02+469cd937ee,g02d81e74bb+21ad69e7e1,g1470d8bcf6+cbe83ee85a,g2079a07aa2+e67c6346a6,g212a7c68fe+04a9158687,g2305ad1205+94392ce272,g295015adf3+81dd352a9d,g2bbee38e9b+469cd937ee,g337abbeb29+469cd937ee,g3939d97d7f+72a9f7b576,g487adcacf7+71499e7cba,g50ff169b8f+5929b3527e,g52b1c1532d+a6fc98d2e7,g591dd9f2cf+df404f777f,g5a732f18d5+be83d3ecdb,g64a986408d+21ad69e7e1,g858d7b2824+21ad69e7e1,g8a8a8dda67+a6fc98d2e7,g99cad8db69+f62e5b0af5,g9ddcbc5298+d4bad12328,ga1e77700b3+9c366c4306,ga8c6da7877+71e4819109,gb0e22166c9+25ba2f69a1,gb6a65358fc+469cd937ee,gbb8dafda3b+69d3c0e320,gc07e1c2157+a98bf949bb,gc120e1dc64+615ec43309,gc28159a63d+469cd937ee,gcf0d15dbbd+72a9f7b576,gdaeeff99f8+a38ce5ea23,ge6526c86ff+3a7c1ac5f1,ge79ae78c31+469cd937ee,gee10cc3b42+a6fc98d2e7,gf1cff7945b+21ad69e7e1,gfbcc870c63+9a11dc8c8f
LSST Data Management Base Package
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | List of all members
lsst.pipe.tasks.propagateSourceFlags.PropagateSourceFlagsConfig Class Reference
Inheritance diagram for lsst.pipe.tasks.propagateSourceFlags.PropagateSourceFlagsConfig:

Public Member Functions

 validate (self)
 

Static Public Attributes

 source_flags
 
 finalized_source_flags
 
 x_column
 
 y_column
 
 finalized_x_column
 
 finalized_y_column
 
 match_radius
 

Detailed Description

Configuration for propagating source flags to coadd objects.

Definition at line 32 of file propagateSourceFlags.py.

Member Function Documentation

◆ validate()

lsst.pipe.tasks.propagateSourceFlags.PropagateSourceFlagsConfig.validate ( self)

Definition at line 85 of file propagateSourceFlags.py.

85 def validate(self):
86 super().validate()
87
88 if set(self.source_flags).intersection(set(self.finalized_source_flags)):
89 source_flags = self.source_flags.keys()
90 finalized_source_flags = self.finalized_source_flags.keys()
91 raise ValueError(f"The set of source_flags {source_flags} must not overlap "
92 f"with the finalized_source_flags {finalized_source_flags}")
93
94
daf::base::PropertySet * set
Definition fits.cc:931

Member Data Documentation

◆ finalized_source_flags

lsst.pipe.tasks.propagateSourceFlags.PropagateSourceFlagsConfig.finalized_source_flags
static
Initial value:
= pexConfig.DictField(
keytype=str,
itemtype=float,
default={
"calib_psf_candidate": 0.2,
"calib_psf_used": 0.2,
"calib_psf_reserved": 0.2
},
doc=("Finalized source flags to propagate, with the threshold of relative "
"occurrence (valid range: [0-1]). Coadd object will have flag set if "
"fraction of input visits in which it is flagged is greater than the "
"threshold."),
)

Definition at line 46 of file propagateSourceFlags.py.

◆ finalized_x_column

lsst.pipe.tasks.propagateSourceFlags.PropagateSourceFlagsConfig.finalized_x_column
static
Initial value:
= pexConfig.Field(
doc="Name of column with source x position (finalized_src_table).",
dtype=str,
default="slot_Centroid_x",
)

Definition at line 69 of file propagateSourceFlags.py.

◆ finalized_y_column

lsst.pipe.tasks.propagateSourceFlags.PropagateSourceFlagsConfig.finalized_y_column
static
Initial value:
= pexConfig.Field(
doc="Name of column with source y position (finalized_src_table).",
dtype=str,
default="slot_Centroid_y",
)

Definition at line 74 of file propagateSourceFlags.py.

◆ match_radius

lsst.pipe.tasks.propagateSourceFlags.PropagateSourceFlagsConfig.match_radius
static
Initial value:
= pexConfig.Field(
dtype=float,
default=0.2,
doc="Source matching radius (arcsec)"
)

Definition at line 79 of file propagateSourceFlags.py.

◆ source_flags

lsst.pipe.tasks.propagateSourceFlags.PropagateSourceFlagsConfig.source_flags
static
Initial value:
= pexConfig.DictField(
keytype=str,
itemtype=float,
default={
"calib_astrometry_used": 0.2,
"calib_photometry_used": 0.2,
"calib_photometry_reserved": 0.2
},
doc=("Source flags to propagate, with the threshold of relative occurrence "
"(valid range: [0-1]). Coadd object will have flag set if fraction "
"of input visits in which it is flagged is greater than the threshold."),
)

Definition at line 34 of file propagateSourceFlags.py.

◆ x_column

lsst.pipe.tasks.propagateSourceFlags.PropagateSourceFlagsConfig.x_column
static
Initial value:
= pexConfig.Field(
doc="Name of column with source x position (sourceTable_visit).",
dtype=str,
default="x",
)

Definition at line 59 of file propagateSourceFlags.py.

◆ y_column

lsst.pipe.tasks.propagateSourceFlags.PropagateSourceFlagsConfig.y_column
static
Initial value:
= pexConfig.Field(
doc="Name of column with source y position (sourceTable_visit).",
dtype=str,
default="y",
)

Definition at line 64 of file propagateSourceFlags.py.


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