little change to check if repo still works master
authorTomasz Spustek <Tomasz Spustek>
Wed, 21 Oct 2015 11:45:03 +0000 (13:45 +0200)
committerTomasz Spustek <Tomasz Spustek>
Wed, 21 Oct 2015 11:45:03 +0000 (13:45 +0200)
mp_multi_calc.m [new file with mode: 0644]

diff --git a/mp_multi_calc.m b/mp_multi_calc.m
new file mode 100644 (file)
index 0000000..1e30a7c
--- /dev/null
@@ -0,0 +1,36 @@
+%    MP MATLAB plugin
+%
+%    Copyright (C) 2013 Tomasz Spustek, Konrad Kwaśkiewicz, Karol Auguštin
+%
+%    This program is free software: you can redistribute it and/or modify
+%    it under the terms of the GNU General Public License as published by
+%    the Free Software Foundation, either version 3 of the License, or
+%    (at your option) any later version.
+%
+%    This program is distributed in the hope that it will be useful,
+%    but WITHOUT ANY WARRANTY; without even the implied warranty of
+%    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+%    GNU General Public License for more details.
+%
+%    You should have received a copy of the GNU General Public License
+%    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+%
+%    Tomasz Spustek <tomasz@spustek.pl>
+%    Konrad Kwaśkiewicz <konrad.kwaskiewicz@gmail.com>
+%    Karol Auguštin <karol@augustin.pl>
+
+
+function [reconstructing_array , parameters_array] = mp_multi_calc(EEG,channel_nr,epoch_nr,minS,maxS,dE,energy,iter,nfft,asym,rect)
+    if (channel_nr > EEG.nbchan) || (channel_nr < 1)
+        throw(MException('MatchingPursuit:mp_calc','Nonexisting channel number.'));
+    elseif (epoch_nr > EEG.trials) || (epoch_nr < 1)
+        throw(MException('MatchingPursuit:mp_calc','Nonexisting epoch number.'));
+    else
+        dictionary_params = [minS maxS dE];
+        [book] = defineMixedInbook(dictionary_params , EEG.times , asym , rect);
+        disp 'Dictionary - done'; 
+        
+        
+    end
+
+end
\ No newline at end of file
This page took 0.017056 seconds and 4 git commands to generate.