IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 25, 2010, 2:49:57 PM (16 years ago)
Author:
Paul Price
Message:

Don't reset the exposure time --- it's used in setting the zero point which has already been done, so redefining it will destroy our ZP.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppStack/src/ppStackCombineFinal.c

    r27803 r28094  
    138138    }
    139139
    140     // Set exposure time correctly
    141     {
    142         float exptime = 0.0;            // Summed exposure time
    143         for (int i = 0; i < options->num; i++) {
    144             if (options->inputMask->data.U8[i]) {
    145                 continue;
    146             }
    147             exptime += options->exposures->data.F32[i];
    148         }
    149 
    150         {
    151             psMetadataItem *item = psMetadataLookup(outRO->parent->concepts, "CELL.EXPOSURE");
    152             item->data.F32 = exptime;
    153         }
    154         {
    155             psMetadataItem *item = psMetadataLookup(outRO->parent->parent->parent->concepts, "FPA.EXPOSURE");
    156             item->data.F32 = exptime;
    157         }
    158     }
    159 
    160140    // Put version information into the header
    161141    pmHDU *hdu = pmHDUFromCell(outRO->parent);
Note: See TracChangeset for help on using the changeset viewer.