IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 1, 2007, 5:51:03 PM (19 years ago)
Author:
Paul Price
Message:

Adding pmConfigMask to use symbolic names for mask values. Need to adapt APIs that use mask values to accept the values for those masks (which can be obtained from pmConfigMask).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/detrend/pmMaskBadPixels.c

    r12696 r13591  
    6666            }
    6767        }
    68     } else {
    69         // set raised pixels in exMask which are selected by maskVal
    70         for (int j = 0; j < inMask->numRows; j++) {
    71             int xJ = j - offRow;
    72             for (int i = 0; i < inMask->numCols; i++) {
    73                 int xI = i - offCol;
    74                 if (exVal[xJ][xI] == 0) {
    75                     inVal[j][i] |= PM_MASK_BAD;
    76                 }
    77             }
    78         }
    7968    }
    8069
     
    8271    psString timeString = psTimeToISO(time); // String with time
    8372    psFree(time);
    84     psStringPrepend(&timeString, "Static mask applied at ");
     73    psStringPrepend(&timeString, "Static mask (selecting %x) applied at ", maskVal);
    8574    psMetadataAddStr(hdu->header, PS_LIST_TAIL, "HISTORY", PS_META_DUPLICATE_OK,
    8675                     timeString, "");
Note: See TracChangeset for help on using the changeset viewer.