Minor changes
parent
326e822f17
commit
a6344f628a
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue