Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PriorError with test_bma script #48

Open
privong opened this issue May 22, 2023 · 0 comments
Open

PriorError with test_bma script #48

privong opened this issue May 22, 2023 · 0 comments

Comments

@privong
Copy link

privong commented May 22, 2023

test_bma.py specifies the teff prior as rave:

    f.prior_setup = {
        'teff': ('rave'),

But per the README this does not seem to be an allowed prior specification. Running the script results in a PriorError, though the script otherwise appears to run to completion. The error is:

An exception was caught!: PriorError
Error message: The default prior for teff is not permitted. Allowed priors are normal, truncnorm, uniform and default.

Changing the prior specification to default, seems to fix it, i.e., changing line 49 of test_bma.py to:

        'teff': ('default'),

I am using astroARIANDE version 1.0.9:

In [1]: import astroARIADNE
astroAR	PyMultiNest not imported.  MultiNest fits will not work.
/Users/gprivon/opt/anaconda3/lib/python3.7/site-packages/astroARIADNE/fitter.py:44: UserWarning: (py)MultiNest installation (or libmultinest.dylib) not detected.
  '(py)MultiNest installation (or libmultinest.dylib) not detected.'

In [2]: astroARIADNE.__version__
Out[2]: '1.0.9'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant