forked from aces/Loris
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[electrophysiology_browser] Revised EEG filters + Store reference fix (…
…aces#9038) This does the following: - Uses a revised set of coefficients values for the filters, depending on the recording's sampling frequency - Uses multiple store references when there are multiple recordings. It would previously get overwritten. The following script was used to generate the coefficients: ``` samp = 512; % Change to target frequency order = 3; low_pass_items = [15 20 30 40 60]; high_pass_items = [0.5 1 5 10]; for i=1:length(low_pass_items) disp(strcat(num2str(low_pass_items(i)), ' low pass')); [b, a] = butter(order-1, (low_pass_items(i) / samp), 'low') % argument is (order - 1) end for i=1:length(high_pass_items) disp(strcat(num2str(high_pass_items(i)), ' high pass')); [b, a] = butter(order-1, (high_pass_items(i) / samp), 'high') % argument is (order - 1) end ```
- Loading branch information
1 parent
1bae2d6
commit 2e15f2b
Showing
8 changed files
with
247 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.