Skip to main content

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

Metadata

Release files for betternot 0.1.3

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

Source distribution (sdist)

Source distribution for betternot 0.1.3
File Size Uploaded Provenance Actions
betternot-0.1.3.tar.gz 10.7 kB Without provenance Details for betternot-0.1.3.tar.gz

Built distribution (wheel)

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

Total release size: 23.3 kB

Release files / betternot-0.1.3.tar.gz

Download URL betternot-0.1.3.tar.gz
Size 10.7 kB
Tags Source
SHA-256 checksum
How to use checksums
76b5bb9a115c55f4b6365c94c024228939746a8c36ca2a06484ab92de494c971
BLAKE2b-256 checksum
How to use checksums
2832df87cdc78894c92532a44c2ba2ec03c60a10ee9db76dd2d8eafca2d36c47
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.6.1 CPython/3.11.4 Linux/5.15.0-1041-azure

Release files / betternot-0.1.3-py3-none-any.whl

Download URL betternot-0.1.3-py3-none-any.whl
Size 12.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1e279274e8121a86ec0351d5d2b2ce984a00e0e827c2a386ad79397ec990751e
BLAKE2b-256 checksum
How to use checksums
0887681b14c8bc7c0c984a0d95e661aa5dcb16e1d77b5ace98e46219a0228101
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.6.1 CPython/3.11.4 Linux/5.15.0-1041-azure

Security for betternot 0.1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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