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

Refactor Python code for emcee v3 (and remove LMFit?) #15

Open
JamesSample opened this issue Nov 30, 2020 · 0 comments
Open

Refactor Python code for emcee v3 (and remove LMFit?) #15

JamesSample opened this issue Nov 30, 2020 · 0 comments

Comments

@JamesSample
Copy link
Collaborator

Migrating this issue as it's probably better here than on the DSToolkit.

Our current code for MCMC-based model evaluation uses emcee v2 and the LMFit interface for convenience. It also includes options for using emcee's parallel tempering algorithm (also via the LMFit interface).

Our existing Python code for Mobius requires emcee=2.2.1 and lmfit=0.9.14 (these versions are currently pinned on the JupyterHub/DSToolkit for convenience).

In v3, emcee introduced substantial changes to the API, which include removing the PTSampler completely (it's now a separate project here, but maintenance seems patchy). LMFit has also reduced/removed support for emcee, which is a shame.

At some point we need to refactor our Python code to use the latest version of emcee (and probably remove any dependencies on LMFit).

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