I wrote a script that saves 16 & 32 bit images with increasing exposure values. This is the script:
Code: Select all
pathDestiny="E:\\Captura\\testExpo"
numFotos=6
numStack=20
for i in range(numFotos):
exp=0.3*(i+1)
SharpCap.SelectedCamera.Controls.Exposure.Value = exp
if (SharpCap.LiveStacking.IsActive):
filename="%s\\Fot_%d.fits"%(pathDestiny,i)
filename16="%s\\Fot_%d_16b.fits"%(pathDestiny,i)
SharpCap.LiveStacking.Reset()
SharpCap.LiveStacking.Parameters.Paused=False
while (SharpCap.LiveStacking.TotalFrames < numStack):
time.sleep(1)
SharpCap.LiveStacking.Parameters.Paused=True
SharpCap.LiveStacking.SaveFrame(32, filename)
SharpCap.LiveStacking.SaveFrame(16, filename16)
It seems that if the image has low brightness sigma clipping algorithm fails. I will try to reproduce it with another camera.
--
Fernando