IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 5, 2006, 3:29:58 PM (20 years ago)
Author:
Paul Price
Message:

Adding shutter correctins.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppMerge/src/ppMergeScaleZero.c

    r8847 r9325  
    159159    psImage *background = psImageAlloc(data->numCells, filenames->n, PS_TYPE_F32); // Background measurements
    160160    psImageInit(background, NAN);
    161     psStats *bgStats = psStatsAlloc(options->background); // Statistic to measure the background
     161    psStats *bgStats = psStatsAlloc(options->mean); // Statistic to measure the background
    162162    psVector *gains = NULL;             // The gains for each cell
    163163    psImage *exptime = NULL;            // The exposure time for each integration of each cell
     
    265265                    psFree(sample);
    266266                    psFree(sampleMask);
    267                     background->data.F32[i][cellNum] = getStat(bgStats, options->background);
     267                    background->data.F32[i][cellNum] = getStat(bgStats, options->mean);
    268268                    psTrace(__func__, 3, "Background for %s, cell %d is %f\n", name, cellNum,
    269269                            background->data.F32[i][cellNum]);
Note: See TracChangeset for help on using the changeset viewer.