IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 5, 2010, 9:22:05 PM (15 years ago)
Author:
eugene
Message:

add support for modified psphotReadoutKnownSources API

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppStack/src/ppStackPhotometry.c

    r27343 r29927  
    5454    psImageMaskType maskValue = pmConfigMaskGet("BLANK", config); // Bits to mask
    5555    psImageMaskType markValue = pmConfigMaskGet("MARK.VALUE", config); // Bits to use for marking
    56     psMetadataAddImageMask(psphot, PS_LIST_TAIL, "MASK.PSPHOT", PS_META_REPLACE,
    57                             "Bits to mask", maskValue);
    58     psMetadataAddImageMask(psphot, PS_LIST_TAIL, "MARK.PSPHOT", PS_META_REPLACE,
    59                            "Bits to use for mark", markValue);
     56    psMetadataAddImageMask(psphot, PS_LIST_TAIL, "MASK.PSPHOT", PS_META_REPLACE, "Bits to mask", maskValue);
     57    psMetadataAddImageMask(psphot, PS_LIST_TAIL, "MARK.PSPHOT", PS_META_REPLACE, "Bits to use for mark", markValue);
    6058
    6159    psArray *inSources = options->sources;
     
    6765
    6866    pmModelClassSetLimits(PM_MODEL_LIMITS_LAX);
    69     if (!psphotReadoutKnownSources(config, photView, inSources)) {
     67    if (!psphotReadoutKnownSources(config, photView, "PSPHOT.INPUT", inSources)) {
    7068        // This is likely a data quality issue
    7169        // XXX Split into multiple cases using error codes?
Note: See TracChangeset for help on using the changeset viewer.