Changeset 20995 for trunk/ppStack/src/ppStackPhotometry.c
- Timestamp:
- Dec 15, 2008, 1:18:30 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/ppStack/src/ppStackPhotometry.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppStack/src/ppStackPhotometry.c
r20777 r20995 24 24 bool mdok; // Status of MD lookup 25 25 26 float zpRadius = psMetadataLookupS32(&mdok, recipe, " ZP.RADIUS"); // Radius for ZPmeasurement26 float zpRadius = psMetadataLookupS32(&mdok, recipe, "PHOT.RADIUS"); // Radius for PHOT measurement 27 27 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"); 29 29 return false; 30 30 } 31 float zpSigma = psMetadataLookupF32(&mdok, recipe, " ZP.SIGMA"); // Gaussian sigma for photometry31 float zpSigma = psMetadataLookupF32(&mdok, recipe, "PHOT.SIGMA"); // Gaussian sigma for photometry 32 32 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"); 34 34 return false; 35 35 } 36 float zpFrac = psMetadataLookupF32(&mdok, recipe, " ZP.FRAC"); // Fraction of good pixels for photometry36 float zpFrac = psMetadataLookupF32(&mdok, recipe, "PHOT.FRAC"); // Fraction of good pixels for photometry 37 37 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"); 39 39 return false; 40 40 }
Note:
See TracChangeset
for help on using the changeset viewer.
