pyhgf.updates.vectorised.volatile.vectorised_layer_volatility_posterior_standard#

pyhgf.updates.vectorised.volatile.vectorised_layer_volatility_posterior_standard(layer, max_posterior_precision=10000000000.0)[source]#

Update the volatility level using the standard ordering.

This is the vectorised 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.

  • max_posterior_precision (float) – Upper bound applied to the volatility-level posterior precision. Default 1e10.

Returns:

Updated layer state with precision_vol and mean_vol set.

Return type:

LayerState