A package to fit the telluric absorption in astronomical spectra.
This code will fit the telluric absorption spectrum in data, using LBLRTM. More details can be found in the documentation and examples, but the installation and run procedure are outlined below. If you use this code, please cite my paper.
This code requires the following packages:
- numpy v1.6 or greater
- scipy v0.13 or greater
- astropy v0.2 or greater
- pysynphot v0.7 or greater
The bolded entries are required before installation, so make sure you get them from pip, apt-get/yum, or conda (depending on your OS and linux distribution). The setup script will attempt to install the rest if you don’t have them, but I suggest doing it yourself just to make sure nothing goes wrong. Once you have the dependencies, simply type
pip install TelFit
to install TelFit. It may take a while, as it needs to build the LBLRTM code and some of its standard input files.
To run TelFit, you should create a script like in the examples. The key parts of the script are the inputs to the TelluricFitter class. You should: