Changeset 15308 for trunk/ppMerge/src/ppMergeCombine.c
- Timestamp:
- Oct 12, 2007, 4:42:29 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ppMerge/src/ppMergeCombine.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppMerge/src/ppMergeCombine.c
r14797 r15308 212 212 psTrace("ppMerge", 5, "Chip %d, cell %d, scan %d\n", view->chip, view->cell, numScan); 213 213 if (numRead > 0) { 214 215 214 if (options->shutter) { 216 215 pmShutterCorrectionGenerate(readout, NULL, stack, shutterRef, shutters->data[cellNum], … … 365 364 psFree(rng); 366 365 366 367 // Get list of FPAs for concepts averaging 368 psList *inFPAs = psListAlloc(NULL); // List of FPAs 369 for (int i = 0; i < filenames->n; i++) { 370 if (! filenames->data[i] || strlen(filenames->data[i]) == 0) { 371 continue; 372 } 373 pmFPA *fpaIn = data->in->data[i]; // Input FPA 374 psListAdd(inFPAs, PS_LIST_TAIL, fpaIn); 375 } 376 377 if (!pmConceptsAverageFPAs(fpa, inFPAs)) { 378 psError(PS_ERR_UNKNOWN, false, "Unable to average FPA concepts."); 379 psFree(inFPAs); 380 return false; 381 } 382 psFree(inFPAs); 383 384 367 385 return true; 368 386
Note:
See TracChangeset
for help on using the changeset viewer.
