Resources

Following is a list of Python resources for astronomers. These resources include simple modules, larger packages, full analysis environments, useful documents, and web sites.

Title Description Tags
alipy Convenience script(s) around pyraf/s-extractor to align a stack of dithered FITS images. astrometry pyraf FITS script
APLpy Create publication-quality plots of astronomical imaging data plotting images FITS
asciitable Extensible ASCII table reader tables astrolib
astLib Collection of astronomy-related routines plotting coordinates statistics
AstroAsciiData AstroAsciiData is a module to handle ASCII tables tables astrolib
AstroLib Astrolib is a software repository for centralizing astronomy community contributed code for Python. astrolib repository
AstroPy mailing list for astronomers using python news scipy questions
astropysics Astrophysics utilities for python images spectra tables photometry packages astrometry
ATpy Manipulate tables of Astronomical data FITS votable IPAC SQL tables
CASA Reduction and analysis of radio astronomical data radio
ChiantiPy Interface to the CHIANTI atomic database for astrophysical spectroscopy spectra database modeling
coords Manage astronomical coordinate systems astrolib coordinates
cosmocalc Calculate useful values for a given cosmology cosmology
CosmoloPy a cosmology package for Python cosmology
deproject Deproject 3-d cluster properties from 2-d data X-ray sherpa cluster
emcee Python ensemble sampling toolkit for MCMC statistics modeling
esutil Package focused on numerical python, statistics, file i/o with astronomy specific modules. statistics cosmology coordinates WCS astrometry numpy
FortranFile Read/write fortran unformatted files fortran
HIPE Herschel Interactive Processing Environment (HIPE) in Jython 2.1 environment jython gui telescope
IDL_Python_switch IDL to Python Switchers Guide idl
IDLSave A module to read IDL 'save' files into python idl scipy
Inference Module collection for statistical inference in the physical sciences. statistics modeling
ipython Interactive computing environment environment
Kapteyn Collection of modules and apps for astronomy WCS coordinates FITS plotting tables matplotlib
lineid_plot Line identification plots with automatic label layout matplotlib plotting spectra idl
mathesaurus Converting from IDL, Matlab, and R to NumPy idl numpy matplotlib R
Matplotlib Python 2D plotting library matplotlib plotting
Mayavi 3D scientific data visualization and plotting plotting
NumPy Numerical computing package numpy
PANDORA Programs for AstroNomical Data Organization Reduction and Analysis spectra SEDs cosmology fitting
Primer on Python for astronomy A collection of python resources for astronomy resources environment packages
PyAST Starlink AST wrapper for Python WCS coordinates plotting
pyAstroLib Suite of  modules built with a goal of converting the NASA IDL Astronomy Library into Python packages collection idl
pyds9 A Python interface to communicate with DS9 FITS images ds9
PyEphem Scientific-grade astronomical computations astrometry coordinates
PyFITS PyFITS provides an interface to FITS images tables
pyflation Calculate cosmological perturbations during inflation cosmology
pyIDL Interact with IDL from python idl
PyMC Markov chain Monte Carlo in Python statistics
PyRAF Run IRAF commands inside a python environment IRAF environment
pyregion Parse ds9 and CIAO region files matplotlib WCS astrometry coordinates images plotting
pysofa Standards of Fundamental Astronomy interface astrometry coordinates datetime timing time WCS
pysynphot Replacement for the IRAF synphot package astrolib photometry
python4astronomers Practical Python for Astronomers FITS environment fitting idl images image matplotlib modeling numpy plotting scipy sherpa tables tutorial vo votable workshops
pytpm a python interface to Jeff Percival's Telescope Pointing Machine astrometry datetime
PyWCS World Coordinate System parsing and calculations WCS FITS astrolib
pywcsgrid2 pywcsgrid2 WCS images matplotlib astrometry coordinates FITS plotting
readcol Read ASCII tables tables
recfunctions NumPy structured array utilities numpy
RO Cross-platform utilities for astronomy with Tk GUI and networking coordinates ds9
RPy Interface to the R programming language statistics
SAMPy A Python implementation of the Simple Application Messaging Protocol vo
SciPy Science, math, and engineering software scipy numpy
SciPy resources SciPy resources Wiki resources
sherpa Flexible modeling and fitting environment X-ray fitting modeling sherpa
Software Carpentry Software development for scientists and engineers tutorial workshops
sptool Stellar spectral typing tool spectra modeling
STOMP C++ Library for fast angular correlations and spatial clustering statistics with python SWIG wrapper coordinates astrometry tables database statistics answers
stsci_python Data analysis infrastructure FITS IRAF images plotting tables
Transit light curve equations Mandel & Agol (2002) transit light curve equations photometry modeling
User contributed pyraf scripts Pyraf Scripts pyraf
vo Read VO tables into python vo votable astrolib
VOEventLib A Python Parser for VOEvent XML packets vo time xml
Windows binaries Windows Binaries for Python Extension Packages numpy scipy matplotlib packages
yt Analyze and visualize astrophysical simulations cosmology HPC modeling