Skip to content

Commit

Permalink
bye bye spikeextractors
Browse files Browse the repository at this point in the history
  • Loading branch information
h-mayorquin committed Jun 13, 2024
1 parent 77ab285 commit bd801cc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion requirements-testing.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pytest
pytest-cov
parameterized==0.8.1
spikeextractors>=0.9.10
spikeinterface>=0.100.7
12 changes: 4 additions & 8 deletions src/roiextractors/example_datasets/toy_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,14 +157,10 @@ def toy_example(
mode=mode,
)

# generate spike trains
import spikeextractors as se

rec, sort = se.example_datasets.toy_example(
duration=duration,
K=num_rois,
num_channels=1,
sampling_frequency=sampling_frequency,
from spikeinterface.core import generate_ground_truth_recording

rec, sort = generate_ground_truth_recording(
num_channels=1, durations=[duration], num_units=num_rois, sampling_frequency=sampling_frequency
)

# create decaying response
Expand Down

0 comments on commit bd801cc

Please sign in to comment.