Changeset 27402 for trunk/ppStack/src/ppStackLoop.c
- Timestamp:
- Mar 23, 2010, 9:12:53 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/ppStack/src/ppStackLoop.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppStack/src/ppStackLoop.c
r27400 r27402 111 111 112 112 // Prepare for combination 113 if (!ppStackCombinePrepare( "PPSTACK.OUTPUT", "PPSTACK.OUTPUT.EXP", PPSTACK_FILES_STACK,113 if (!ppStackCombinePrepare(&options->outRO, "PPSTACK.OUTPUT", PPSTACK_FILES_STACK, 114 114 stack, options, config)) { 115 115 psError(psErrorCodeLast(), false, "Unable to prepare for combination."); … … 160 160 // Final combination 161 161 psTrace("ppStack", 2, "Final stack of convolved images....\n"); 162 if (!ppStackCombineFinal(stack, options->convCovars, options, config, false, false, true)) { 162 if (!ppStackCombineFinal(options->outRO, stack, options->convCovars, options, config, 163 false, false, true)) { 163 164 psError(psErrorCodeLast(), false, "Unable to perform final combination."); 164 165 psFree(stack); … … 202 203 203 204 // Prepare for combination 204 if (!ppStackCombinePrepare( "PPSTACK.UNCONV", "PPSTACK.UNCONV.EXP", PPSTACK_FILES_UNCONV,205 if (!ppStackCombinePrepare(&options->unconvRO, "PPSTACK.UNCONV", PPSTACK_FILES_UNCONV, 205 206 stack, options, config)) { 206 207 psError(psErrorCodeLast(), false, "Unable to prepare for combination."); … … 210 211 211 212 psTrace("ppStack", 2, "Stack of unconvolved images....\n"); 212 if (!ppStackCombineFinal( stack, options->origCovars, options, config,213 if (!ppStackCombineFinal(options->unconvRO, stack, options->origCovars, options, config, 213 214 false, true, false)) { 214 215 psError(psErrorCodeLast(), false, "Unable to perform unconvolved combination."); … … 225 226 } 226 227 ppStackFileActivation(config, PPSTACK_FILES_UNCONV, false); 227 options->outRO->data_exists = false; 228 options->outRO->parent->data_exists = false; 229 options->outRO->parent->parent->data_exists = false; 230 psFree(options->outRO); 231 options->outRO = NULL; 232 options->expRO->data_exists = false; 233 options->expRO->parent->data_exists = false; 234 options->expRO->parent->parent->data_exists = false; 235 psFree(options->expRO); 236 options->expRO = NULL; 228 options->unconvRO->data_exists = false; 229 options->unconvRO->parent->data_exists = false; 230 options->unconvRO->parent->parent->data_exists = false; 231 psFree(options->unconvRO); 232 options->unconvRO = NULL; 237 233 238 234 for (int i = 0; i < options->num; i++) {
Note:
See TracChangeset
for help on using the changeset viewer.
