PlateQualityFlags

class daschlab.lightcurves.PlateQualityFlags(value)[source]

Bases: IntFlag

DASCH photometry data processing warning flags based on plate-level diagnostics.

The plate_quality_flag value is an integer where each bit indicates something about the quality of the plate associated with this photometric point. In most but not all cases, the “good” flag setting is zero.

Flag documentation is intentionally superficial. Flag semantics are (FIXME: will be) documented more thoroughly in the DASCH data description pages.

Attributes Summary

COLORED_FILTER

Bit 3: Color-filter plate

COLORTERM_OUT_OF_BOUNDS

Bit 4: Image fails colorterm limits

GRATING

Bit 2: Grating plate

MAG_DEP_CAL_UNAVAILABLE

Bit 8: Magnitude-dependent calibration unavailable

MULTIPLE_EXPOSURE

Bit 1: Multiple-exposure plate

NARROW_TELESCOPE

Bit 10: Narrow-field-telescope plate (this is good!)

PATROL_TELESCOPE

Bit 9: Patrol-telescope plate

PICKERING_WEDGE

Bit 5: Pickering Wedge plate

SATURATED

Bit 7: Saturated images

SHOW_LIMITING

Bit 11: (internal only? plotter shows limiting magnitudes)

SHOW_UNDETECTED

Bit 12: (internal only? plotter shows nondetections)

SPECTRUM

Bit 6: Spectrum plate

TRAILED

Bit 13: Image is trailed -- ellipticity > 0.6

Attributes Documentation

COLORED_FILTER = 4

Bit 3: Color-filter plate

COLORTERM_OUT_OF_BOUNDS = 8

Bit 4: Image fails colorterm limits

GRATING = 2

Bit 2: Grating plate

MAG_DEP_CAL_UNAVAILABLE = 128

Bit 8: Magnitude-dependent calibration unavailable

MULTIPLE_EXPOSURE = 1

Bit 1: Multiple-exposure plate

NARROW_TELESCOPE = 512

Bit 10: Narrow-field-telescope plate (this is good!)

PATROL_TELESCOPE = 256

Bit 9: Patrol-telescope plate

PICKERING_WEDGE = 16

Bit 5: Pickering Wedge plate

SATURATED = 64

Bit 7: Saturated images

SHOW_LIMITING = 1024

Bit 11: (internal only? plotter shows limiting magnitudes)

SHOW_UNDETECTED = 2048

Bit 12: (internal only? plotter shows nondetections)

SPECTRUM = 32

Bit 6: Spectrum plate

TRAILED = 4096

Bit 13: Image is trailed – ellipticity > 0.6