.. Spectuner documentation master file, created by sphinx-quickstart on Fri Jul 19 16:34:05 2024. You can adapt this file completely to your liking, but it should at least contain the root `toctree` directive. 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. .. code-block:: bash pip install spectuner If you want to use the AI module, you need to install `PyTorch `__. .. code-block:: bash 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. .. code-block:: bash 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: * `Numpy `__ * `Scipy `__ * `Matplotlib `__ * `Pandas `__ You may also be familiar with `jupyter notebook `__ and YAML, a human-readable data serialization format that is often used for configuration files. .. toctree:: :maxdepth: 1 :caption: Tutorials: notebooks/generating_model_spectra notebooks/line_identification notebooks/line_identification_2 pixel_fitting .. toctree:: :maxdepth: 1 :caption: User guide guide/sl_model guide/identification_results guide/citing .. toctree:: :maxdepth: 1 :caption: API reference: api/config api/slm_factory api/identify api/spectral_plot api/cube