IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 15, 2008, 1:18:30 PM (17 years ago)
Author:
Paul Price
Message:

Using new pmSourceMatch and pmSourceMatchRelphot to do the source matching and relative photometry. This should be more accurate than measuring the magnitude difference image by image.

File:
1 edited

Legend:

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

    r20777 r20995  
    2424    bool mdok;                          // Status of MD lookup
    2525
    26     float zpRadius = psMetadataLookupS32(&mdok, recipe, "ZP.RADIUS"); // Radius for ZP measurement
     26    float zpRadius = psMetadataLookupS32(&mdok, recipe, "PHOT.RADIUS"); // Radius for PHOT measurement
    2727    if (!mdok) {
    28         psError(PS_ERR_UNKNOWN, true, "Unable to find ZP.RADIUS in recipe");
     28        psError(PS_ERR_UNKNOWN, true, "Unable to find PHOT.RADIUS in recipe");
    2929        return false;
    3030    }
    31     float zpSigma = psMetadataLookupF32(&mdok, recipe, "ZP.SIGMA"); // Gaussian sigma for photometry
     31    float zpSigma = psMetadataLookupF32(&mdok, recipe, "PHOT.SIGMA"); // Gaussian sigma for photometry
    3232    if (!mdok) {
    33         psError(PS_ERR_UNKNOWN, true, "Unable to find ZP.SIGMA in recipe");
     33        psError(PS_ERR_UNKNOWN, true, "Unable to find PHOT.SIGMA in recipe");
    3434        return false;
    3535    }
    36     float zpFrac = psMetadataLookupF32(&mdok, recipe, "ZP.FRAC"); // Fraction of good pixels for photometry
     36    float zpFrac = psMetadataLookupF32(&mdok, recipe, "PHOT.FRAC"); // Fraction of good pixels for photometry
    3737    if (!mdok) {
    38         psError(PS_ERR_UNKNOWN, true, "Unable to find ZP.FRAC in recipe");
     38        psError(PS_ERR_UNKNOWN, true, "Unable to find PHOT.FRAC in recipe");
    3939        return false;
    4040    }
Note: See TracChangeset for help on using the changeset viewer.