Changeset 33431
- Timestamp:
- Mar 6, 2012, 1:54:09 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/meh_branches/ppstack_test/psModules/src/imcombine/pmSubtraction.c
r33415 r33431 30 30 #include "pmSubtraction.h" 31 31 32 # define FFT_WINDOW 033 //#define TESTING32 #define FFT_WINDOW 0 33 #define TESTING 34 34 35 35 #define PIXEL_LIST_BUFFER 100 // Number of entries to add to pixel list at a time … … 262 262 # if (FFT_WINDOW) 263 263 psImage *convolved = psImageConvolveFFTwithWindow(NULL, subImage, subMask, maskVal, kernel); // Convolution 264 psLogMsg("psModules.imcombine", PS_LOG_DETAIL, "TESTING:: uses FFT_WINDOW"); 264 265 # else 265 266 psImage *convolved = psImageConvolveFFT(NULL, subImage, subMask, maskVal, kernel); // Convolution … … 796 797 pmSubtractionStamp *stamp = job->args->data[0]; // List of stamps 797 798 pmSubtractionKernels *kernels = job->args->data[1]; // Kernels 798 int footprint = PS_SCALAR_VALUE(job->args->data[2], S32); // Stamp index 799 int footprint = PS_SCALAR_VALUE(job->args->data[2], S32); // Stamp index -- MEH no it isnt.. 799 800 800 801 return pmSubtractionConvolveStamp(stamp, kernels, footprint); … … 831 832 } 832 833 834 833 835 #ifdef TESTING 836 //MEH fix index issue - index is supposed to be an image index but from where? 834 837 for (int j = 0; j < kernels->num; j++) { 835 838 if (stamp->convolutions1) { 836 839 psString convName = NULL; 837 psStringAppend(&convName, "conv1_%03d_%03d.fits", index, j); 840 //psStringAppend(&convName, "conv1_%03d_%03d.fits", index, j); 841 psStringAppend(&convName, "conv1_xxx_%03d.fits", j); 838 842 psFits *fits = psFitsOpen(convName, "w"); 839 843 psFree(convName); … … 845 849 if (stamp->convolutions2) { 846 850 psString convName = NULL; 847 psStringAppend(&convName, "conv2_%03d_%03d.fits", index, j); 851 //psStringAppend(&convName, "conv2_%03d_%03d.fits", index, j); 852 psStringAppend(&convName, "conv2_xxx_%03d.fits", j); 848 853 psFits *fits = psFitsOpen(convName, "w"); 849 854 psFree(convName);
Note:
See TracChangeset
for help on using the changeset viewer.
