Spectuner

Spectuner is a tool for automated spectral line analysis of instellar molecules. The code implements the one-dimensional LTE spectral line model and offers the following applications:

  • Robust broadband line identification.

  • Efficient pixel-by-pixel spectral line fitting.

Installation

The code requires Python>=3.10. If you do not have Python installed, we recommend installing Anaconda. Then, we can install the code from the repository.

pip install spectuner

If you want to use the AI module, you need to install PyTorch.

pip install torch

Also, please download the neural network weights file from Hugging Face.

In addition, the code requires the Cologne Database for Molecular Spectroscopy (CDMS) as input. You may download the database using the following command.

wget https://cdms.astro.uni-koeln.de/static/cdms/download/official/cdms_sqlite__official-version__2024-01-01.db.gz

Prerequisites

This documentation aussmes that you are familiar with the following packages:

You may also be familiar with jupyter notebook and YAML, a human-readable data serialization format that is often used for configuration files.