IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 23498 for trunk/psModules


Ignore:
Timestamp:
Mar 24, 2009, 11:05:42 AM (17 years ago)
Author:
Paul Price
Message:

Updating mask bits. Renamed BAD --> LOW to more simply conveys the intent; removed the RANGE mask keyword since it was originally intended as an alias for SAT|LOW (for non-linear pixels, SAT is suitable); renamed BAD.WARP and POOR.WARP --> CONV.BAD and CONV.POOR, since they are used for convolution/interpolation, not just warping; added SUSPECT, intended for the pixels that have been modified by burntool --- we would like to use them if possible, but will quickly throw them away if they don't behave as they ought (similar to CONV.POOR).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/config/pmConfigMask.c

    r23476 r23498  
    1010
    1111static pmConfigMaskInfo masks[] = {
    12     { "DETECTOR",  NULL,       0x00, true  },   // Something is wrong with the detector
    13     { "FLAT",      "DETECTOR", 0x01, true  },   // Pixel doesn't flat-field properly
    14     { "DARK",      "DETECTOR", 0x01, true  },   // Pixel doesn't dark-subtract properly
    15     { "BLANK",     "DETECTOR", 0x01, true  },   // Pixel doesn't contain valid data
    16     { "CTE",       "DETECTOR", 0x01, true  },   // Pixel has poor CTE
    17     { "RANGE",     NULL,       0x00, true  },   // Pixel is out-of-range of linearity
    18     { "SAT",       "RANGE",    0x01, true  },   // Pixel is saturated
    19     { "BAD",       "RANGE",    0x01, true  },   // Pixel is low
    20     { "CR",        NULL,       0x01, true  },   // Pixel contains a cosmic ray
    21     { "SPIKE",     NULL,       0x01, true  },   // Pixel contains a diffraction spike
    22     { "GHOST",     NULL,       0x01, true  },   // Pixel contains an optical ghost
    23     { "STREAK",    NULL,       0x01, true  },   // Pixel contains streak data
    24     { "STARCORE",  NULL,       0x01, true  },   // Pixel contains a bright star core
    25     { "BAD.WARP",  NULL,       0x01, true  },   // Pixel is bad after convolution with a bad pixel
    26     { "POOR.WARP", NULL,       0x02, false },   // Pixel is poor after convolution with a bad pixel
    27     // "LOW"  Pixel is low
    28     // "CONV" Pixel is bad after convolution with a bad pixel
     12    // Features of the detector
     13    { "DETECTOR",  NULL,       0x01, true  }, // Something is wrong with the detector
     14    { "FLAT",      "DETECTOR", 0x01, true  }, // Pixel doesn't flat-field properly
     15    { "DARK",      "DETECTOR", 0x01, true  }, // Pixel doesn't dark-subtract properly
     16    { "BLANK",     "DETECTOR", 0x01, true  }, // Pixel doesn't contain valid data
     17    { "CTE",       "DETECTOR", 0x01, true  }, // Pixel has poor CTE
     18    // Invalid signal ranges
     19    { "SAT",       NULL,       0x02, true  }, // Pixel is saturated or non-linear
     20    { "LOW",       "SAT",      0x02, true  }, // Pixel is low
     21    { "SUSPECT",   NULL,       0x04, false }, // Pixel is suspected of being bad
     22    // Non-astronomical structures
     23    { "CR",        NULL,       0x08, true  }, // Pixel contains a cosmic ray
     24    { "SPIKE",     NULL,       0x08, true  }, // Pixel contains a diffraction spike
     25    { "GHOST",     NULL,       0x08, true  }, // Pixel contains an optical ghost
     26    { "STREAK",    NULL,       0x08, true  }, // Pixel contains streak data
     27    { "STARCORE",  NULL,       0x08, true  }, // Pixel contains a bright star core
     28    // Effects of convolution and interpolation
     29    { "CONV.BAD",  NULL,       0x02, true  }, // Pixel is bad after convolution with a bad pixel
     30    { "CONV.POOR", NULL,       0x04, false }, // Pixel is poor after convolution with a bad pixel
    2931};
    3032
Note: See TracChangeset for help on using the changeset viewer.