function compute_effective_stride¶
- deeptime.markov.compute_effective_stride(dtrajs, lagtime, n_states) int ¶
Computes the effective stride which is an estimate of the striding required to produce uncorrelated samples. By default this is the lagtime (lag sampling). A nonreversible MSM is estimated, if its number of states is larger than the number of states provided to this method, stride is set to the minimum of lagtime and two times the correlation time of the next neglected timescale.
- Parameters:
dtrajs (array_like or list of array_like) – Discretized trajectory or list of discretized trajectories
lagtime (int) – Lagtime
n_states (int) – Number of resolved states
- Returns:
stride – Estimated effective stride to produce approximately uncorrelated samples
- Return type:
int