IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 18, 2008, 10:31:30 AM (18 years ago)
Author:
Paul Price
Message:

Need to set the mask values for psphot.

File:
1 edited

Legend:

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

    r18591 r18612  
    243243                         "ALTERED break point for psphot operations", "PSFMODEL");
    244244
     245        // set maskValue and markValue in the psphot recipe
     246        psMaskType maskValue = pmConfigMaskGet("BLANK", config); // Bits to mask
     247        psMaskType markValue = pmConfigMaskGet("MARK.VALUE", config); // Bits to use for marking
     248        psMetadataAddU8(recipe, PS_LIST_TAIL, "MASK.PSPHOT", PS_META_REPLACE, "Bits to mask", maskValue);
     249        psMetadataAddU8(recipe, PS_LIST_TAIL, "MARK.PSPHOT", PS_META_REPLACE, "Bits to use for marking",
     250                        markValue);
     251
    245252        if (!psphotReadout(config, view)) {
    246253            psWarning("Unable to perform photometry on subtracted image.");
Note: See TracChangeset for help on using the changeset viewer.