Swope-GUI Software Documentation - Scripts


Location of this document: http://instrumentation.obs.carnegiescience.edu/Software/Swope/scripts.html


Create a plain text file (ASCII) in $HOME using your favourite editor. Any parameter not given in the script will be taken from the GUI. The Swope-GUI supports the followings commands:

exptype name
exptime #
loops #
filter name
object text
comment text
start
Note: Please set the exptype before any other exposure parameter (eg. exptime, loops) because setting the exposure type may affect other exposure parameters.

Example: linearity, a script that runs Carlos' linearity test. This simple script assumes that you set the filter (v) and exposure type (dflat) via the GUI.
Note: The Focus exposure type can not be used within a script.

Enter the filename into the edit-box to the right of the Execute button and press the Execute button.

You may copy the script(s) to the /Users/Shared/Library/Application Support/Swope/Scripts directory where it will "survive" an account reset and be available for your next run.
This is the default path for the Execute script button. If a macro does not exist there the GUI will try to find it in $HOME.


2014-08-27, Christoph C. Birk, Carnegie Observatories