Changeset 25535
- Timestamp:
- Sep 23, 2009, 7:12:16 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/20090715/psphot/doc/outline.txt
r10053 r25535 2 2 Here is a summary outline of the steps taken by psphotReadout: 3 3 4 * setup (choose recipe, choose readout, define break-point) 5 * create mask and weight images if needed, set mask for analysis region 6 * psphotImageMedian : construct a background model image and subtract it 7 * psphotFindPeaks : smooth and find the peak pixels from the smoothed image 8 - no pmSource defined yet, only pmPeak 9 * psphotSourceStats : create sources for each peak and measure their moments 10 - pmSource defined here, with pixels covering SKY_OUTER_RADIUS 11 - no pmModel is defined yet. 12 * psphotBasicDeblend : identify blended sources by proximity and valley depth 13 * psphotRoughClass : source classification guess based on moments 14 - set the source.type,mode. 15 - re-calculate moments for saturated stars 16 * psphotChoosePSF : define the psf model 17 - this generates model fits to the identified psf stars 18 (one for each tested model) 19 - these models are not kept (seems like a waste, but later fits must be consistent) 20 * psphotGuessModels : set the initial PSF model for each object (even EXTENDED) 21 - creates modelPSF entries 4 * setup (choose recipe, readout, etc) 5 6 * create mask and weight images if needed 7 8 * construct a background model image and subtract it 9 10 * generate the significance image (smoothed by small Gaussian) 11 12 * find peaks and associated footprints 13 14 * create sources for each peak and measure moments 15 - scan over several window sigma values and choose an optimal window size 16 - at this stage, the moments are aimed at identifying psf-like objects 17 18 * identify blended sources by proximity and valley depth 19 20 * crude source classification guess based on moments & saturated pixels 21 - major goal is to identify the psf-stars 22 - allows for 2D variations in the psf 23 24 * use the selected PSF candidate stars to generate a PSF model 25 - fits PSF model parameters as a function of position 26 - uses psfMag - apMag to choose order of 2D (minimize systematic error in this value) 27 - generates a PSF residual image & optional 2D variations 28 29 * fit all detected sources to the psf model (linear fit for normalization only) 30 31 * high-quality source classification 32 - uses Mxx, Myy, psfMag - moment->Sum (equiv to apMags) 33 * should the extended / psf cut be a function of galactic latitude? 34 * should the cosmic ray / psf cut be a function of galactic latitude? 35 36 * non-linear fit for all brighter sources to single psf, double psf, or extended source model 37 - sources identified as extended above are fitted with extended source model 38 * are group / clumps of sources being fitted in the best way? 39 * is the psf-model ap mag being measured in an appropriate-size aperture? 40 * is the criterion for choosing between 2 psfs and extended source OK? 41 * is the test for double psf OK? (uses moments to guess starting positions) 42 43 * subtract, re-detect, measure faint sources (PSF-only) 44 45 * optional extended source aperture-like measurements (petrosian, etc) 46 47 * optional extended source non-linear fits (Sersic, etc) 48 49 * measure psfMag-apMag correcion (2D) 50 * convert analysis to use systematic error measurement 51 52 * generate magnitudes 53 54 * measure detection efficiency 55 56 * output
Note:
See TracChangeset
for help on using the changeset viewer.
