Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
zm711 committed Sep 11, 2023
1 parent cbb1a80 commit 4fbda17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_spike_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def test_fr_data(sa):
assert sa.mean_firing_rate["test"][0, 0, 0] == 0.5
assert sa.mean_firing_rate["test"][1, 0, 2] == 1.0

sa.get_raw_firing_rate(time_bin_ms=1000, bsl_window=[0, 50], fr_window=[0, 300], mode="bsl")
sa.get_raw_firing_rate(time_bin_ms=1000, bsl_window=[0, 50], fr_window=[0, 300], mode="bsl-subtracted")

print(sa.mean_firing_rate)
assert round(sa.mean_firing_rate["test"][0, 0, 0], 2) == 0.42
Expand Down

0 comments on commit 4fbda17

Please sign in to comment.