Changeset 33425 for trunk/psModules
- Timestamp:
- Mar 6, 2012, 1:25:46 PM (14 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/imcombine/pmSubtraction.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/imcombine/pmSubtraction.c
r33089 r33425 796 796 pmSubtractionStamp *stamp = job->args->data[0]; // List of stamps 797 797 pmSubtractionKernels *kernels = job->args->data[1]; // Kernels 798 int footprint = PS_SCALAR_VALUE(job->args->data[2], S32); // Stamp index 798 int footprint = PS_SCALAR_VALUE(job->args->data[2], S32); // Stamp index -- MEH - it is? 799 799 800 800 return pmSubtractionConvolveStamp(stamp, kernels, footprint); … … 832 832 833 833 #ifdef TESTING 834 //MEH - index conflict or changed in past? 834 835 for (int j = 0; j < kernels->num; j++) { 835 836 if (stamp->convolutions1) { 836 837 psString convName = NULL; 837 psStringAppend(&convName, "conv1_%03d_%03d.fits", index, j); 838 psFits *fits = psFitsOpen(convName, "w"); 838 //psStringAppend(&convName, "conv1_%03d_%03d.fits", index, j); 839 psStringAppend(&convName, "conv1_xxx_%03d.fits", j); 840 psFits *fits = psFitsOpen(convName, "w"); 839 841 psFree(convName); 840 842 psKernel *conv = stamp->convolutions1->data[j]; … … 845 847 if (stamp->convolutions2) { 846 848 psString convName = NULL; 847 psStringAppend(&convName, "conv2_%03d_%03d.fits", index, j); 848 psFits *fits = psFitsOpen(convName, "w"); 849 //psStringAppend(&convName, "conv2_%03d_%03d.fits", index, j); 850 psStringAppend(&convName, "conv2_xxx_%03d.fits", j); 851 psFits *fits = psFitsOpen(convName, "w"); 849 852 psFree(convName); 850 853 psKernel *conv = stamp->convolutions2->data[j];
Note:
See TracChangeset
for help on using the changeset viewer.
