fix #159 Record proper GAIN and EGAIN FITS keywords
Dale Ghent
Branch: Deleted repository:fits-egain
Deleted repository:fits-egain
Branch: Isbeorn/nina:develop
Isbeorn/nina:develop
Merged
#181 · Created  · Last updated
Description
This fixes use of the EGAIN FITS keyword and introduces the GAIN FITS keyword.
A new ICamera interface named ElectronsPerADU has been introduced to allow a camera driver to report e- per ADU for the sensor. If present, this value is assigned to the EGAIN FITS keyword. The actual camera gain is now reflected in the GAIN keyword. ElectronsPerADU is a double and camera drivers should report NaN if they are not able to provide this value.
This fixes use of the
EGAIN
FITS keyword and introduces theGAIN
FITS keyword.A new
ICamera
interface namedElectronsPerADU
has been introduced to allow a camera driver to report e- per ADU for the sensor. If present, this value is assigned to theEGAIN
FITS keyword. The actual camera gain is now reflected in theGAIN
keyword.ElectronsPerADU
is adouble
and camera drivers should reportNaN
if they are not able to provide this value.