Changeset 18834
- Timestamp:
- Jul 31, 2008, 2:04:52 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotReadout.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotReadout.c
r18004 r18834 61 61 psLogMsg ("psphot", 3, "unable to find detections in this image"); 62 62 return psphotReadoutCleanup (config, readout, recipe, detections, psf, NULL); 63 } 64 65 // XXX test write out the footprint image 66 if (0) { 67 psImage *footprintImage = pmSetFootprintArrayIDs (detections->footprints, true); 68 psphotSaveImage (NULL, footprintImage, "footprints.1.fits"); 69 psFree (footprintImage); 63 70 } 64 71 … … 138 145 139 146 // identify CRs and extended sources 140 psphotSourceSize ( readout, sources, recipe, 0);147 psphotSourceSize (config, readout, sources, recipe, 0); 141 148 if (!strcasecmp (breakPt, "ENSEMBLE")) { 142 149 goto finish; … … 168 175 // find fainter sources (pass 2) 169 176 detections = psphotFindDetections (detections, readout, recipe); 177 178 // XXX test write out the footprint image 179 if (0) { 180 psImage *footprintImage = pmSetFootprintArrayIDs (detections->footprints, true); 181 psphotSaveImage (NULL, footprintImage, "footprints.2.fits"); 182 psFree (footprintImage); 183 } 170 184 171 185 // remove noise for subtracted objects (ie, return to normal noise level) … … 217 231 218 232 // measure source size for the remaining sources 219 psphotSourceSize (readout, sources, recipe, 0); 220 233 psphotSourceSize (config, readout, sources, recipe, 0); 234 235 if (0) { 236 psphotSaveImage (NULL, readout->mask, "mask.fits"); 237 } 238 221 239 psphotExtendedSourceAnalysis (readout, sources, recipe); 222 240
Note:
See TracChangeset
for help on using the changeset viewer.
