Files
x11ma/script/test/test_peemcam_scan.py
gac-x11ma 8aefd82ba7
2024-03-19 16:16:03 +01:00

12 lines
341 B
Python

from datetime import datetime
#filename = get_exec_pars().path + "/test.tiff"
filename = expand_path("{data}/{year}_{month}/{date}/{date}/test_{dseq}.tiff")
trigger_peemcam()
time_str = datetime.now().strftime("%m/%d/%Y, %H:%M:%S")
matadata = {"time": time_str}
save_as_tiff(img_peemcam.data, FILENAME, show = True, metadata=matadata)