IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 13, 2008, 11:20:36 AM (18 years ago)
Author:
Paul Price
Message:

Allowing CELL.READNOISE to be specified in ADU instead of electrons. This requires updating the parsed value with the gain when it's available. Added a check at the principal (only?) place this value is used (pmReadoutSetWeight) so that errors can be trapped.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/camera/pmFPAMaskWeight.c

    r19163 r20095  
    212212    if (!mdok || isnan(readnoise)) {
    213213        psError(PS_ERR_IO, true, "CELL.READNOISE is not set --- unable to set weight.\n");
     214        return false;
     215    }
     216    if (psMetadataLookup(cell->concepts, "CELL.READNOISE.UPDATE")) {
     217        psError(PS_ERR_IO, true, "CELL.READNOISE has not yet been updated for the gain");
    214218        return false;
    215219    }
Note: See TracChangeset for help on using the changeset viewer.