Changeset 25950 for branches/pap/ppStack/src/ppStackCombineFinal.c
- Timestamp:
- Oct 27, 2009, 11:44:05 AM (17 years ago)
- File:
-
- 1 edited
-
branches/pap/ppStack/src/ppStackCombineFinal.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/pap/ppStack/src/ppStackCombineFinal.c
r25924 r25950 9 9 #include "ppStack.h" 10 10 #include "ppStackLoop.h" 11 12 #define TESTING // Enable test output 11 13 12 14 bool ppStackCombineFinal(pmReadout *target, ppStackThreadData *stack, psArray *covariances, … … 84 86 85 87 #ifdef TESTING 86 pmStackVisualPlotTestImage(target->image, "combined_initial.fits"); 87 ppStackWriteImage("combined_final.fits", NULL, target->image, config); 88 static int pass = 0; // Pass through 89 psString name = NULL; // Name of file 90 psStringAppend(&name, "combined_image_final_%d.fits", pass); 91 pass++; 92 ppStackWriteImage(name, NULL, target->image, config); 93 psStringSubstitute(&name, "mask", "image"); 94 ppStackWriteImage(name, NULL, target->mask, config); 95 psStringSubstitute(&name, "variance", "mask"); 96 ppStackWriteImage(name, NULL, target->variance, config); 97 psFree(name); 98 99 pmStackVisualPlotTestImage(target->image, "combined_image_final.fits"); 88 100 #endif 89 101
Note:
See TracChangeset
for help on using the changeset viewer.
