Skip to content

Commit

Permalink
make it even faster
Browse files Browse the repository at this point in the history
  • Loading branch information
CodyCBakerPhD committed Feb 4, 2024
1 parent 793a516 commit 3ac7553
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pyflask/manageNeuroconv/manage_neuroconv.py
Original file line number Diff line number Diff line change
Expand Up @@ -777,9 +777,10 @@ def generate_test_data(output_path: str):
phy_output_folder = base_path / "phy"

recording, sorting = generate_ground_truth_recording(
durations=[5.0], sampling_frequency=30_000.0, num_channels=385, dtype="float32", num_units=200, seed=0
durations=[5.0], sampling_frequency=30_000.0, num_channels=385, dtype="float32", num_units=100, seed=0
)
recording = (recording / 2.34375).astype(dtype="int16")
recording.set_channel_gains(gains=2.34375)
recording = recording.astype(dtype="int16")
artificial_lf_band = bandpass_filter(recording=recording, freq_min=300, freq_max=6000)
waveform_extractor = extract_waveforms(recording=recording, sorting=sorting, mode="memory")

Expand Down

0 comments on commit 3ac7553

Please sign in to comment.