This module adds Liverpool Telescope support to the TOM Toolkit.
The module implements an RTML (Remote Telescope Markup Language) payload which is sent directly to the Liverpool Telescope. Using this module TOMs can submit observations to the Liverpool Telescope Phase 2 system. In order to modify or delete observations, users will need to log in and use the current Phase 2 tool.
Install the module into your TOM environment:
pip install tom-lt
Add tom_lt.lt.LTFacility
to the TOM_FACILITY_CLASSES
in your TOM's
settings.py
:
TOM_FACILITY_CLASSES = [
'tom_observations.facilities.lco.LCOFacility',
...
'tom_lt.lt.LTFacility',
]
Include the following settings inside the FACILITIES
dictionary inside settings.py
:
FACILITIES = {
...
'LT': {
'proposalIDs': (('ProposalID', 'Display Name'), ('ProposalID', 'Display Name')),
'username': '',
'password': '',
'LT_HOST': '',
'LT_PORT': '',
'DEBUG': False,
},
}
The proposalIDs key contains a list of proposalIds and the Display name in the TOM Toolkit LT submission form. For one proposal, use a single element list (e.g. 'proposalIDs': (('ProposalID', 'Display Name'),)
The Liverpool Telescope team will need to enable RTML access for the proposal (or proposals) being used. Please email ltsupport_astronomer@ljmu.ac.uk, providing details of your active proposal. Once the proposal is enabled for RTML access, we will email you back user credentials and the required IP Address / Port for connection to the telescope.
Please refrain from publishing your user credentials, or the LT IP Address to any public github account