KernelErrorLog#

class liesel.goose.engine.KernelErrorLog(kernel_ident: str, kernel_cls: Option[type], transition: np.ndarray, error_codes: np.ndarray)[source]#

Bases: NamedTuple

Holds the number of the transitions in which an error in at least one chain occured and an array with the error code for each chain.

Additionally, the kernel identifier is specified and optionally the cls of the kernel.

Methods

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Attributes

error_codes

2-D array (chain, time).

kernel_cls

Alias for field number 1

kernel_ident

Alias for field number 0

transition

1-D array (time).