instamatic-dev / instamatic

Python program for automated electron diffraction data collection
https://instamatic.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
58 stars 26 forks source link

Write the data acquisition parameters to a more easily parsed file #95

Open iverks opened 1 week ago

iverks commented 1 week ago

Hi, thanks for the great library.

It would be even better if the data acquisition parameters (e.g. cRED_log.txt) were written to a standard file format (.json, .yaml or .toml) to make it easier to create automation scripts without writing a custom parser.

stefsmeets commented 1 week ago

Fully agree, I think yaml would be a good choice here. Is this something you would be willing to help out with?

iverks commented 6 days ago

Yes of course. Do you want it to be as well as or instead of the cRED_log.txt?

stefsmeets commented 6 days ago

I don't think it hurts to keep it for a while, but I also think yaml is the way forward for this. It should be easy to deprecate the cred_log.txt in a while.