replay_trajectory_classification.simulate.simulate_position#

simulate_position(time: ndarray, track_height: float, running_speed: float = 15) ndarray[source]#

Simulate animal moving through linear space.

Parameters:
  • time (ndarray, shape (n_time,)) – Time in seconds.

  • track_height (float) – The height of the simulated track.

  • running_speed (float, optional) – The running speed of the simulated animal (default is 15).

Returns:

position – The simulated position of the animal.

Return type:

ndarray, shape (n_time,)