PyBSD is a Python package for performing Bayesian Spectral Deconvolution. The package uses the Bayesian inference algorithm described in https://arxiv.org/abs/1201.4612 and the PyMC3 toolkit for Markov Chain Monte Carlo sampling.
python PyMBSD.py [ResponsePlastic] [ResponseLaBr3] [SpectrumPlastic] [SpectrumLaBr3] [--BackgroundLaBr3 BACKGROUNDLABR3] [--OutputFilename OUTPUTFILENAME] [--ThresholdEnergy 100.] [--SamplingAlgorithm ADVI]