Changeset 27400 for trunk/ppStack/src/ppStackLoop.c
- Timestamp:
- Mar 22, 2010, 8:34:28 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/ppStack/src/ppStackLoop.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppStack/src/ppStackLoop.c
r27343 r27400 111 111 112 112 // Prepare for combination 113 if (!ppStackCombinePrepare( &options->outRO, "PPSTACK.OUTPUT", PPSTACK_FILES_STACK,113 if (!ppStackCombinePrepare("PPSTACK.OUTPUT", "PPSTACK.OUTPUT.EXP", 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(options->outRO, stack, options->convCovars, options, config, 163 false, false, true)) { 162 if (!ppStackCombineFinal(stack, options->convCovars, options, config, false, false, true)) { 164 163 psError(psErrorCodeLast(), false, "Unable to perform final combination."); 165 164 psFree(stack); … … 203 202 204 203 // Prepare for combination 205 if (!ppStackCombinePrepare( &options->unconvRO, "PPSTACK.UNCONV", PPSTACK_FILES_UNCONV,204 if (!ppStackCombinePrepare("PPSTACK.UNCONV", "PPSTACK.UNCONV.EXP", PPSTACK_FILES_UNCONV, 206 205 stack, options, config)) { 207 206 psError(psErrorCodeLast(), false, "Unable to prepare for combination."); … … 211 210 212 211 psTrace("ppStack", 2, "Stack of unconvolved images....\n"); 213 if (!ppStackCombineFinal( options->unconvRO,stack, options->origCovars, options, config,212 if (!ppStackCombineFinal(stack, options->origCovars, options, config, 214 213 false, true, false)) { 215 214 psError(psErrorCodeLast(), false, "Unable to perform unconvolved combination."); … … 226 225 } 227 226 ppStackFileActivation(config, PPSTACK_FILES_UNCONV, false); 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; 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; 233 237 234 238 for (int i = 0; i < options->num; i++) {
Note:
See TracChangeset
for help on using the changeset viewer.
