py21cmmc.cosmoHammer.HDFStorage.get_chain#

HDFStorage.get_chain(**kwargs)[source]#

Get the stored chain of MCMC samples.

Parameters:

**kwargs

flat (Optional[bool]): Flatten the chain across the ensemble.

(default: False)

thin (Optional[int]): Take only every thin steps from the

chain. (default: 1)

discard (Optional[int]): Discard the first discard steps in

the chain as burn-in. (default: 0)

Returns:

array[…, nwalkers, ndim] – The MCMC samples.