IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 17366


Ignore:
Timestamp:
Apr 7, 2008, 12:04:18 PM (18 years ago)
Author:
Paul Price
Message:

Ensure aperture residual is not calculated when running photometry.

File:
1 edited

Legend:

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

    r17303 r17366  
    192192        pmFPACopy(photFile->fpa, outRO->parent->parent->parent);
    193193
     194        // Need to ensure aperture residual is not calculated
     195        psMetadata *recipe = psMetadataLookupMetadata(NULL, config->recipes, PSPHOT_RECIPE); // Recipe
     196        psMetadataItem *item = psMetadataLookup(recipe, "MEASURE.APTREND"); // Item determining aptrend
     197        if (!item) {
     198            psWarning("Unable to find MEASURE.APTREND in psphot recipe");
     199            psErrorClear();
     200        } else {
     201            item->data.B = false;
     202        }
     203
    194204        if (!psphotReadout(config, view)) {
    195205            psWarning("Unable to perform photometry on subtracted image.");
Note: See TracChangeset for help on using the changeset viewer.