Skip to main content

A python package for planning astronomical observations with the South African Large Telescope.

Project description

SALTishaker

SALTishaker Logo

SALTishaker is a specialized Python package designed for planning astronomical observations with the Southern African Large Telescope (SALT).

Because SALT operates with a unique fixed-altitude design (pointing permanently at 37 degrees from the zenith), planning observations requires calculating complex visibility tracks based on Earth's rotation and a physical payload tracker. saltishaker handles these calculations for you, providing high-performance visibility windows, track lengths, and integration with the broader astroplan ecosystem.

Key Features

  • Visibility Windows: Calculate exactly when (UTC) a specific star or galaxy will drift into SALT's field of view.
  • Track Lengths: Determine how long SALT can track a target before it hits the edge of its operational limits.
  • Astroplan Integration: Use SALT-specific tracking and lunar constraints directly within astroplan scheduling.
  • Semester Planning: Automatically calculate visibility statistics and nights for entire 6-month SALT observing semesters.
  • Singleton Tracking Model: Efficient data loading and high-performance interpolation.

Installation

pip install saltishaker

For development installation:

git clone https://github.com/enzo-peres-afonso/SALTshaker.git
cd SALTshaker
poetry install

Quick Start

from saltshaker import get_salt_observer
from astropy.coordinates import SkyCoord
from astropy.time import Time

# Initialize the observer
observer = get_salt_observer()

# Define a target
target = SkyCoord.from_name("Sirius")
time = Time("2026-01-15 12:00:00")

# Get visibility tracks
tracks = observer.get_tracks(target, time)

for track in tracks:
    print(f"Visible from {track.start_time_utc} to {track.end_time_utc}")

Documentation

Full documentation, including a theoretical background on SALT visibility and a "Proposer's Cookbook" of examples, is available at:

[Link to your documentation site - e.g., ReadTheDocs or GitHub Pages]

License

This project is licensed under the MIT License - see the LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

saltishaker-0.1.0.tar.gz (109.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

saltishaker-0.1.0-py3-none-any.whl (110.1 kB view details)

Uploaded Python 3

File details

Details for the file saltishaker-0.1.0.tar.gz.

File metadata

  • Download URL: saltishaker-0.1.0.tar.gz
  • Upload date:
  • Size: 109.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.12.4 Darwin/25.3.0

File hashes

Hashes for saltishaker-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6166b0b34e2612fc5ee6fb04009d7df793b736e6489d6f03767d8f63b667c256
MD5 4f893658a5bfbbedc5a48bae87d61e87
BLAKE2b-256 0cca12d6762fd22eaacd56b8a7d2737643ffc2ee496c2750ffc46b01dc53afe8

See more details on using hashes here.

File details

Details for the file saltishaker-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: saltishaker-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 110.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.12.4 Darwin/25.3.0

File hashes

Hashes for saltishaker-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8491e1a2ebe194794d44f35eee3e452acb5fdc034292a692ef071c830d9e2d84
MD5 d731eebbaf27dc0dc638aac2b916bf7e
BLAKE2b-256 21aae3123dd241d0573c6ca0c0a3624b6adc1ec271fbfea139ff8a10c28f49ba

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page