plot_state_transition_matrix

behavenet.plotting.arhmm_utils.plot_state_transition_matrix(model, deridge=False)[source]

Plot Markov transition matrix for arhmm.

Parameters:
  • model (ssm.HMM object) –

  • deridge (bool, optional) – remove diagonal to more clearly see dynamic range of off-diagonal entries

Returns:

matplotlib figure handle

Return type:

matplotlib.figure.Figure