Changeset 11702 for trunk/psphot/src/psphotSourceFits.c
- Timestamp:
- Feb 7, 2007, 5:52:32 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotSourceFits.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotSourceFits.c
r11381 r11702 34 34 pmModel *PSF = pmModelCopy (source->modelPSF); 35 35 36 if (isnan(PSF->params->data.F32[PM_PAR_I0])) psAbort ("psphot","nan in blend fit primary");36 if (isnan(PSF->params->data.F32[PM_PAR_I0])) psAbort("nan in blend fit primary"); 37 37 38 38 x = PSF->params->data.F32[PM_PAR_XPOS]; … … 67 67 // these should never be invalid values 68 68 // XXX drop these tests eventually 69 if (isnan(model->params->data.F32[PM_PAR_I0])) psAbort ("psphot","nan in blend fit");70 if (isnan(model->params->data.F32[PM_PAR_XPOS])) psAbort ("psphot","nan in blend fit");71 if (isnan(model->params->data.F32[PM_PAR_YPOS])) psAbort ("psphot","nan in blend fit");69 if (isnan(model->params->data.F32[PM_PAR_I0])) psAbort("nan in blend fit"); 70 if (isnan(model->params->data.F32[PM_PAR_XPOS])) psAbort("nan in blend fit"); 71 if (isnan(model->params->data.F32[PM_PAR_YPOS])) psAbort("nan in blend fit"); 72 72 73 73 // add this blend to the list … … 145 145 // save the PSF model from the Ensemble fit 146 146 pmModel *PSF = pmModelCopy (source->modelPSF); 147 if (isnan(PSF->params->data.F32[1])) psAbort ("psphot","nan in psf fit");147 if (isnan(PSF->params->data.F32[1])) psAbort("nan in psf fit"); 148 148 149 149 // extend source radius as needed … … 328 328 PSF = source->modelPSF; 329 329 psphotCheckRadiusPSFBlend (readout, source, PSF, 8.0); 330 if (isnan(PSF->params->data.F32[1])) psAbort ("psphot","nan in dbl fit");330 if (isnan(PSF->params->data.F32[1])) psAbort("nan in dbl fit"); 331 331 332 332 modelSet = psArrayAlloc (2); … … 365 365 assert (EXT != NULL); 366 366 367 // if (isnan(EXT->params->data.F32[1])) psAbort ("psphot","nan in ext fit");367 // if (isnan(EXT->params->data.F32[1])) psAbort("nan in ext fit"); 368 368 369 369 psphotCheckRadiusEXT (readout, source, EXT);
Note:
See TracChangeset
for help on using the changeset viewer.
