pyemma.msm.markov_model¶
-
pyemma.msm.
markov_model
(P, dt='1 step')¶ Markov model with a given transition matrix
Returns a
MSM
that contains the transition matrix and allows to compute a large number of quantities related to Markov models.Parameters: - P (ndarray(n,n)) – transition matrix
- dt (str, optional, default='1 step') –
Description of the physical time corresponding to the lag. May be used by analysis algorithms such as plotting tools to pretty-print the axes. By default ‘1 step’, i.e. there is no physical time unit. Specify by a number, whitespace and unit. Permitted units are (* is an arbitrary string):
‘fs’, ‘femtosecond*’‘ps’, ‘picosecond*’‘ns’, ‘nanosecond*’‘us’, ‘microsecond*’‘ms’, ‘millisecond*’‘s’, ‘second*’
Returns: Return type: A
MSM
object containing a transition matrix and various other MSM-related quantities.See also
MSM()
- A MSM object