Command-line tools to process high resolution echelle spectra from astronomical instruments (TRES, HIRES, Spex, etc...) into a common HDF5 format.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.md
SPEXio.py
TRESio.py
TRESio_astropy.py
TRESio_astropy_raw.py
TRESplot.py

README.md

EchelleTools

Command-line tools to process high resolution echelle spectra from astronomical instruments (TRES, HIRES, Spex, etc...) into a common format.

This is a collection of hacked-together scripts designed as a stop-gap measure to get my spectra out of the FITS format as and into numpy arrays/HDF5 as quickly as possible, so that I can get on with my analysis with python. It pushes all of the complicated intricacies of FITS reading into an IRAF dependency, so if you don't already have it installed... good luck with that. It also does the abominable thing of writing data to disk in ASCII only to be later read back in by a different routine.

Those wishing for a more sophisticated, purely pythonic interface for reading FITS spectra should check out astropy/specutils.