-
Notifications
You must be signed in to change notification settings - Fork 15
ACU: Restore and enhance "fromfile" functionality #876
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
Conversation
- fromfile_scan is now a process rather than a task, because it can run ad infinitum (like generate_scan). - New file format is supported -- pickle-based, so user can pass a dict with the "free_form" and "loopable" options. - _run_track now explicitly sets the ACU profiler and interpolation modes. This will ensure that standard generate_scans are always run with those in the classic way.
6d5cf7e to
cc82a05
Compare
BrianJKoopman
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good. I mostly had docstring syntax related comments, but also some questions about looping from files.
BrianJKoopman
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, one other general comment related to resolving #864. Does this now "specify what to do with el / corot axes (stop / preset / following)"?
No, but it's a step in right direction. I propose to close that issue and re-open if those features become critical. |
|
Thanks, I believe I've addressed all items. The |
BrianJKoopman
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks for the updates!
(Note this PR includes #865 -- can be rebased once that is merged.)
Description
There are some interface changes here, in fromfile_scan, but that function has not been broadly used and is not implicated in regular observations.
Motivation and Context
Resolves #864.
How Has This Been Tested?
Tested with simulator; tested on LAT to confirm that generate_scan works as before, and also tested a sine-like trajectory for the free_form, fromfile mode.
Types of changes
Checklist: