IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 23347


Ignore:
Timestamp:
Mar 17, 2009, 11:25:46 AM (17 years ago)
Author:
Paul Price
Message:

Need to set values in the psphot recipe.

File:
1 edited

Legend:

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

    r23341 r23347  
    3939    }
    4040
     41    psMetadata *psphot = psMetadataLookupMetadata(NULL, config->recipes, PSPHOT_RECIPE); // Recipe
     42
    4143#if 0
    4244    // Need to ensure aperture residual is not calculated
    43     psMetadata *recipe = psMetadataLookupMetadata(NULL, config->recipes, PSPHOT_RECIPE); // Recipe
    4445    psMetadataItem *item = psMetadataLookup(recipe, "MEASURE.APTREND"); // Item determining aptrend
    4546    if (!item) {
     
    5455    psImageMaskType maskValue = pmConfigMaskGet("BLANK", config); // Bits to mask
    5556    psImageMaskType markValue = pmConfigMaskGet("MARK.VALUE", config); // Bits to use for marking
    56     psMetadataAddImageMask(recipe, PS_LIST_TAIL, "MASK.PSPHOT", PS_META_REPLACE,
     57    psMetadataAddImageMask(psphot, PS_LIST_TAIL, "MASK.PSPHOT", PS_META_REPLACE,
    5758                            "Bits to mask", maskValue);
    58     psMetadataAddImageMask(recipe, PS_LIST_TAIL, "MARK.PSPHOT", PS_META_REPLACE,
     59    psMetadataAddImageMask(psphot, PS_LIST_TAIL, "MARK.PSPHOT", PS_META_REPLACE,
    5960                           "Bits to use for mark", markValue);
    6061
Note: See TracChangeset for help on using the changeset viewer.