- Timestamp:
- May 30, 2012, 11:33:37 AM (14 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotStackReadout.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotStackReadout.c
r33917 r33958 317 317 psphotExtendedSourceFits (config, view, STACK_SRC); // pass 1 (detections->allSources) 318 318 319 // create source children for the OUT filerule (for radial aperture photometry) 320 // (These are not just for radial aperture photomoetry. If they aren't defined we 321 // get no sources output 319 // create source children for the OUT filerule (for radial aperture photometry and output) 322 320 psArray *objectsOut = psphotSourceChildrenByObject (config, view, STACK_OUT, objects); 323 321 if (!objectsOut) { … … 332 330 // measure circular, radial apertures (objects sorted by S/N) 333 331 // this forces photometry on the undetected sources from other images 334 psphotRadialApertures (config, view, STACK_SRC, 0); // XXX entry 0 == unmatched? 332 333 // NOTE: we always do the radial apertures analysis on the convolved image since 334 // those are the ones that are psf matched and the source of STACK_OUT's pixels 335 // XXX: Actually if PSPHOT.STACK.MATCH.PSF.SOURCE were set to RAW this wouldn't be true. 336 // but in that case we don't get past the psf matching step because there is no 337 // target psf for the RAW inputs 338 339 // If useRaw copy the sources to the convolved readout 340 if (strcmp(STACK_SRC, STACK_CNV)) { 341 if (!psphotCopySources (config, view, STACK_CNV, STACK_SRC)) { 342 psError (PSPHOT_ERR_UNKNOWN, false, "failure in peak analysis"); 343 return psphotReadoutCleanup (config, view, STACK_SRC); 344 } 345 } 346 psphotRadialApertures (config, view, STACK_CNV, 0); // XXX entry 0 == unmatched? 335 347 psMemDump("extmeas"); 336 348
Note:
See TracChangeset
for help on using the changeset viewer.
