Specsy: The Spectra Synthesis library

This library provides a set of tools for the analysis of astronomical spectra. This is the alpha-release.

Most of its functions assume an input with the LiMe formatting.

These are the features currently available:

  • Calculation of the logarithmic extinction calculation coefficient c(H\beta).

  • Calculation of the electron density from the [SII]6716,6731\AA doublet via a Monte-Carlo sampling

  • Calculation of sulphur abundance using the calibration from Díaz et al (2022)

Installation

\textsc{SpecSy} can be installed from its pip project page by running this command:

pip install specsy

To update the library to its latest version you can run this command:

pip install specsy --upgrade

Dependencies

The current version of \textsc{LiMe} has these dependencies:

The following dependencies are not compulsory but they provide more options for the library inputs/outputs:

  • asdf (Saving the logs as .asdf files)

  • PyLatex (Saving the logs as .pdf files)

Development

\textsc{Specsy} is currently in an alpha release. Please check its github for the latest version news and tutorials. Any comments/problems/request can be added as an issue on the github page.

API

Extinction

Chemical model