IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 27500


Ignore:
Timestamp:
Mar 28, 2010, 4:25:27 PM (16 years ago)
Author:
eugene
Message:

enable DIFFSTATS measurement

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/20100225/psphot/src/psphotMagnitudes.c

    r27267 r27500  
    8080    }
    8181
    82     bool IGNORE_GROWTH = psMetadataLookupBool (&status, recipe, "IGNORE_GROWTH");
     82    bool IGNORE_GROWTH  = psMetadataLookupBool (&status, recipe, "IGNORE_GROWTH");
    8383    bool INTERPOLATE_AP = psMetadataLookupBool (&status, recipe, "INTERPOLATE_AP");
     84    bool DIFF_STATS     = psMetadataLookupBool (&status, recipe, "INTERPOLATE_AP");
    8485
    8586    pmSourcePhotometryMode photMode = PM_SOURCE_PHOT_APCORR | PM_SOURCE_PHOT_WEIGHT;
    8687    if (!IGNORE_GROWTH) photMode |= PM_SOURCE_PHOT_GROWTH;
    8788    if (INTERPOLATE_AP) photMode |= PM_SOURCE_PHOT_INTERP;
     89    if (DIFF_STATS)     photMode |= PM_SOURCE_PHOT_DIFFSTATS;
    8890
    8991    // choose Cx, Cy (see psphotThreadTools.c for overview of the concepts)
Note: See TracChangeset for help on using the changeset viewer.