- Bitmask Primer
- Bitmasks in CAS
- Bitmasks in IDL
- PHOTO FLAGS1
- PHOTO FLAGS2
- RESOLVE_STATUS
- CALIB_STATUS
- IMAGE_STATUS
- LEGACY_TARGET1
- LEGACY_TARGET2
- SEGUE1_TARGET1
- SEGUE1_TARGET2
- SEGUE2_TARGET1
- SEGUE2_TARGET2
- SPECIAL_TARGET1
- SPECIAL_TARGET2
- BOSS_TARGET1
- ANCILLARY_TARGET1
- ANCILLARY_TARGET2
- BOSSTILE_STATUS
- FLUXMATCH_STATUS
- SPECTRUM PIXMASK
- ZWARNING
- APOGEE_TARGET1
- APOGEE_TARGET2
- APOGEE_PIXMASK
- APOGEE_STARFLAG
- APOGEE_ASPCAPFLAG
- APOGEE_PARAMFLAG
RESOLVE_STATUS
Resolve status for an SDSS catalog entry. Only one of bits RUN_PRIMARY, RUN_RAMP, RUN_OVERLAPONLY, RUN_IGNORE, and RUN_DUPLICATE can be set. RUN_EDGE can be set for any object. To get a unique set of objects across the whole survey, search for objects with SURVEY_PRIMARY set. To get a unique set of objects within a run, search for objects with RUN_PRIMARY set.
| Bit name | Binary digit | Description | 
|---|---|---|
| RUN_PRIMARY | 0 | primary within the objects own run (but not necessarily for the survey as a whole) | 
| RUN_RAMP | 1 | in what would be the overlap area of a field, but with no neighboring field | 
| RUN_OVERLAPONLY | 2 | only appears in the overlap between two fields | 
| RUN_IGNORE | 3 | bright or parent object that should be ignored | 
| RUN_EDGE | 4 | near lowest or highest column | 
| RUN_DUPLICATE | 5 | duplicate measurement of same pixels in two different fields | 
| SURVEY_PRIMARY | 8 | Primary observation within the full survey, where it appears in the primary observation of this part of the sky | 
| SURVEY_BEST | 9 | Best observation within the full survey, but it does not appear in the primary observation of this part of the sky | 
| SURVEY_SECONDARY | 10 | Repeat (independent) observation of an object that has a different primary or best observation | 
| SURVEY_BADFIELD | 11 | In field with score=0 | 
| SURVEY_EDGE | 12 | Not kept as secondary because it is RUN_RAMP or RUN_EDGE object | 
![[EXT]](images/offsite.png)