py21cmmc.cosmoHammer.HDFStorage.get_trials#
- HDFStorage.get_trials(**kwargs)[source]#
Get the stored chain of trials.
Note these do not corresond to the chain, but instead correspond to the trialled parameters. Check the
accepted
property to check if each trial was accepted.- 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.