willvousden / ptemcee

A parallel-tempered version of emcee.
MIT License
58 stars 29 forks source link

Documention #5

Closed laszukdawid closed 2 years ago

laszukdawid commented 6 years ago

Is there any link to documentation and examples of usage?

Gabriel-p commented 6 years ago

I guess the old emcee docs are as good as it gets for the time being?

willvousden commented 6 years ago

ptemcee's been dormant for a while now (sorry!), but I'm doing some refactoring at the moment, and I plan to write some docs in the process, so keep an eye out for it.

ljschumacher commented 5 years ago

Some minimal documentation / tutorial would be much appreciated. I've tried using code I previously used in emcee– would this be correct? sampler = ptemcee.Sampler(nwalkers, ndim, my_logl, my_logp, ntemps=ntemps, loglargs=(arg1, arg2), threads=4)

EDIT: the above ran without errors, but now I'm stuck at (model_log_evidence, model_uncertainty) = sampler.thermodynamic_integration_log_evidence(fburnin=0) AttributeError: 'Sampler' object has no attribute 'thermodynamic_integration_log_evidence'

EDIT2: I know see the changed syntax is (model_log_evidence, model_uncertainty) = sampler.log_evidence_estimate(fburnin=0)

laszukdawid commented 2 years ago

Closing. One ticket less :)