msmtools.dtraj.count_states¶
-
msmtools.dtraj.
count_states
(dtrajs, ignore_negative=False)¶ returns a histogram count
Parameters: - dtrajs (array_like or list of array_like) – Discretized trajectory or list of discretized trajectories
- bool, default=False (ignore_negative,) – Ignore negative elements. By default, a negative element will cause an exception
Returns: count – the number of occurrances of each state. n=max+1 where max is the largest state index found.
Return type: ndarray((n), dtype=int)