Skip to content

gomax22/telluric-autoencoder-with-steroids

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

$\texttt{TAU}$: telluric-autoencoder

This is a pytorch based code for $\texttt{TAU}$ (Telluric AUtoencoder), which can be used to perform quick and high accuracy telluric correction of astrophysical spectral data. See the paper for more details.

$\texttt{TAU}$ is based on a constrained autoencoder structure, which learns a compressed representation of the training data. The compressed representation can be used to extract interpretable components. Some of these components relate to telluric absorption of light in the atmosphere of Earth. The extracted telluric spectrum can be applied to new observations to perform accurate telluric correction at low computational expense.

Performing telluric correction

Inspect the AE_correction.ipynb notebook for a guide on performing telluric correction. Correction is performed with the telluric_fit function from correction.py.

Training

Use Training.pynb notebook for understanding the training process of $\texttt{TAU}$ by visualzing network training on a single aperture / order of the data. For training on the entire spectral range of the HARPS-N data use the training.py script. The network is trained on solar observations from the HARPS-N spectrograph but can be extended to other spectrographs.

Preprocessing data for training

Preproc.ipynb notebook demonstrates the procedure for preprocessing the raw data prior to training the network.

Included Data

Raw data from HARPS-N is not included in this repository, but can be downloaded from https://dace.unige.ch/dashboard/

A sample of 100 preprocessed observations is included in the preproc directory and can be used to test the training procedure of $\texttt{TAU}$.

The extracted telluric spectrum from training $\texttt{TAU}$ on 838 observations is included in the tellurics directory. This extracted spectrum is used to perform correction with the telluric_fit function.

About

The telluric autoencoder (TAU) is an accurate neural network based telluric correction framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 92.3%
  • Python 7.7%