Skip to main content

GSselect

This repository provides a python example of using the Gemini Observatory API for triggering template observations that are On Hold. Details of the ToO activation process are given here. The document urltoo_readme.txt give more details about the API.

The example triggering script is urltrigger.py but most of the code is for selecting a guide star. The triggering API does not support the new automated guide star selection features in the Observing Tool. The script gsselect.py mimics these features and should find an appropriate guide star if one is available in the UCAC4 catalog. It can also display the guide star candidates and the wavefront sensor field of view on a DDS image of the field.

Gsselect also has a 'find' position angle (PA) feature that we never implemented in the OT. This will pick the best guide star available and set the PA so that it is reachable. This is useful with the GMOS and F2 OIWFS guide probes if the PA is unimportant.

Installation

The scripts require a standard Python distribution that includes numpy (at least 1.15.4), matplotlib, astropy, and requests.

Then install the scripts by downloading and unpacking the zip file or use git, e.g.

git clone https://github.com/bryanmiller/gsselect.git

The gsselect guide star selection routines can also be installed as a pip package with

pip install gsselect

Authentication

Authentication for the trigger requires a 'user key' for the Observing Tool that is associated with an email address that is included in the active program. See this page for more information on user keys and how to obtain one.

Release files for gsselect 1.3.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gsselect 1.3.2
File Size Uploaded
gsselect-1.3.2.tar.gz 17.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gsselect 1.3.2
File Interpreter ABI Platform
gsselect-1.3.2-py3-none-any.whl Python 3 none any Details

Total release size: 30.9 kB

Release files / gsselect-1.3.2.tar.gz

Download URL gsselect-1.3.2.tar.gz
Size 17.7 kB
Tags Source
SHA-256 checksum
How to use checksums
842d725ef94ef19fed9d754d28cc645ce28c36ee6880c1061315d24412884cd3
BLAKE2b-256 checksum
How to use checksums
2aa64c9386014b0c134a5a601c96dd5041fcc42033b799ec583647f114bb85e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/0.0.0 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.6.13

Release files / gsselect-1.3.2-py3-none-any.whl

Download URL gsselect-1.3.2-py3-none-any.whl
Size 13.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0395c164e9a76eac395f10bb41c372daa244f04d769ff0fd24e2fb62f23b457c
BLAKE2b-256 checksum
How to use checksums
72928ea53630db7a4ac0805f278edc22c44691e62a748e396dad31984ad0e67b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/0.0.0 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.6.13

Release history Release notifications | RSS feed

This release

1.3.2 This release

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.2.0

3 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page