Toolset for interacting with the Nordic Optical Telescope (NOT)
Project description
betterNOT
Toolset for preparing observations with the Nordic Optical Telescope (NOT). Currently only set up to work with ZTF transients. You need Fritz credentials.
The observability code is largely based on the NOT Observing Tools
by Steve Schulze.
Note the observation guidelines
Installation
Simply run pip install betternot
.
If you want to make local changes, clone the repository, cd
into it and issue poetry install
.
Usage
Prepare observations
The observation planning can be run with a command line interface. Simply issue
not ZTF23changeit ZTF23thistoo ...
This will generate a standard star observability plot, create an observability plot for all ZTF objects, download the finding charts for them from Fritz and print the coordinates as well as the last observed magnitude. They will all end up in the betternot/DATE
directory.
Optionally, you can specify a desired date with -date YYYY-MM-DD
(the default is today). You can also specify a telescope site with -site SITE
(available sites are listed here). Default is the NOT site (Roque de los Muchachos).
Uploading spectra to WISeREP
You will need a TNS and WISeREP bot token for this. Uploading spectra can be done as follows:
import logging
from betternot.wiserep import Wiserep
logging.basicConfig()
logger = logging.getLogger()
logger.setLevel(logging.DEBUG)
Wiserep(
ztf_id="ZTF23aaawbsc",
spec_path="ZTF23aaawbsc_combined_3850.ascii",
sandbox=True,
quality="high", # "low", "medium" or "high". Default: "medium"
)
This will check TNS if an IAU object exists at the ZTF transient location, open the spectrum, extract the metadata, and upload the file to WISeREP as well as a report containing the extracted metadata.
After checking with the WISeREP sandbox that everything works fine, use sandbox=False
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for betternot-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1fbfb3e6f7637129d6580b5ddcdb0a3a3a9a5059e42e1a20099226c4cf4e9b1c |
|
MD5 | 3cf8414bbe4f56156d917f403d2b1988 |
|
BLAKE2b-256 | a5d9b1c7cdf77e179fa161d954a9b1c83a74ab5f29810410e0c9f74daffb110d |