Changeset 13472
- Timestamp:
- May 22, 2007, 11:45:00 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/objects/pmSourcePhotometry.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/objects/pmSourcePhotometry.c
r13423 r13472 3 3 * @author EAM, IfA; GLG, MHPCC 4 4 * 5 * @version $Revision: 1.2 6$ $Name: not supported by cvs2svn $6 * @date $Date: 2007-05- 18 14:02:48$5 * @version $Revision: 1.27 $ $Name: not supported by cvs2svn $ 6 * @date $Date: 2007-05-22 21:45:00 $ 7 7 * 8 8 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 195 195 // measure object aperture photometry 196 196 status = pmSourcePhotometryAper (&source->apMag, model, flux, source->maskObj); 197 if (!status) { 198 psErrorCode last = psErrorCodeLast(); 199 if (last == PM_ERR_PHOTOM) { 200 // the aper mag was undefined (flux < 0). bad object, but 201 // don't keep the error on the stack 202 psErrorClear(); 203 } 204 } 197 205 198 206 // for PSFs, correct both apMag and psfMag to same system, consistent with infinite flux star in aperture RADIUS
Note:
See TracChangeset
for help on using the changeset viewer.
