IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 21, 2010, 10:20:57 AM (16 years ago)
Author:
eugene
Message:

need to remove CELL.READNOISE.UPDATE after gain is set

File:
1 edited

Legend:

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

    r26629 r26654  
    114114                                        "--- setting to unity.",
    115115                                        view->chip, view->cell, view->readout, i);
    116                               psMetadataItem *item = psMetadataLookup(cell->concepts,
    117                                                                       "CELL.GAIN"); // Item with gain
     116                              psMetadataItem *item = psMetadataLookup(cell->concepts, "CELL.GAIN"); // Item with gain
    118117                              psAssert(item, "Should be there!");
    119118                              item->data.F32 = 1.0;
     119                             
     120                              // for unity gain, there is no modification for the readnoise, note that it has (effectively) been updated
     121                              psMetadataRemoveKey(cell->concepts, "CELL.READNOISE.UPDATE");
    120122                          } else {
    121123                              // psError(PS_ERR_BAD_PARAMETER_VALUE, false,
Note: See TracChangeset for help on using the changeset viewer.