|
26 | 26 | class pixel(IntEnum):
|
27 | 27 | """Pixel-specific data quality flags"""
|
28 | 28 |
|
29 |
| - GOOD = 0 # No bits set, all is good |
30 |
| - DO_NOT_USE = 2**0 # Bad pixel. Do not use. |
31 |
| - SATURATED = 2**1 # Pixel saturated during exposure |
32 |
| - JUMP_DET = 2**2 # Jump detected during exposure |
33 |
| - DROPOUT = 2**3 # Data lost in transmission |
34 |
| - GW_AFFECTED_DATA = 2**4 # Data affected by the GW read window |
35 |
| - PERSISTENCE = 2**5 # High persistence (was RESERVED_2) |
36 |
| - AD_FLOOR = 2**6 # Below A/D floor (0 DN, was RESERVED_3) |
37 |
| - RESERVED_4 = 2**7 # |
38 |
| - UNRELIABLE_ERROR = 2**8 # Uncertainty exceeds quoted error |
39 |
| - NON_SCIENCE = 2**9 # Pixel not on science portion of detector |
| 29 | + GOOD = 0 # No bits set, all is good |
| 30 | + DO_NOT_USE = 2**0 # Bad pixel. Do not use. |
| 31 | + SATURATED = 2**1 # Pixel saturated during exposure |
| 32 | + JUMP_DET = 2**2 # Jump detected during exposure |
| 33 | + DROPOUT = 2**3 # Data lost in transmission |
| 34 | + GW_AFFECTED_DATA = 2**4 # Data affected by the GW read window |
| 35 | + PERSISTENCE = 2**5 # High persistence (was RESERVED_2) |
| 36 | + AD_FLOOR = 2**6 # Below A/D floor (0 DN, was RESERVED_3) |
| 37 | + OUTLIER = 2**7 # Flagged by outlier detection (was RESERVED_4) |
| 38 | + UNRELIABLE_ERROR = 2**8 # Uncertainty exceeds quoted error |
| 39 | + NON_SCIENCE = 2**9 # Pixel not on science portion of detector |
40 | 40 | DEAD = 2**10 # Dead pixel
|
41 | 41 | HOT = 2**11 # Hot pixel
|
42 | 42 | WARM = 2**12 # Warm pixel
|
|
0 commit comments