Changeset 7506
- Timestamp:
- Jun 9, 2006, 6:24:40 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotReadout.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotReadout.c
r7435 r7506 21 21 psphotModelTest (readout, recipe); 22 22 23 // generate a background model (median, smoothed image)24 psphotImageMedian (config, view);25 26 23 // psphotSaveImage (NULL, readout->image, "image.fits"); 27 24 // psphotSaveImage (NULL, readout->mask, "mask.fits"); 28 25 // psphotSaveImage (NULL, readout->weight, "weight.fits"); 26 27 // generate a background model (median, smoothed image) 28 psphotImageMedian (config, view); 29 29 30 30 // find the peaks in the image … … 37 37 // classify sources based on moments, brightness 38 38 // faint sources not classified? 39 psphotRoughClass (sources, recipe); 39 if (!psphotRoughClass (sources, recipe)) { 40 psFree (peaks); 41 psFree (sources); 42 psLogMsg ("psphot", 3, "failed to find a valid PSF clump for image"); 43 pmFPAfileDropInternal (config->files, "PSPHOT.BACKMDL"); 44 pmFPAfileDropInternal (config->files, "PSPHOT.BACKGND"); 45 return false; 46 } 40 47 41 48 // mark blended peaks PS_SOURCE_BLEND
Note:
See TracChangeset
for help on using the changeset viewer.
