pyhgf.updates.vectorized.volatile.vectorized_layer_volatility_posterior_standard#

pyhgf.updates.vectorized.volatile.vectorized_layer_volatility_posterior_standard(layer, params)[source]#

Update the volatility level using the standard ordering.

This is the vectorized equivalent of the standard volatility-level posterior update that first updates precision, then uses the updated precision to compute the mean update.

Parameters:
  • layer (LayerState) – Current layer state with volatility_prediction_error set.

  • params (LayerParams) – Layer parameters (provides volatility_coupling).

Returns:

Updated layer state with precision_vol and mean_vol set.

Return type:

LayerState

See also

pyhgf.updates.posterior.volatile.posterior_update_volatility_level