dfm / dfm/emcee

why sampler.get_autocorr_time() gives nans!

Open
#342 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
1.6k
Forks
440
PR merge metrics
No merged PRs in 30d

Description

trying to estimate 6 paramaters, nwalkers=32, nsteps=1e6

tau = sampler.get_autocorr_time()
print("taus", tau)
gives: taus [nan nan 1. nan 1. 1.]?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the six-parameter, 32-walker run shown in the issue and inspect the output of sampler.get_autocorr_time(). Determine why some autocorrelation estimates become NaN or 1; done means identifying a reproducible cause and documenting or correcting the behavior with a validating test.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.