bayes_cn_hfs
NOTE: This package is deprecated and no longer maintained. Instead, use bayes_hfs, a general purpose model for molecular hyperfine spectroscopy.
bayes_cn_hfs implements two models for molecular hyperfine spectroscopy. The first is CNModel, which can model the emission of CN or 13CN.
The second is CNRatioModel, which predicts both CN and 13CN observations in order to infer the 12C/13C isotopic ratio. bayes_cn_hfs
is written in the bayes_spec Bayesian modeling framework, which provides methods to fit these models to data using Monte Carlo Markov Chain techniques.
Useful information can be found in the bayes_cn_hfs Github repository, the bayes_spec Github repository, and in the tutorials below.
Installation
conda create --name bayes_cn_hfs -c conda-forge pymc pip
conda activate bayes_cn_hfs
# Due to a bug in arviz, this fork is temporarily necessary
# See: https://github.com/arviz-devs/arviz/issues/2437
pip install git+https://github.com/tvwenger/arviz.git@plot_pair_reference_labels
pip install bayes_cn_hfs
Tutorials:
API: