Changeset 36117 for trunk/psphot/src/psphotMergeSources.c
- Timestamp:
- Sep 14, 2013, 6:09:10 AM (13 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotMergeSources.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotMergeSources.c
r34266 r36117 812 812 // array containing the child sources. XXX currently, this is only used by psphotStackReadout 813 813 // (sources go on allSources so that psphotChoosePSF can be called repeatedly) 814 psArray *psphotSourceChildrenByObject (pmConfig *config, const pmFPAview *view, const char *filerule, psArray *objectsSrc ) {814 psArray *psphotSourceChildrenByObject (pmConfig *config, const pmFPAview *view, const char *filerule, psArray *objectsSrc, bool sourcesSubtracted) { 815 815 816 816 bool status; … … 919 919 // child sources have not been subtracted in this image, but this flag may be raised if 920 920 // they were subtracted in the parent's image 921 sourceOut->tmpFlags &= ~PM_SOURCE_TMPF_SUBTRACTED; 921 // XXX NOTE : in the pre-20130914 version of psphotStack, we carried a copy of the pixels 922 // generated before the subtraction took place (and then we smoothed to match the desired PSF). 923 // in the new version, we copy the image after subtraction; we need to distinguish these cases 924 if (!sourcesSubtracted) { 925 sourceOut->tmpFlags &= ~PM_SOURCE_TMPF_SUBTRACTED; 926 } 922 927 923 928 // set the output detections:
Note:
See TracChangeset
for help on using the changeset viewer.
