Skip to content
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

Optimise reading of parameters in LVM post-processing #24

Closed
albireox opened this issue Jun 1, 2021 · 0 comments · Fixed by #33
Closed

Optimise reading of parameters in LVM post-processing #24

albireox opened this issue Jun 1, 2021 · 0 comments · Fixed by #33
Assignees

Comments

@albireox
Copy link
Member

albireox commented Jun 1, 2021

Currently we read all the necessary parameters for the LVM headers (pressure, temperatures, hartmann door positions) after the exposure has been read, in the delegate post-process. This is moderately slow (maybe a couple seconds). There are two options to optimise it:

  • Make the delegate aware of the LVM status keywords and cache them. Then use the last seen values when building the header. This would require running archon lvm status on a certain interval (shorter than a readout).
  • Execute the post_process() method during readout, asynchronously. This would require some changes to the general delegate and the basic header may also need to be created during readout.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant