j-faria / kima

Exoplanet detection in RVs with DNest4 and GPs
http://www.kima.science
MIT License
15 stars 10 forks source link

Missing prior distributions in pykima #76

Open Matt-Standing opened 1 year ago

Matt-Standing commented 1 year ago

When using the following priors listed in "Changing the priors": Triangular, Rayleigh, Fixed

Running 'pykima-showresults' gives the following error:

File "~/anaconda3/lib/python3.7/site-packages/pykima-4.0.2-py3.7.egg/pykima/utils.py", line 332, in _get_prior_parts raise ValueError('Cannot decode "%s", seems badly formed' % prior) ValueError: Cannot decode "", seems badly formed

These three distributions are currently missing from pykima. There is also an additional prior distribution "TruncatedGaussian" which isn't mentioned in the "Changing the priors" page