- Timestamp:
- Sep 7, 2012, 10:45:14 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20120905/psphot/src/psphotStackReadout.c
r34415 r34416 169 169 } 170 170 171 // If DET and SRC are different images, subtract radial profiles for the convolved 172 // image first. The profiles found on the convolved image will be replaced by those 173 // found for the unconvolved image. Downstream, in psphotFindDetections, we will 174 // replace the the profiles (and re-subtract them) for the detection image, so we want 175 // to keep those versions of the profiles on the sources. 176 if (strcmp(STACK_SRC, STACK_DET)) { 177 // find and subtract radial profile models for saturated stars (XXX change name eventually) 178 if (!psphotDeblendSatstars (config, view, STACK_SRC)) { 179 psError (PSPHOT_ERR_UNKNOWN, false, "failed on satstar deblend analysis"); 180 return psphotReadoutCleanup (config, view, STACK_SRC); 181 } 182 } 183 // find and subtract radial profile models for saturated stars (XXX change name eventually) 184 if (!psphotDeblendSatstars (config, view, STACK_DET)) { 185 psError (PSPHOT_ERR_UNKNOWN, false, "failed on satstar deblend analysis"); 186 return psphotReadoutCleanup (config, view, STACK_SRC); 187 } 188 171 189 // if we were not supplied a PSF model, determine the IQ stats here (detections->newSources) 172 190 // only run this on detections from the input images, not chisq image … … 206 224 // window of size PSF_MOMENTS_RADIUS (same window used to measure the psf-scale moments) 207 225 // but iterates to an appropriately larger size 208 logMemStats("before.kron.1");226 logMemStats("before.kron.1"); 209 227 psphotKronIterate(config, view, STACK_SRC, 1); 210 logMemStats("after.kron.1");211 228 logMemStats("after.kron.1"); 229 212 230 // identify CRs and extended sources 213 231 psphotSourceSize (config, view, STACK_SRC, true);
Note:
See TracChangeset
for help on using the changeset viewer.
