Basic Tools for Astrophysical Research¶
Data format used in astronomy¶
- Flexible Image Transport System
(FITS)
- The default standard for the exchange of data in astronomy now
- The full document of FITS and the MAST data format guidelines
- CFITSIO is a library of C and Fortran subroutines for reading and writing data files in FITS.
- astropy.io.fits can help you deal with FITS files in Python
- Advanced Scientific Data Format
(ASDF)
- Next generation interchange format for scientific data developed by STScI
- It follows the new ASDF Standard
- HDF5 - High-performance data management and storage
suite
- In the age of big data, HDF5 format is also becoming more popular in astronomy. For example, many hydro-simulations use HDF5 to store large and complex data.
- h5py is a Pythonic interface to the HDF5 binary data format
- fits2hdf is a FITS to HDFITS conversion utility
- If you use Python, it is also convenient to use the pickle and dill (an even better pickle) module for serializing and de-serializing python objects to the majority of the built-in python types.
World Coordinate Systems (WCS)¶
- FITS World Coordinate System
(WCS)
- wcslib is a C library, supplied with a full set of Fortran wrappers, that implements the “World Coordinate System” (WCS) standard in FITS
- All the tools that deals with FITS format can also deal with WCS information (normally stored in the header). For example, the astropy.wcs
- Generalized World Coordinate System
- stwcs - WCS based distortion models and coordinate transformation
- tweakwcs - Algorithms for matching and aligning catalogs and for
tweaking the WCS so as to minimize catalog mismatch
errors
- tweakwcs is a package that provides core algorithms for computing and applying corrections to WCS objects such as to minimize mismatch between image and reference catalogs. Currently only aligning images with FITS WCS and JWST gWCS are supported.
Astrometry and Positional Astronomy¶
- Skyfield - Elegant Astronomy for
Python
- Skyfield computes positions for the stars, planets, and satellites in orbit around the Earth. Its results should agree with the positions generated by the United States Naval Observatory and their Astronomical Almanac to within 0.0005 arcseconds. The Github version is here
- Astrometry.net – automatic recognition of astronomical
images
- Made by Dustin Lang. The best astrometric calibration tool on the market.
- SOFA - Standard of Fundamental
Astronomy
- The International Astronomical Union’s SOFA service has the task of establishing and maintaining an accessible and authoritative set of algorithms and procedures that implement standard models used in fundamental astronomy. The library is now in Fortran and C
- pysofa2 - A python module for wrapping the International Astronomical Union’s C SOFA libraries
- ERFA - Essential Routines for Fundamental
Astronomy
- ERFA is a C library containing key algorithms for astronomy, and is based on the SOFA library published by the International Astronomical Union (IAU).
- NOVAS - The United States Naval Observatory NOVAS astronomy
library
- NOVAS is an integrated package of functions for computing various commonly needed quantities in positional astronomy. At a lower level, NOVAS also provides astrometric utility transformations, such as those for precession, nutation, aberration, parallax, and gravitational deflection of light.
- The computations are accurate to better than one milliarcsecond.
- spherical_geometry - A Python package for handling spherical
polygons that represent arbitrary regions of the
sky
- Made by STScI. Online document is here
Flux standards¶
Plan an observation¶
Flux unit conversion¶
Filter Response Curves¶
- Response curved collected in sedpy package by Ben Johnson
- tynt - Color filter approximations in
Python
- By Brett Morris. tynt is a super lightweight package containing approximate transmittance curves for more than five hundred astronomical filters, weighing in at just under 150 KB. Document can be found here
Extinction calculator¶
Coordinate Service¶
Managing Catalogs¶
- astropy.table is a flexible Python module that can handle a variant types of tables.
- TOPCAT - Tool for OPerations on Catalogues And
Tables
- Really powerful GUI tool to deal with tables. It is written as a Java application.
- Have great functions for cross-matching catalogs, querying on-line databases, and making publication-grade figures.
- STILTS - Starlink Tables Infrastructure Library Tool Set provides most of TOPCAT’s capabilities in command line.
Table cross-match¶
- smatch - Code to match points on the sphere using the healpix
scheme
- By Erin Sheldon. Very fast cross-match tool, C-code wrapped in Python.
- nway - Bayesian cross-matching of astronomical
catalogues
- Bayesian match probabilities based on astronomical sky coordinates (RA, DEC)
- C3 - Command-line Catalogue Cross-matching Tool
- xmatch - Cross match of
catalogs
- By Alexandre Beelen.
Cosmology Calculator¶
Simulate Galaxy Spectrum¶
Sky Projection Maps of Surveys¶
List of Observatories¶
- List of Astronomical Observatories on Wiki
- Observatories by
GoAstronomy
- Including U.S observatories and observatories worldwide.
Basic Astronomy Database¶
- SIMBAD Astronomical Database -
CDS
- The SIMBAD astronomical database provides basic data, cross-identifications, bibliography and measurements for astronomical objects outside the solar system.
- VizieR Catalog
Database
- VizieR provides the most complete library of published astronomical catalogues -tables and associated data- with verified and enriched data, accessible via multiple interfaces.
- Aladin Sky Atlas
- Aladin is an interactive sky atlas allowing the user to visualize digitized astronomical images or full surveys, superimpose entries from astronomical catalogues or databases, and interactively access related data and information from the Simbad database, the VizieR service and other archives for all known astronomical objects in the field.
- NASA/IPAC Extragalactic Database
- NED is a comprehensive database of multiwavelength data for extragalactic objects, providing a systematic, ongoing fusion of information integrated from hundreds of large sky surveys and tens of thousands of research publications.
- NASA/IPAC Infrared Science
Archive
- IRSA is chartered to curate the science products of NASA’s infrared and submillimeter missions, including many large-area and all-sky surveys.
- MAST - Mikulski Archive for Space
Telescopes
- MAST provides a variety of astronomical archives focused on scientific data sets in the optical, ultraviolet, and near-infrared parts of the spectrum.
- The MAST Portal lets you search multiple collections of astronomical datasets all in one place.