msmtools.analysis.expectation_sensitivity

msmtools.analysis.expectation_sensitivity(T, a)

Sensitivity of expectation value of observable A=(a_i).

Parameters:
  • T ((M, M) ndarray) – Transition matrix
  • a ((M,) ndarray) – Observable, a[i] is the value of the observable at state i.
Returns:

S – Sensitivity matrix of the expectation value.

Return type:

(M, M) ndarray