I am using the ASCOM driver with MaxIm.
I notice that EGAIN in the fits header is set by the driver.
However the value is apparently based on 12 bits native.
As the driver software scales the data by a factor of 16 to map ADU from 12 bits to 16 bits, the EGAIN should be scaled accordingly by dividing the value by 16.
P. Henrotay