Minor changes

pull/37/head
Cees Bassa 2019-08-11 18:55:05 +02:00
parent 326e822f17
commit a6344f628a
2 changed files with 3 additions and 0 deletions

View File

@ -95,6 +95,7 @@ def capture_asi(buf, z1, t1, z2, t2, nx, ny, nz, tend, device_id, live, gain,
camera.set_control_value(asi.ASI_GAIN, gain, auto=autogain)
camera.set_control_value(asi.ASI_EXPOSURE, exposure, auto=False)
camera.set_control_value(asi.ASI_AUTO_MAX_GAIN, maxgain)
camera.set_control_value(asi.ASI_AUTO_MAX_BRIGHTNESS, 20)
camera.set_control_value(asi.ASI_WB_B, 99)
camera.set_control_value(asi.ASI_WB_R, 75)
camera.set_control_value(asi.ASI_GAMMA, 50)

View File

@ -169,6 +169,7 @@ def store_results(ident, fname, path, iod_line):
pngfile = fname.replace(".fits", "_%05d.png" % ident.norad)
shutil.copy2(fname, dest)
shutil.copy2(fname + ".cat", dest)
shutil.copy2(fname + ".cal", dest)
shutil.copy2(fname + ".id", dest)
shutil.copy2(fname + ".png", dest)
if os.path.exists(pngfile):
@ -189,6 +190,7 @@ def store_not_seen(ident, fname, path):
# Copy files
shutil.copy2(fname, dest)
shutil.copy2(fname + ".cat", dest)
shutil.copy2(fname + ".cal", dest)
shutil.copy2(fname + ".id", dest)
shutil.copy2(fname + ".png", dest)