py21cmmc.cosmoHammer.HDFStorage.get_trialled_log_prob#

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

Get the chain of log probabilities evaluated as trials of the MCMC.

Note

these do not correspond 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] – The chain of log probabilities.