Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bucanl_pipelines
bids_lossless_eeg
Commits
5d354ff0
Commit
5d354ff0
authored
Jul 04, 2018
by
James Desjardins
Browse files
Bug fix for new scalpart ability to skip filtering
parent
4e34086a
Changes
1
Hide whitespace changes
Inline
Side-by-side
derivatives/lossless/code/scripts/s01_scalpart.htb
View file @
5d354ff0
...
...
@@ -210,7 +210,7 @@ logging_log('INFO', 'REREFERENCED TO INTERPOLATED AVERAGE SITE...');
% Filters the data to remove frequencies lower than the selected value. The residuals that
% were removed can be saved for further analysis if needed.
logging_log('INFO', 'High pass filtering the data...');
if([low_bound_hz]);
if([
[
low_bound_hz]
]
);
pre_hp_data = EEG.data;
EEG = pop_eegfiltnew(EEG,[],[low_bound_hz],[],true,[],0);
EEG.setname = 'filtHP';
...
...
@@ -239,7 +239,7 @@ end
% Filters the data to remove frequencies higher the selected value. The residuals that
% were removed can be saved for further analysis if needed.
logging_log('INFO', 'Low pass filtering the data...');
if([high_bound_hz]);
if([
[
high_bound_hz]
]
);
pre_lp_data = EEG.data;
EEG = pop_eegfiltnew(EEG,[],[high_bound_hz],[],0,[],0);
EEG.setname = 'filtLP';
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment