IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 8, 2008, 2:32:17 PM (18 years ago)
Author:
eugene
Message:

set gain to 1.0 if it is not found

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/concepts/pmConceptsStandard.c

    r20095 r20598  
    113113                        float gain = psMetadataLookupF32(NULL, cell->concepts, "CELL.GAIN"); // Gain (e/ADU)
    114114                        if (!isfinite(gain)) {
    115                             psWarning("CELL.READNOISE is supposed to be in ADU, but CELL.GAIN isn't set");
     115                            psWarning("CELL.READNOISE is supposed to be in ADU, but CELL.GAIN isn't set -- forcing to 1.0");
     116                            gain = 1.0;
    116117                        }
    117118                        rn /= gain;
Note: See TracChangeset for help on using the changeset viewer.