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 `__ - `gwcs - provides tools for managing WCS in a general way `__ - `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 -------------- - `The Absolute Magnitude of the Sun `__ - `Link to download the default composite spectrum of the Sun `__ - `ESO’s RA Ordered List of Spectrophotometric Standards `__ - `NAOJ’s Optical Spectrophotometric Standard Stars `__ - `ESO’s Landolt Equatorial Standards `__ Plan an observation ------------------- - `astroplan - Python package to help astronomers plan observations `__ - `iObserve `__ - The free on-line version is `here `__ - `Object Visibility by ING `__ - `JSkyCalc – A Convenient, Portable Observing Aid `__ - `Keck telescopes’ own planning tool `__ - `Astronomical Observatory Sites by Latitude and Longitude `__ Flux unit conversion -------------------- - `NICMOS Units Conversion Form `__ - `Magnitude/Flux Density Converter: Point Sources `__ 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 --------------------- - `NED’s extinction calculator `__ - `3-D Dust Mapping with Pan-STARRS 1 `__ - `Query service `__ Coordinate Service ------------------ - `RA, DEC Flexible converter `__ - `NED’s coordinate calculator `__ 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 -------------------- - `ICRAR’s Cosmology Calculator `__ - Based on the `celestial R-code `__ - `Ned Wright’s Cosmology Calculator `__ Simulate Galaxy Spectrum ------------------------ - `SpecGen - Mock Galaxy Spectra Generator `__ Sky Projection Maps of Surveys ------------------------------ - `AstroMap - generating sky projection maps for astronomical 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.