Changeset 14801 for trunk/psModules/src/imcombine/pmSubtractionMatch.c
- Timestamp:
- Sep 10, 2007, 10:10:05 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/imcombine/pmSubtractionMatch.c
r14766 r14801 46 46 47 47 48 static bool getStamps(p sArray**stamps, // Stamps to read48 static bool getStamps(pmSubtractionStampList **stamps, // Stamps to read 49 49 const psArray *stampsData, // Stamp data from a file 50 50 const pmReadout *reference, // Reference readout … … 84 84 85 85 psFree(*stamps); 86 *stamps = pmSubtractionSetStamps(xStamp, yStamp, fluxStamp, subMask, region); 87 } else { 88 psTrace("psModules.imcombine", 3, "Finding stamps...\n"); 89 *stamps = pmSubtractionFindStamps(*stamps, reference->image, subMask, region, 90 threshold, stampSpacing); 91 } 92 if (!stamps) { 86 // Apply exclusion zone if we're matching to a nominated PSF; otherwise don't care 87 *stamps = pmSubtractionSetStamps(xStamp, yStamp, fluxStamp, reference->image, subMask, 88 region, stampSpacing, input ? 0 : footprint); 89 } 90 psTrace("psModules.imcombine", 3, "Finding stamps...\n"); 91 *stamps = pmSubtractionFindStamps(*stamps, reference->image, subMask, region, 92 threshold, stampSpacing); 93 if (!*stamps) { 93 94 psError(PS_ERR_UNKNOWN, false, "Unable to find stamps."); 94 95 return false; … … 220 221 psRegion *region = NULL; // Iso-kernel region 221 222 psString regionString = NULL; // String for region 222 p sArray *stamps = NULL;// Stamps for matching PSF223 pmSubtractionStampList *stamps = NULL; // Stamps for matching PSF 223 224 psVector *solution = NULL; // Solution to match PSF 224 225 pmSubtractionKernels *kernels = NULL; // Kernel basis functions
Note:
See TracChangeset
for help on using the changeset viewer.
