- Timestamp:
- Aug 21, 2011, 10:44:17 AM (15 years ago)
- Location:
- branches/eam_branches/ipp-20110710/psphot/src
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
psphotReadout.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20110710/psphot/src
- Property svn:ignore
-
old new 22 22 psphotMakePSF 23 23 psphotStack 24 psphotModelTest
-
- Property svn:ignore
-
branches/eam_branches/ipp-20110710/psphot/src/psphotReadout.c
r31452 r32157 137 137 } 138 138 139 // construct sources and measure basic stats (saved on detections->newSources) 139 // construct sources and measure moments and other basic stats (saved on detections->newSources) 140 // all sources use the auto-scaled window appropriate to a PSF, except for the saturated 141 // stars : these use a larger window (3x the basic window) 140 142 if (!psphotSourceStats (config, view, filerule, true)) { // pass 1 141 143 psError(PSPHOT_ERR_UNKNOWN, false, "failure to generate sources"); … … 200 202 psphotDumpChisqs (config, view, filerule); 201 203 202 // XXX re-measure the kron mags with models subtracted 204 // re-measure the kron mags with models subtracted. this pass uses a circular window of size PSF_MOMENTS_RADIUS (same window used to measure the psf-scale moments) 205 206 // but this is chosen above to be appropriate for the PSF objects (not galaxies) 203 207 psphotKronMasked(config, view, filerule); 204 208 … … 214 218 psphotDumpChisqs (config, view, filerule); 215 219 220 // XXX note above the extended sources have their moments remeasured with a larger window, 221 // but the result is replaced with the original PSF-scaled window 222 216 223 // replace all sources 217 224 psphotReplaceAllSources (config, view, filerule); // pass 1 (detections->allSources) … … 240 247 psphotSubNoise (config, view, filerule); // pass 1 (detections->allSources) 241 248 242 // define new sources based on only the new peaks 249 // define new sources based on only the new peaks & measure moments 243 250 // NOTE: new sources are saved on detections->newSources 244 251 psphotSourceStats (config, view, filerule, false); // pass 2 (detections->newSources) … … 313 320 314 321 // XXX re-measure the kron mags with models subtracted 322 // Note that this uses the PSF_MOMENTS_RADIUS as a window 315 323 psphotKronMasked(config, view, filerule); 316 324
Note:
See TracChangeset
for help on using the changeset viewer.
