CampbellGroup / common

Shared campbell lab code.
GNU Lesser General Public License v3.0
8 stars 5 forks source link

iXonServer save picture format #198

Closed fanmingyu212 closed 7 years ago

fanmingyu212 commented 7 years ago

The picture saving format is ambiguous. For example, a picture taken at 2017-09-07 09:03:24:091 is saved as "201797932491.csv", which may cause confusion on the date and time. The file format is also not CSV too.

fanmingyu212 commented 7 years ago

@aransfor Do you think changing the data format to csv is a good idea? Also there are many trailing zeros in the saved data because the program saves too many digits. Maybe the saved digits can be reduced to minimize file size.

aransfor commented 7 years ago

I'm not sure what you guys are referring to, we save pictures in two ways, 1. Right click and save 2. Through the server us get image which returns a numpy array. Both of these methods allow saving of files however you please

fanmingyu212 commented 7 years ago

Do you use the checkbox "Save Images" in the iXonServer GUI interface? The code associated is https://github.com/CampbellGroup/common/blob/master/lib/servers/iXonServer/AndorVideo.py#L212. We are using this checkbox to save images.