Skip to content

rts2solib important information

David Sand edited this page Dec 13, 2021 · 2 revisions

This text has been copied from this google doc: https://docs.google.com/document/d/18Xr6uQQizJHLIEkhqbJ-uOfTRr2v5vcn6HVpIXeIIJ8/edit?usp=sharing

https://github.com/so-artn/rts2solib

Description

Mainly Scott Swindell/Petr K. code to communicate with rts2.

Everything in the rts2solib/rts2solib folder is mainly communication classes with rts2 and database communicators for rts2. There is the filter set class in there which is critical for operation and is used in the flat artn. I believe we still need to make it to dynamically load in filters and not from a hardcoded list.

Branches

  • Master -- Everything is up to date
  • py3 -- [Note that this branch does not seem to exist anymore?] Cannot delete this because there is an open pull request by someone. I commented on the merge commit and hopefully scott can delete it

Which Python

When developing these scripts please use the python at

#!/home/rts2obs/anaconda3/bin/python3

Important Scripts and symbolic links

Flat Script

/etc/rts2/flat_artn - > /home/rts2obs/git-clones/rts2solib/scripts/flat_artn.py

Old flat script used in the beginning and end of the night

/etc/rts2/flat_artn.py

New flat script used in the beginning and end of the night

Focus Script

/etc/rts2/rts2-focusing - > /home/rts2obs/git-clones/rts2solib/scripts/rts2-focusing

The focusing script used when focus object is taken

At some point this should be changed to a simple /etc/rts2/rts2-focusing.py to be consistent with the other scripts!

Test Image Script

/etc/rts2/rts2-testimage - > /home/rts2obs/git-clones/rts2solib/scripts/rts2-testimage

Old test image script used when a test image is taken

/etc/rts2/rts2-testimage.py

New test image script used when a test image is taken

Target Script; Main Script when taking an image

/etc/rts2/targetscript.py - > /home/rts2obs/git-clones/rts2solib/scripts/targetscript.py The main script called when taking an image

At some point this should be changed to a simple /etc/rts2/rts2-focusing.py to be consistent with the other scripts!

Script to start servers?

scripts/startserversremote.sh

Not sure what this does?

/etc/rts2/services - > /home/rts2obs/git-clones/rts2solib/rts2-config/services

Configure rts2 image paths and scripts

/etc/rts2/rts2.ini - > /home/rts2obs/git-clones/rts2solib/rts2-config/rts2.ini

Configure rts2 like image paths, scripts to run for exposing, limits, etc

Horizon Limits of Telescope

/etc/rts2/horizon - > /home/rts2obs/git-clones/rts2solib/rts2-config/horizon

horizon limits of the telescope

Device info

/etc/rts2/devices - > /home/rts2obs/git-clones/rts2solib/rts2-config/devices

Modify this to add, remove, or rename devices that rts2 will use in operation

Fits template file?

/etc/rts2/fitstemplate.ini - > /home/rts2obs/git-clones/rts2solib/rts2-config/fitstemplate.ini

fits template file for rts2

Clone this wiki locally