Closed jeiros closed 6 years ago
For the first try unpacking the dictionary to be a 2D array so that the first row is the position for the first state.
For the second, the sources and sinks are the mapped MSM states since the MSM object has no memory of the unmapped states. It is only concerned with the state graph that it operates on.
Thanks @msultan ! That did the trick
I'm trying to replicate the last figure of the
Fs-Peptide
notebook with an msm that is not 100% ergodic (for instance, my msm recovers an ergodic subspace of 259 microstates when my clustering was done with 500 states).First question
This code:
fails with the following (long) Traceback but it does show (all?) the microstates:
I've also tried building an 'alternative'
msm_pos
dictionary using themsm.mapping_
dictionary, to see if that fixed the problem:but this also fails with a similar Traceback, yielding the
ValueError: 'vertices' must be a 2D list or array with shape Nx2
:Second Question
For the
plot_tpath
function, thesources
andsinks
that are provided as arguments, are they numbered with the ids from theclusterer
object or the internal numbering of themsm
object?