Skip to main content
https://readthedocs.org/projects/astlib/badge/?version=latest

astLib provides some tools for research astronomers who use Python.

astLib is divided into several modules:

  • astCalc (general calculations, e.g. luminosity distance etc.)

  • astCoords (coordinate conversions etc.)

  • astImages (clip sections from .fits etc.)

  • astPlots (provides a flexible image plot class, e.g. plot image with catalogue objects overlaid)

  • astSED (calculate colours, magnitudes from stellar population models or spectral templates, fit photometric observations using stellar population models etc.)

  • astStats (statistics, e.g. biweight location/scale estimators etc.)

  • astWCS (routines for using FITS World Coordinate System information)

The astWCS module is a higher level interface to PyWCSTools, a simple SWIG (http://www.swig.org) wrapping of some of the routines from WCSTools by Jessica Mink (http://tdc-www.harvard.edu/software/wcstools/). It is used by some routines in astCoords, astImages and astPlots.

The goal of astLib was to provide features useful to astronomers that are not included in the scipy (http://scipy.org), numpy (http://numpy.scipy.org) or matplotlib (http://matplotlib.sourceforge.net) modules on which astLib depends. For a far more extensive set of Python astronomy modules, see astropy (http://www.astropy.org/).

Some scripts using astLib can be found in the examples/ folder provided with the source code distribution.

Metadata

Release files for astLib 0.13.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 astLib 0.13.2
File Size Uploaded Provenance Actions
astlib-0.13.2.tar.gz 8.3 MB Without provenance Details for astlib-0.13.2.tar.gz

Release files / astlib-0.13.2.tar.gz

Download URL astlib-0.13.2.tar.gz
Size 8.3 MB
Tags Source
SHA-256 checksum
How to use checksums
f2f4f978cbf6518136be582f709ce18296029006a30330d17befe95ca659584d
BLAKE2b-256 checksum
How to use checksums
dfee682e8212fe5008eebc475218e3cd633b73637b354836d200a0c50d9b47e4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.3

Security for astLib 0.13.2

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