replay_trajectory_classification.clusterless_simulation.make_fragmented_hover_fragmented_replay#

make_fragmented_hover_fragmented_replay(sampling_frequency: int = 1000) tuple[ndarray, ndarray][source]#

Makes a simulated replay that first is fragmented, then is stationary, then is fragmented again.

Parameters:

sampling_frequency (int, optional) – Samples per second

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.