msmexplorer.plot_timescales

msmexplorer.plot_timescales(msm, n_timescales=None, error=None, sigma=2, color_palette=None, xlabel=None, ylabel=None, ax=None)

Plot MSM timescales spectral diagram.

Parameters:
msm : msmbuilder.msm

MSMBuilder MarkovStateModel

n_timescales : int, optional

Number of timescales to plot

error : array-like (float), optional

associated errors for each timescales

sigma : float, optional

significance level for default error bars

color_palette: list or dict, optional

Color palette to apply

xlabel : str, optional

x-axis label

ylabel : str, optional

y-axis label

ax : matplotlib axis, optional (default: None)

Axis to plot on, otherwise uses current axis.

Returns:
ax : matplotlib axis

matplotlib figure axis