Changeset 11702 for trunk/psphot/src/psphotEnsemblePSF.c
- Timestamp:
- Feb 7, 2007, 5:52:32 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotEnsemblePSF.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotEnsemblePSF.c
r11166 r11702 34 34 psRegion AnalysisRegion = psRegionFromString (region); 35 35 AnalysisRegion = psRegionForImage (readout->image, AnalysisRegion); 36 if (psRegionIsNaN (AnalysisRegion)) psAbort ("psphot","analysis region mis-defined");36 if (psRegionIsNaN (AnalysisRegion)) psAbort("analysis region mis-defined"); 37 37 38 38 bool CONSTANT_PHOTOMETRIC_WEIGHTS = 39 39 psMetadataLookupBool(&status, recipe, "CONSTANT_PHOTOMETRIC_WEIGHTS"); 40 40 if (!status) { 41 psAbort( PS_FILE_LINE,"You must provide a value for the BOOL recipe CONSTANT_PHOTOMETRIC_WEIGHTS");41 psAbort("You must provide a value for the BOOL recipe CONSTANT_PHOTOMETRIC_WEIGHTS"); 42 42 } 43 43 int SKY_FIT_ORDER = psMetadataLookupS32(&status, recipe, "SKY_FIT_ORDER"); … … 161 161 162 162 default: 163 psAbort( PS_FILE_LINE,"Invalid SKY_FIT_ORDER %d\n", SKY_FIT_ORDER);163 psAbort("Invalid SKY_FIT_ORDER %d\n", SKY_FIT_ORDER); 164 164 break; 165 165 } … … 211 211 // assign linearly-fitted normalization 212 212 if (isnan(norm->data.F32[i])) { 213 psAbort ("psphot","ensemble source is nan");213 psAbort("ensemble source is nan"); 214 214 } 215 215 model->params->data.F32[PM_PAR_I0] = norm->data.F32[i];
Note:
See TracChangeset
for help on using the changeset viewer.
