ContinuousTimeStateTransitionModel.compute_state

ContinuousTimeStateTransitionModel.compute_state#

ContinuousTimeStateTransitionModel.compute_state(event_list, include_final_state=False)#

Compute state timeseries given an event list

Parameters:
  • event_list (EventList) – the event list, assumed to be sorted by time.

  • include_final_state (bool) – should the final state be included in the returned timeseries? If True, then the time dimension of the returned tensor will be 1 greater than the length of the event list. If False (default) these will be equal.

Returns:

A [T, N, S] tensor where T is the number of events, N is the number of units, and S is the number of states.

Return type:

Array