Changeset 34667
- Timestamp:
- Nov 15, 2012, 5:56:47 PM (14 years ago)
- Location:
- branches/czw_branch/20120906
- Files:
-
- 3 edited
-
ppStack/src/ppStackCombinePrepare.c (modified) (2 diffs)
-
ppStack/src/ppStackThread.c (modified) (1 diff)
-
psModules/src/imcombine/pmStack.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/czw_branch/20120906/ppStack/src/ppStackCombinePrepare.c
r34666 r34667 26 26 pmCell *cell = pmFPAfileThisCell(config->files, view, outName); // Output cell 27 27 options->outRO = pmReadoutAlloc(cell); // Output readout 28 29 pmCell *expCell = pmFPAfileThisCell(config->files, view, expName); // Exposure cell30 options->expRO = pmReadoutAlloc(expCell); // Output readout31 28 29 if (expName) { 30 pmCell *expCell = pmFPAfileThisCell(config->files, view, expName); // Exposure cell 31 options->expRO = pmReadoutAlloc(expCell); // Output readout 32 } 33 else { 34 options->expRO = NULL; 35 } 32 36 pmCell *bkgCell; 33 37 int bkg_r0,bkg_c0; … … 78 82 } 79 83 80 if (!pmReadoutStackDefineOutput(options->expRO, col0, row0, numCols, numRows, true, true, 0)) { 84 if (expName) { 85 if (!pmReadoutStackDefineOutput(options->expRO, col0, row0, numCols, numRows, true, true, 0)) { 81 86 psError(PPSTACK_ERR_ARGUMENTS, false, "Unable to prepare output."); 82 87 return false; 88 } 83 89 } 84 90 -
branches/czw_branch/20120906/ppStack/src/ppStackThread.c
r34666 r34667 97 97 psFree(resolved); \ 98 98 } 99 fprintf(stderr,"ppST:99 %s %s\n",pmConfigConvertFilename(imageNames->data[i], config, false, false),100 (char*)imageNames->data[i]);101 99 102 100 IMAGE_OPEN(imageNames, stack->imageFits, i); -
branches/czw_branch/20120906/psModules/src/imcombine/pmStack.c
r34516 r34667 1401 1401 } 1402 1402 combined->image->data.F32[y][x] = stats->robustMedian; 1403 combined->mask->data.PS_TYPE_IMAGE_MASK_DATA[y][x] = 0; 1403 1404 } 1404 1405 }
Note:
See TracChangeset
for help on using the changeset viewer.
