Changeset 25680
- Timestamp:
- Sep 29, 2009, 9:59:09 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/20090715/psphot/src/psphotChoosePSF.c
r25652 r25680 328 328 // create modelPSF from this model 329 329 pmModel *modelPSF = pmModelFromPSFforXY (psf, xc, yc, 1.0); 330 if (!modelPSF) continue; 330 if (!modelPSF) { 331 fprintf (stderr, "?"); 332 continue; 333 } 331 334 332 335 // get the model full-width at half-max … … 341 344 342 345 float FWHM_MINOR = FWHM_MAJOR * (axes.minor / axes.major); 343 if (!isfinite(FWHM_MAJOR) || !isfinite(FWHM_MINOR)) continue; 346 if (!isfinite(FWHM_MAJOR) || !isfinite(FWHM_MINOR)) { 347 fprintf (stderr, "!"); 348 continue; 349 } 344 350 psVectorAppend (fwhmMajor, FWHM_MAJOR); 345 351 psVectorAppend (fwhmMinor, FWHM_MINOR);
Note:
See TracChangeset
for help on using the changeset viewer.
