Changeset 9325 for trunk/ppMerge/src/ppMergeScaleZero.c
- Timestamp:
- Oct 5, 2006, 3:29:58 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/ppMerge/src/ppMergeScaleZero.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppMerge/src/ppMergeScaleZero.c
r8847 r9325 159 159 psImage *background = psImageAlloc(data->numCells, filenames->n, PS_TYPE_F32); // Background measurements 160 160 psImageInit(background, NAN); 161 psStats *bgStats = psStatsAlloc(options-> background); // Statistic to measure the background161 psStats *bgStats = psStatsAlloc(options->mean); // Statistic to measure the background 162 162 psVector *gains = NULL; // The gains for each cell 163 163 psImage *exptime = NULL; // The exposure time for each integration of each cell … … 265 265 psFree(sample); 266 266 psFree(sampleMask); 267 background->data.F32[i][cellNum] = getStat(bgStats, options-> background);267 background->data.F32[i][cellNum] = getStat(bgStats, options->mean); 268 268 psTrace(__func__, 3, "Background for %s, cell %d is %f\n", name, cellNum, 269 269 background->data.F32[i][cellNum]);
Note:
See TracChangeset
for help on using the changeset viewer.
