-
Notifications
You must be signed in to change notification settings - Fork 10
Update calib management scripts based on MagAO-X practices #48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Conversation
@oguyon @DasVinch I think this is pretty close. I want to add a pre- and post- script to cacao-calib-archive (see what I did in -apply). Been using this on MagAO-X, and using the CACAO-CONFWDIR in a script, makes a very efficient workflow. The other thing I'd like to add is a dump of fps parameters at the time the calibration is taken. |
Hi @oguyon any comments on this? If not I will merge. |
Thanks for the extensive doc. Mostly beyond you and Oli I don't think many users know how to properly use cacao-calib archive and apply. One caveat in your code: you've removed the recursive file listing
for an explicit list of files. That's both good (skip byproducts of computation that you don't want to archive) and bad (if mode naming is out of this list e.g. Zernike or custom poking instead of conventional Hadamard yielding an eventual zrespM, then your archiving is gonna skip the actually important files?). @oguyon ... |
I just updated the docs to reflect that RMmodesDM/WFS are saved. When you run the script
I did indeed change this so only the files needed to process a calibration using the latest scripts and then to load the resultant control system are copied. Copying everything in conf for every new calibration was taking up huge amounts of space. |
cacao-calib-archive and cacao-calib-apply are modified to support MagAO-X operations. This includes programmatic shutdown and restart of processes when calibration is loaded, and some symlinks pointing back to the calib directory so GUIs and other software can access meta data.