From 2146ee05de5beea3f27524c66da2fa14b30cc0d4 Mon Sep 17 00:00:00 2001 From: douwehorsthuis Date: Thu, 23 Sep 2021 16:44:31 -0400 Subject: [PATCH 1/2] fix saving _info.set --- src/B_downs_filter_chaninfo_exclchan.m | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/B_downs_filter_chaninfo_exclchan.m b/src/B_downs_filter_chaninfo_exclchan.m index 35a7525..14cc4b9 100644 --- a/src/B_downs_filter_chaninfo_exclchan.m +++ b/src/B_downs_filter_chaninfo_exclchan.m @@ -30,14 +30,16 @@ %adding channel location if EEG.nbchan >63 && EEG.nbchan < 95 %64chan cap (can be a lot of externals, this makes sure that it includes a everything that is under 96 channels, which could be an extra ribbon) EEG=pop_chanedit(EEG, 'lookup',[eeglab_location 'plugins\dipfit\standard_BESA\standard-10-5-cap385.elp']); %make sure you put here the location of this file for your computer - %deleting bad channels + EEG = pop_saveset( EEG, 'filename',[subject_list{s} '_info.set'],'filepath', data_path); + %deleting bad channels EEG = pop_rejchan(EEG,'elec', [1:64],'threshold',5,'norm','on','measure','kurt'); elseif EEG.nbchan >159 && EEG.nbchan < 191 %160chan cap EEG=pop_chanedit(EEG, 'lookup',[scripts_location 'BioSemi160.sfp']); %make sure you put here the location of this file for your computer - %deleting bad channels + EEG = pop_saveset( EEG, 'filename',[subject_list{s} '_info.set'],'filepath', data_path); + %deleting bad channels EEG = pop_rejchan(EEG,'elec', [1:160],'threshold',5,'norm','on','measure','kurt'); end - %adding info to the EEG structure + %adding info to the EEG structure EEG = pop_saveset( EEG, 'filename',[subject_list{s} '_exchn.set'],'filepath', data_path); end From 8aa0e6864882907b59b1d0f60862b8902af1ab8b Mon Sep 17 00:00:00 2001 From: Douwe Horsthuis Date: Wed, 20 Oct 2021 14:39:41 -0400 Subject: [PATCH 2/2] Create CITATION.cff --- CITATION.cff | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 CITATION.cff diff --git a/CITATION.cff b/CITATION.cff new file mode 100644 index 0000000..b48a5cf --- /dev/null +++ b/CITATION.cff @@ -0,0 +1,12 @@ +cff-version: 1.2.0 +message: "If you use this software, please cite it as below." +authors: +- family-names: "Douwe John" + given-names: "Horsthuis" +- family-names: "Ana Alves" + given-names: "Francisco" +title: "EEG_to_ERP_pipeline_stats_R" +version: 2.0 +doi: 10.5281/zenodo.5584698 +date-released: 2021-10-20 +url: "https://github.com/DouweHorsthuis/EEG_to_ERP_pipeline_stats_R"