arviz.from_emcee(sampler=None, *, var_names=None, arg_names=None, coords=None, dims=None)[source]

Convert emcee data into an InferenceData object.

sampler : emcee.EnsembleSampler

Fitted sampler from emcee.

var_names : list[str] (Optional)

A list of names for variables in the sampler

arg_names : list[str] (Optional)

A list of names for args in the sampler

coords : dict[str] -> list[str]

Map of dimensions to coordinates

dims : dict[str] -> list[str]

Map variable names to their coordinates