IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 4, 2007, 3:58:02 PM (19 years ago)
Author:
Paul Price
Message:

Only generate a mask for certain types.

File:
1 edited

Legend:

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

    r13593 r13624  
    163163                    // Only reading and writing the first readout in each cell (plane 0)
    164164                    if (pmReadoutReadNext(stack->data[i], fits, 0, options->rows)) {
    165                         // If the mask value is set, we want to generate a mask
    166                         if (options->combine->maskVal) {
     165                        // If we're creating a bias or a dark, we don't want to generate a mask
     166                        if ((options->zero || options->scale || options->shutter || options->mask) &&
     167                            options->combine->maskVal) {
    167168                            pmReadoutSetMask(stack->data[i], options->satMask, options->badMask);
    168169                        }
Note: See TracChangeset for help on using the changeset viewer.