msmbuilder.SCRE.ConstructRateFromParams
-
msmbuilder.SCRE.ConstructRateFromParams(parameters, mapping, populations, K0)[source]
Construct a rate matrix from a flat array of parameters.
Parameters: | parameters : list
mapping : list
Mapping from flat indices to (2d) array indices.
populations : ndarray
stationary populations of model
K0 : ndarray
|
Returns: | K : ndarray
|
Notes
- The returned matrix K is such that
- K[mapping.T[0],mapping.T[1]] = abs(parameters)