IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 1, 2007, 6:16:29 PM (19 years ago)
Author:
Paul Price
Message:

Updating high-level programs to use symbolic names for mask values in the recipes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot/src/psphotReadout.c

    r13411 r13593  
    2424
    2525    // generate mask & weight images if they don't already exit
    26     if ((!readout->mask && !pmReadoutGenerateMask(readout)) ||
     26    if ((!readout->mask && !pmReadoutGenerateMask(readout, pmConfigMask("SAT", config),
     27                                                  pmConfigMask("BAD", config))) ||
    2728        (!readout->weight && !pmReadoutGenerateWeight(readout, true))) {
    2829        psError (PSPHOT_ERR_CONFIG, false, "trouble creating mask and/or weight");
     
    3738
    3839    // I have a valid mask, now mask in the analysis region of interest
    39     psphotMaskReadout (readout, recipe);
     40    psphotMaskReadout (readout, recipe, config);
    4041
    4142    // run a single-model test if desired
Note: See TracChangeset for help on using the changeset viewer.