IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 18558 for trunk/ppStats


Ignore:
Timestamp:
Jul 15, 2008, 10:29:11 AM (18 years ago)
Author:
eugene
Message:

re-org and cleanup of the mask bits to make it consistent with the pmConfigMaskSetBits concepts

Location:
trunk/ppStats/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppStats/src/ppStatsFPA.c

    r14010 r18558  
    2121    }
    2222
    23     // Override recipe mask value if one is provided
    24     if (maskVal != 0) {
    25         data->maskVal = maskVal;
    26     }
     23    // Override recipe mask value
     24    data->maskVal = maskVal;
    2725
    2826    if (data->fpa) {
  • trunk/ppStats/src/ppStatsMetadata.c

    r14010 r18558  
    2929    data->doStats = false;
    3030
    31     // Override recipe mask value if one is provided
    32     if (maskVal != 0) {
    33         data->maskVal = maskVal;
    34     }
     31    // Override recipe mask value
     32    data->maskVal = maskVal;
    3533
    3634    if (data->fpa) {
  • trunk/ppStats/src/ppStatsPixels.c

    r14010 r18558  
    2828    data->concepts = psListAlloc(NULL);
    2929
    30     // Override recipe mask value if one is provided
    31     if (maskVal != 0) {
    32         data->maskVal = maskVal;
    33     }
     30    // Override recipe mask value
     31    data->maskVal = maskVal;
    3432
    3533    if (data->fpa) {
  • trunk/ppStats/src/ppStatsSetupFromRecipe.c

    r13999 r18558  
    127127    }
    128128
     129    // set the mask value used for stand-alone analyses.
    129130    if (data->maskVal == 0) {
    130131        const char *names = psMetadataLookupStr(&mdok, recipe, "MASKVAL"); // Names for mask value
    131132        if (mdok) {
    132             data->maskVal = pmConfigMask(names, config);
     133            data->maskVal = pmConfigMaskGet(names, config);
    133134        } else {
    134135            psWarning("MASKVAL in recipe is not of type STR --- retaining default.\n");
Note: See TracChangeset for help on using the changeset viewer.