dynamo.tl.expected_return_time

dynamo.tl.expected_return_time(M, backward=False)[source]

Find the expected returning time.

Parameters
  • M (ndarray (dimension n x n, where n is the cell number)) – The transition matrix.

  • backward (bool (default False)) – Whether the backward transition will be considered.

Returns

T – The expected return time (1 / steady_state_probability).

Return type

ndarray