IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 43049 for trunk/psModules


Ignore:
Timestamp:
Jun 5, 2026, 10:55:58 AM (6 weeks ago)
Author:
eugene
Message:

use consistent names (VALID_OVERSCAN) for detrend type; fix a couple minor bugs in bad-overscan masking; use jpeg rules matching default chip

Location:
trunk/psModules/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/camera/pmFPAfile.c

    r43038 r43049  
    543543      return PM_FPA_FILE_NEWNONLIN;
    544544    }
    545     if (!strcasecmp(type, "VALID.OVERSCAN"))  {
     545    if (!strcasecmp(type, "VALID_OVERSCAN"))  {
    546546      return PM_FPA_FILE_VALID_OVERSCAN;
    547547    }
  • trunk/psModules/src/detrend/pmDetrendDB.c

    r42407 r43049  
    113113        DETREND_STRING_CASE(AUXMASK);
    114114        DETREND_STRING_CASE(KH_CORRECT);
     115        DETREND_STRING_CASE(VALID_OVERSCAN);
    115116        DETREND_STRING_CASE(PATTERN_ROW_AMP);
    116117        DETREND_STRING_CASE(PATTERN_DEAD_CELLS);
  • trunk/psModules/src/detrend/pmMaskBadOverscan.c

    r43038 r43049  
    3232
    3333    // completely mask the readout
    34     for (int i = 0; i < mask->numRows; i++) { // Loop over rows : note: problem with discontinuity here
    35         for (int j = 0; j < mask->numCols; j++) { // Loop over columns
    36           mask->data.PS_TYPE_IMAGE_MASK_DATA[j][i] |= maskValue;
     34    for (int iy = 0; iy < mask->numRows; iy++) { // Loop over rows : note: problem with discontinuity here
     35        for (int ix = 0; ix < mask->numCols; ix++) { // Loop over columns
     36          mask->data.PS_TYPE_IMAGE_MASK_DATA[iy][ix] |= maskValue;
    3737        }
    3838    }
Note: See TracChangeset for help on using the changeset viewer.