- Bitmask Primer
- Bitmasks in CAS
- Bitmasks in SEGUE
- 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
- BOSS_TARGET1
- ANCILLARY_TARGET1
- ANCILLARY_TARGET2
- BOSSTILE_STATUS
- FLUXMATCH_STATUS
- SPECTRUM PIXMASK
- ZWARNING
- APOGEE_TARGET1
- APOGEE_TARGET2
FLAGS1: Object flags from photo reductions (first 32 of CAS flags bitmask)
In the flat-files, the photo flags are split into two 32-bit
variables (objc_flags1
and objc_flags2
). In
the CAS, these are combined into a single variable
flags
. The flags listed here are associated with
objc_flags1
, and the first 32-bits of
flags
.
Note there are also flags on a per-band basis. The names of these
flags in the CAS are appended with the band, e.g., flags_r. In the
flat files an array of length 5 is used flags[5]
ordered
u,g,r,i,z
.
Bit name | Binary digit | Description |
---|---|---|
CANONICAL_CENTER | 0 | The quantities (psf counts, model fits and likelihoods) that are usually determined at an object's center as determined band-by-band were in fact determined at the canonical center (suitably transformed). This is due to the object being to close to the edge to extract a profile at the local center, and OBJECT1_EDGE is also set. |
BRIGHT | 1 | Indicates that the object was detected as a bright object. Since these are typically remeasured as faint objects, most users can ignore BRIGHT objects. |
EDGE | 2 | Object is too close to edge of frame in this band. |
BLENDED | 3 | Object was determined to be a blend. The flag is set if: more than one peak is detected within an object in a single band together; distinct peaks are found when merging different colors of one object together; or distinct peaks result when merging different objects together. |
CHILD | 4 | Object is a child, created by the deblender. |
PEAKCENTER | 5 | Given center is position of peak pixel, as attempts to determine a better centroid failed. |
NODEBLEND | 6 | Although this object was marked as a blend, no deblending was attempted. |
NOPROFILE | 7 | Frames couldn't extract a radial profile. |
NOPETRO | 8 | No Petrosian radius or other Petrosian quantities could be measured. |
MANYPETRO | 9 | Object has more than one possible Petrosian radius. |
NOPETRO_BIG | 10 | The Petrosian ratio has not fallen to the value at which the Petrosian radius is defined at the outermost point of the extracted radial profile. NOPETRO is set, and the Petrosian radius is set to the outermost point in the profile. |
DEBLEND_TOO_MANY_PEAKS | 11 | The object had the OBJECT1_DEBLEND flag set, but it contained too many candidate children to be fully deblended. This flag is only set in the parent, i.e. the object with too many peaks. |
CR | 12 | Object contains at least one pixel which was contaminated by a cosmic ray. The OBJECT1_INTERP flag is also set. This flag does not mean that this object is a cosmic ray; rather it means that a cosmic ray has been removed. |
MANYR50 | 13 | More than one radius was found to contain 50% of the Petrosian flux. (For this to happen part of the radial profile must be negative). |
MANYR90 | 14 | More than one radius was found to contain 90% of the Petrosian flux. (For this to happen part of the radial profile must be negative). |
BAD_RADIAL | 15 | Measured profile includes points with a S/N <= 0. In practice this flag is essentially meaningless. |
INCOMPLETE_PROFILE | 16 | A circle, centered on the object, of radius the canonical Petrosian radius extends beyond the edge of the frame. The radial profile is still measured from those parts of the object that do lie on the frame. |
INTERP | 17 | The object contains interpolated pixels (e.g. cosmic rays or bad columns). |
SATUR | 18 | The object contains saturated pixels; INTERP is also set. |
NOTCHECKED | 19 | Object includes pixels that were not checked for peaks, for example the unsmoothed edges of frames, and the cores of subtracted or saturated stars. |
SUBTRACTED | 20 | Object (presumably a star) had wings subtracted. |
NOSTOKES | 21 | Object has no measured Stokes parameters. |
BADSKY | 22 | The estimated sky level is so bad that the central value of the radial profile is crazily negative; this is usually the result of the subtraction of the wings of bright stars failing. |
PETROFAINT | 23 | At least one candidate Petrosian radius occurred at an unacceptably low surface brightness. |
TOO_LARGE | 24 | The object is (as it says) too large. Either the object is still detectable at the outermost point of the extracted radial profile (a radius of approximately 260 arcsec), or when attempting to deblend an object, at least one child is larger than half a frame (in either row or column). |
DEBLENDED_AS_PSF | 25 | When deblending an object, in this band this child was treated as a PSF. |
DEBLEND_PRUNED | 26 | When solving for the weights to be assigned to each child the deblender encountered a nearly singular matrix, and therefore deleted at least one of them. |
ELLIPFAINT | 27 | No isophotal fits were performed. |
BINNED1 | 28 | The object was detected in an unbinned image. |
BINNED2 | 29 | The object was detected in a 2x2 binned image after all unbinned detections have been replaced by the background level. |
BINNED4 | 30 | The object was detected in a 4x4 binned image. The objects detected in the 2x2 binned image are not removed before doing this. |
MOVED | 31 | The object appears to have moved during the exposure. Such objects are candidates to be deblended as moving objects. |