what does it mean when a pixel is assigned a value >= 2^12? I am getting values like 5251, for which log base 2 is ~12.36.
for purposes of preparing to stack images, what then would be the maximum value returned for each pixel?
i am assuming but do not know that this function feeds the INDI function ExposureComplete of PrimaryCCD else there may be an intermediary transformation.
Because in computer system, the length of the data is usually 8bit, 16 bits, 32bit or 64bit. So when we get a 12bit data from sensor, we will move 4bit left, and fix 0 into the low 4 bit. After this, we will get a 16bit data. This means when we get 1 from sensor, we will output 16.
For your value of 5251, I am not sure if your image had beed processed. Usually, if it is the raw data, this should not happen. We did not find this problem before. So I think you can make sure that if your image is the raw data. If not the raw data, after processed, this value is normal.
Usually, during the exposure, modifying the gain is useless. Usually, after the exposure starts, even if the gain and brightness are modified, the sensor will only take effect on the next image.