BFlags

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

Bases: IntFlag

DASCH photometry data processing flags.

The “BFLAGS” value is an integer where each bit indicates something about the data processing of this photometric point. Unlike the “AFLAGS”, these are not necessarily “good” or “bad”.

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

Attributes Summary

APERTURE_INCOMPLETE

Bit 5: Object aperture data incomplete or corrupt

BLEND

Bit 2: Object was blended with another

COLOR_CORRECTION_APPLIED

Bit 22: Color correction has been applied (this is good)

COLOR_CORRECTION_USED_METROPOLIS

Bit 23: Color correction used the Metropolis algorithm (this is good)

CORRECTED_FOR_BLEND

Bit 9: Magnitude corrected for blend

DEBLEND_OVERFLOW

Bit 7: Memory overflow during deblending

EXTINCTION_CAL_APPLIED

Bit 20: Extinction calibration has been applied (this is good)

EXTRACTION_OVERFLOW

Bit 8: Memory overflow during extraction

GOOD_STAR

Bit 17: Appears to be a good star (this is good)

ISOPHOT_INCOMPLETE

Bit 6: Object isophotal data incomplete or corrupt

LARGE_BIN_DRAD

Bit 10: Object drad is low, but its bin drad is large

LARGE_JD_UNCERT

Bit 30: Plate date is uncertain

LARGE_PROMO_UNCERT

Bit 26: Object has high proper motion uncertainty

LARGE_SPATIAL_BIN_COLORTERM

Bit 28: Spatial bin color-term calibration fails quality check

LATE_CATALOG_MATCH

Bit 25: Object was only matched to catalog at the end of the pipeline

LOCAL_CAL_APPLIED

Bit 19: Local calibration has been applied (this is good)

LOWESS_CAL_APPLIED

Bit 18: Lowess calibration has been applied (this is good)

MAG_DEP_CAL_APPLIED

Bit 12: Magnitude-dependent calibration has been applied (this is good)

NEAR_BOUNDARY

Bit 4: Object is too close to the image boundary

NEIGHBORS

Bit 1: Object has nearby neighbors

POSITION_ADJUSTED

Bit 29: RA/Dec have been adjusted by bin medians

PROMO_APPLIED

Bit 31: Catalog position has been corrected for proper motion (this is good)

PSF_SATURATED

Bit 11: Object PSF considered saturated

SATURATED

Bit 3: At least one image pixel was saturated

TOO_BRIGHT

Bit 21: Object is too bright to calibrate

Attributes Documentation

APERTURE_INCOMPLETE = 16

Bit 5: Object aperture data incomplete or corrupt

BLEND = 2

Bit 2: Object was blended with another

COLOR_CORRECTION_APPLIED = 2097152

Bit 22: Color correction has been applied (this is good)

COLOR_CORRECTION_USED_METROPOLIS = 4194304

Bit 23: Color correction used the Metropolis algorithm (this is good)

CORRECTED_FOR_BLEND = 256

Bit 9: Magnitude corrected for blend

DEBLEND_OVERFLOW = 64

Bit 7: Memory overflow during deblending

EXTINCTION_CAL_APPLIED = 524288

Bit 20: Extinction calibration has been applied (this is good)

EXTRACTION_OVERFLOW = 128

Bit 8: Memory overflow during extraction

GOOD_STAR = 65536

Bit 17: Appears to be a good star (this is good)

ISOPHOT_INCOMPLETE = 32

Bit 6: Object isophotal data incomplete or corrupt

LARGE_BIN_DRAD = 512

Bit 10: Object drad is low, but its bin drad is large

LARGE_JD_UNCERT = 536870912

Bit 30: Plate date is uncertain

LARGE_PROMO_UNCERT = 33554432

Bit 26: Object has high proper motion uncertainty

LARGE_SPATIAL_BIN_COLORTERM = 134217728

Bit 28: Spatial bin color-term calibration fails quality check

LATE_CATALOG_MATCH = 16777216

Bit 25: Object was only matched to catalog at the end of the pipeline

LOCAL_CAL_APPLIED = 262144

Bit 19: Local calibration has been applied (this is good)

LOWESS_CAL_APPLIED = 131072

Bit 18: Lowess calibration has been applied (this is good)

MAG_DEP_CAL_APPLIED = 2048

Bit 12: Magnitude-dependent calibration has been applied (this is good)

NEAR_BOUNDARY = 8

Bit 4: Object is too close to the image boundary

NEIGHBORS = 1

Bit 1: Object has nearby neighbors

POSITION_ADJUSTED = 268435456

Bit 29: RA/Dec have been adjusted by bin medians

PROMO_APPLIED = 1073741824

Bit 31: Catalog position has been corrected for proper motion (this is good)

PSF_SATURATED = 1024

Bit 11: Object PSF considered saturated

SATURATED = 4

Bit 3: At least one image pixel was saturated

TOO_BRIGHT = 1048576

Bit 21: Object is too bright to calibrate