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.12.0.tar.gz (10.0 MB view details)

Uploaded Source

Built Distribution

astLib-0.12.0-cp39-cp39-macosx_10_9_universal2.whl (997.2 kB view details)

Uploaded CPython 3.9 macOS 10.9+ universal2 (ARM64, x86-64)

File details

Details for the file astLib-0.12.0.tar.gz.

File metadata

  • Download URL: astLib-0.12.0.tar.gz
  • Upload date:
  • Size: 10.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for astLib-0.12.0.tar.gz
Algorithm Hash digest
SHA256 c189dc08a52408ac7c1266778f702283d1ad33a6e96539293322b1515c9e4d23
MD5 83030adcec51671402617904e0ddcc70
BLAKE2b-256 e18cdb6907a1e27a7fb67108d4447b26dcca2d2f66dca17d1a599d6eedb77d82

See more details on using hashes here.

File details

Details for the file astLib-0.12.0-cp39-cp39-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for astLib-0.12.0-cp39-cp39-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 ff04b8435be1f114cf251d51683a65aee311a161af7adb7a0dc51b22da2d28c5
MD5 fd0e35c29c48b28c42fa10c7182253a7
BLAKE2b-256 dd8d75f3d75815ee2845409b37b4c3043eef264d106abbfa32ad7579afcbe9b0

See more details on using hashes here.

Supported by

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