Changeset 19858
- Timestamp:
- Oct 2, 2008, 10:57:22 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branch_20080926/psphot/src/psphotReadout.c
r19762 r19858 37 37 38 38 // set up the Visual display, display the image, weight, mask (ch 1,2,3) 39 psphotVisualShowImage ( readout);39 psphotVisualShowImage (config, readout); 40 40 41 41 // generate a background model (median, smoothed image) … … 49 49 return psphotReadoutCleanup (config, readout, recipe, NULL, NULL, NULL); 50 50 } 51 52 // display the backsub and backgnd images 53 psphotVisualShowBackground (config, view, readout); 51 54 52 55 // run a single-model test if desired (exits from here if test is run) … … 66 69 } 67 70 71 // display the backsub and backgnd images 72 psphotVisualShowPeaks (config, view, detections); 73 psphotVisualShowFootprints (config, view, detections); 74 68 75 // XXX test write out the footprint image 69 76 if (0) { … … 71 78 psphotSaveImage (NULL, footprintImage, "footprints.1.fits"); 72 79 psFree (footprintImage); 73 }74 75 // XXX test write out the footprint image76 if (0) {77 psImage *footprintImage = pmSetFootprintArrayIDs (detections->footprints, true);78 psphotSaveImage (NULL, footprintImage, "footprints.1.fits");79 psFree (footprintImage);80 80 } 81 81 … … 87 87 } 88 88 89 psphotVisualShowMoments (config, view, sources); 90 89 91 // find blended neighbors of very saturated stars 90 92 // XXX merge this with Basic Deblend? … … 105 107 return psphotReadoutCleanup(config, readout, recipe, detections, psf, sources); 106 108 } 109 110 psphotVisualShowRoughClass (config, view, sources); 107 111 108 112 // if we were not supplied a PSF, choose one here … … 122 126 } 123 127 128 psphotVisualShowPSFModel (config, readout, psf); 129 124 130 // Define source fitting parameters for everything that follows PSF fits 125 131 // This allows different parameters to be used from the PSF fitting … … 161 167 psphotFitSourcesLinear (readout, sources, recipe, psf, FALSE); 162 168 169 // XXX we have to place this here because the models are not realized until psphotGuessModels 170 // or fitted until psphotFitSourcesLinear. There is an example of generating a residual image 171 // in pmPSFtry.c 172 173 psphotVisualShowPSFStars (config, view, psf, sources); 174 psphotVisualShowSatStars (config, view, psf, sources); 175 psphotVisualShowLinearFit (config, readout); 176 163 177 if (0) { 164 178 FILE *out = fopen ("out.pass1.dat", "w"); … … 187 201 } 188 202 203 // XXX psphotVisualShowSourceSize (config, view, sources); 204 189 205 // non-linear PSF and EXT fit to brighter sources 190 206 psphotBlendFit (readout, sources, recipe, psf); 207 208 // XXX psphotVisualShowNonLinearFit (config, view, sources); 191 209 192 210 // replace all sources
Note:
See TracChangeset
for help on using the changeset viewer.
