Changeset 15562 for trunk/psModules/src/objects/pmPSFtry.c
- Timestamp:
- Nov 9, 2007, 3:09:20 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/objects/pmPSFtry.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/objects/pmPSFtry.c
r15254 r15562 5 5 * @author EAM, IfA 6 6 * 7 * @version $Revision: 1. 49$ $Name: not supported by cvs2svn $8 * @date $Date: 2007-1 0-09 19:26:25$7 * @version $Revision: 1.50 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2007-11-10 01:09:20 $ 9 9 * 10 10 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 81 81 } 82 82 83 bool psMemCheckPSFtry(psPtr ptr) 84 { 85 PS_ASSERT_PTR(ptr, false); 86 return ( psMemGetDeallocator(ptr) == (psFreeFunc) pmPSFtryFree); 87 } 88 89 83 90 // build a pmPSFtry for the given model: 84 91 // - fit each source with the free-floating model … … 249 256 bool pmPSFtryMetric (pmPSFtry *psfTry, float RADIUS) 250 257 { 258 PS_ASSERT_PTR_NON_NULL(psfTry, false); 259 PS_ASSERT_PTR_NON_NULL(psfTry->sources, false); 260 251 261 // the measured (aperture - fit) magnitudes (dA == psfTry->metric) 252 262 // depend on both the true ap-fit (dAo) and the bias in the sky measurement: … … 346 356 bool pmPSFFromPSFtry (pmPSFtry *psfTry) 347 357 { 358 PS_ASSERT_PTR_NON_NULL(psfTry, false); 359 PS_ASSERT_PTR_NON_NULL(psfTry->sources, false); 360 348 361 pmPSF *psf = psfTry->psf; 349 362
Note:
See TracChangeset
for help on using the changeset viewer.
