winter-telescope / observatory

0 stars 0 forks source link

Merging updates from focusing branch: improved focus loops and dithers #6

Closed nlourie closed 2 years ago

nlourie commented 2 years ago

Merging in TESTED code with new focusing and dither code.

Focusing Updates: Focus results are now logged to a single focus_log.json file managed with the FocusTracker object in roboOperator. This means that running a focus loop defaults to centering the throw about the last best focus result, and then (IFF the focus is good enough) the focus loop will overwrite these results.

Dither Updates: Lots of changes to roboOperator.do_currentObs() that now will load (if requested) a dither file for each observation and handle dithering and splitting up the total observing time specified in the schedule file.

Testing: Tested in overnight operation on night of 2022-01-20.