- Timestamp:
- Oct 9, 2013, 4:14:19 PM (13 years ago)
- Location:
- branches/eam_branches/ipp-20130904/psphot
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20130904/psphot
- Property svn:mergeinfo changed
/trunk/psphot (added) merged: 36096,36100,36107-36108,36115,36117-36119,36124,36128
- Property svn:mergeinfo changed
-
branches/eam_branches/ipp-20130904/psphot/src
- Property svn:mergeinfo changed
/trunk/psphot/src merged: 36096,36100,36107-36108,36115,36117-36119,36124,36128
- Property svn:mergeinfo changed
-
branches/eam_branches/ipp-20130904/psphot/src/psphotMergeSources.c
r36161 r36198 844 844 // array containing the child sources. XXX currently, this is only used by psphotStackReadout 845 845 // (sources go on allSources so that psphotChoosePSF can be called repeatedly) 846 psArray *psphotSourceChildrenByObject (pmConfig *config, const pmFPAview *view, const char *filerule, psArray *objectsSrc ) {846 psArray *psphotSourceChildrenByObject (pmConfig *config, const pmFPAview *view, const char *filerule, psArray *objectsSrc, bool sourcesSubtracted) { 847 847 848 848 bool status; … … 951 951 // child sources have not been subtracted in this image, but this flag may be raised if 952 952 // they were subtracted in the parent's image 953 sourceOut->tmpFlags &= ~PM_SOURCE_TMPF_SUBTRACTED; 953 // XXX NOTE : in the pre-20130914 version of psphotStack, we carried a copy of the pixels 954 // generated before the subtraction took place (and then we smoothed to match the desired PSF). 955 // in the new version, we copy the image after subtraction; we need to distinguish these cases 956 if (!sourcesSubtracted) { 957 sourceOut->tmpFlags &= ~PM_SOURCE_TMPF_SUBTRACTED; 958 } 954 959 955 960 // set the output detections:
Note:
See TracChangeset
for help on using the changeset viewer.
