LieselMCMC.get_spec()

LieselMCMC.get_spec()#

LieselMCMC.get_spec(var)[source]#

Retrieve the MCMC specification for a given variable.

Parameters:

var (Var) – The model variable for which to get the MCMC specification.

Return type:

MCMCSpec | None

Returns:

The MCMC specification if available, otherwise None.

Raises:

ValueError – If the inference attached to the variable is not of type MCMCSpec.