Re: Save as RAW (32bit) & Sigma Clipping Stacking algorithm
Posted: Fri Mar 16, 2018 11:35 am
Another test.
I wrote a script that saves 16 & 32 bit images with increasing exposure values. This is the script:
And this is the result:
When exposure arrives 1.2ms the 32 bit file is ok. This was done with gain at 10. If I increase gain to 50 32 bit file works ok with an exposure value of 0.6ms.
It seems that if the image has low brightness sigma clipping algorithm fails. I will try to reproduce it with another camera.
--
Fernando
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