Skip to main content

A set of python modules for producing simple plots, statistics, common calculations, coordinate conversions, and manipulating FITS images with World Coordinate System (WCS) information

Project description

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.

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

astlib-0.13.1.tar.gz (8.3 MB view details)

Uploaded Source

File details

Details for the file astlib-0.13.1.tar.gz.

File metadata

  • Download URL: astlib-0.13.1.tar.gz
  • Upload date:
  • Size: 8.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for astlib-0.13.1.tar.gz
Algorithm Hash digest
SHA256 4fc5f10396cefe25886c71bf1d6e6d00e730c41b7d122ef56c13d457c094ce45
MD5 f154c39288dd0837b100a0aa076bfb25
BLAKE2b-256 6918a6de29289a1b001fc845a9274beac98ae00184fe3da070e11e14484eb83c

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