Changeset 34800 for trunk/ppStack/src/ppStackLoop.c
- Timestamp:
- Dec 11, 2012, 2:04:31 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
ppStack/src/ppStackLoop.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk
-
trunk/ppStack/src/ppStackLoop.c
r31435 r34800 63 63 64 64 // Prepare for combination 65 if (!ppStackCombinePrepare("PPSTACK.OUTPUT", "PPSTACK.OUTPUT.EXP", PPSTACK_FILES_STACK, stack, options, config)) {65 if (!ppStackCombinePrepare("PPSTACK.OUTPUT", "PPSTACK.OUTPUT.EXP", "PPSTACK.OUTPUT.BKGMODEL", PPSTACK_FILES_STACK, stack, options, config)) { 66 66 psError(psErrorCodeLast(), false, "Unable to prepare for combination."); 67 67 psFree(stack); … … 84 84 pmCellFreeData(options->cells->data[i]); 85 85 } 86 psFree(stack);86 // psFree(stack); 87 87 88 88 // Pixel rejection … … 142 142 } 143 143 144 // Generate median background stack here. 145 if (!ppStackCombineBackground(stack, options, config)) { 146 psError(psErrorCodeLast(), false, "Unable to generate median of background images."); 147 psFree(stack); 148 return false; 149 } 150 ppStackFileActivation(config,PPSTACK_FILES_BKG ,false); 144 151 // Photometry 145 152 psTrace("ppStack", 1, "Photometering stacked image....\n"); … … 171 178 return false; 172 179 } 173 psFree(stack);180 // psFree(stack); 174 181 psLogMsg("ppStack", PS_LOG_INFO, "Stage 7: Cleanup, WCS & JPEGS: %f sec", psTimerClear("PPSTACK_STEPS")); 175 182 ppStackMemDump("cleanup"); … … 186 193 187 194 // Prepare for combination 188 if (!ppStackCombinePrepare("PPSTACK.UNCONV", "PPSTACK.UNCONV.EXP", PPSTACK_FILES_UNCONV,195 if (!ppStackCombinePrepare("PPSTACK.UNCONV", "PPSTACK.UNCONV.EXP", NULL, PPSTACK_FILES_UNCONV, 189 196 stack, options, config)) { 190 197 psError(psErrorCodeLast(), false, "Unable to prepare for combination.");
Note:
See TracChangeset
for help on using the changeset viewer.
