SLAM: Spectral Line Analysis/Modeling
SLAM (Spectral Line Analysis/Modeling) is a Python library for analyzing and modeling spectral line data at (sub)millimeter wavelengths, with a particular focus on rotational motions around (proto)stellar objects. The second release includes several packages for deriving rotation curves and estimating the dynamical mass of the central object. Details of the methods are presented Aso & Sai (2024) and Aso, Sai et al. (2026) in prep.
Installation
In a local directory where you would like to install SLAM, type
git clone https://github.com/jinshisai/SLAM
Also, setting the path in .bashrc (or .zshrc etc.) will be useful.
export PYTHONPATH=${PYTHONPATH}:/YOUR_PATH_TO/SLAM
Versions
The latest, stable version is v2.0.0.
To use the stable version, go to the SLAM directory and type
git tag -l # list tags (versions)
git checkout tags/v2.0.0 # choose v2.0.0