msmbuilder.msm_analysis.check_transition

msmbuilder.msm_analysis.check_transition(t_matrix, epsilon=1e-05)[source]

Ensure that matrix is a row normalized stochastic matrix

Parameters:

t_matrix : dense or sparse matrix

epsilon : float, optional

Threshold for how close the row sums need to be to one

Other Parameters:
 

DisableErrorChecking : bool

If this flag (module scope variable) is set tot True, this function just passes.

Raises:

NormalizationError :

If T is not a row normalized stochastic matrix

See also

check_dimensions
ensures dimensionality
is_transition_matrix
does the actual checking