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

Reduce overheads and support dithering #11

Merged
merged 15 commits into from
Sep 12, 2023
Merged

Conversation

albireox
Copy link
Member

@albireox albireox commented Sep 12, 2023

This PR focuses on improving overheads during normal tiled observations. It also enables dithering. It is meant to run alongside lvmguider 0.4.0.

  • Remove calls to lvmguider stop --now. The new stop command always cancels the guider task.
  • Added pre-readout hook for Exposure.
  • Allow GortObserver to read out an exposure asynchronously.
  • Gort.observe_tile() will by default read the last exposure asynchronously to allow for the next slew and acquisition to happen during readout.
  • Added a context manager GortObserver.register_overhead() that measured the elapsed time in different parts of the slew and acquisition process and records the values to the database.
  • The dither positions associated with a Tile are now a list of positions that the scheduler wants us to observe. Gort.observe_tile() will try to observe all dither positions without stopping the guider.
  • Added Gort.observe() with a simple loop for observing tiles.

@albireox albireox merged commit cb09a28 into main Sep 12, 2023
2 checks passed
@albireox albireox deleted the albireox-improve-overheads branch September 12, 2023 14:24
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 this pull request may close these issues.

1 participant