replay_trajectory_classification.clusterless_simulation.make_hover_continuous_hover_replay#
- make_hover_continuous_hover_replay(sampling_frequency: int = 1000, place_field_means: ndarray = array([0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 110, 120, 130, 140, 150, 160, 170, 180, 190])) tuple[ndarray, ndarray][source]#
Make a simulated replay that first is stationary, then is continuous, then is stationary again.
- Parameters:
sampling_frequency (int, optional) – Samples per second
place_field_means (np.ndarray, optional) – Location of the center of the Gaussian place fields.
- Returns:
replay_time (np.ndarray, shape (n_time,)) – Time in seconds.
test_multiunits (np.ndarray, shape (n_time, n_features, n_tetrodes)) – Binned clusterless spike times and features. NaN indicates no spike. Non-Nan indicates spike.