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
acceptedproperty 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
thinsteps from the chain. (default:
1)- discard (Optional[int]): Discard the first
discardsteps in the chain as burn-in. (default:
0)
- Returns:
array[…, nwalkers, ndim] – The MCMC samples.