IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 5, 2007, 4:07:11 PM (19 years ago)
Author:
Paul Price
Message:

Don't build own masks, but only use those that are provided. Don't attempt to define psphot files unless a PSF model has been provided.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppSub/src/ppSubLoop.c

    r13371 r13665  
    1313bool ppSubLoop(pmConfig *config)
    1414{
     15    // Value to mask
     16    psMaskType maskVal = psMetadataLookupU8(NULL, config->arguments, "MASK.BAD") |
     17        psMetadataLookupU8(NULL, config->arguments, "MASK.BLANK") |
     18        pmConfigMask("SAT", config) |
     19        pmConfigMask("BAD", config);
     20
    1521    bool mdok;                          // Status of MD lookup
    1622    const char *statsName = psMetadataLookupStr(&mdok, config->arguments, "STATS"); // Filename for statistics
     
    136142                    return false;
    137143                }
    138                 ppStats(stats, output->fpa, view, config);
     144                ppStats(stats, output->fpa, view, maskVal, config);
    139145            }
    140146
Note: See TracChangeset for help on using the changeset viewer.