phys201 / FluorescenceSpectroscopy

Bayesian inference modeling for fluorescence spectroscopy
GNU General Public License v3.0
1 stars 1 forks source link

Improving model #26

Closed bdelwood closed 2 years ago

bdelwood commented 2 years ago

Adds switch so that we can use a Cauchy likelihood with its shape parameter as a hyperparameter with a truncated gaussian prior.

Also refactors code to allow modeling multiple peaks.

Fixes tests given refactor and adds tests for additional classes added during refactor

Updates documentation.ipynb to demonstrate modeling multiple peaks, as well as Cauchy v Normal likelihood

Fixes #23 Fixes #22