Commit ae018c1c authored by ncarmignani's avatar ncarmignani
Browse files

added input full_partial to qempanelset

parent 508aa5d9
......@@ -3,7 +3,17 @@ function [qemb,qemres,semres] = qemextract(dirname)
%
%[QEMB,QEMRES,SEMRES]=qemextract(DIRNAME)
%
[qemres,semres,qemb]=qempanelset(dirname); % load quad corrections
filesRM=dir(fullfile(dirname,'steer*'));
if length(filesRM)==66
full_partial=0; % case partial matrix
elseif length(filesRM)==386
full_partial=1; % case full matrix
else
error('wrong number of files for response matrix');
end
[qemres,semres,qemb]=qempanelset(dirname,full_partial); % load quad corrections
[qemb(2).kn,qemb(2).dipdelta,qemb(2).dxs]=... % load quad errors
qemerrload(qemres,fullfile(qemres.datadir,'quaderrors.mat'));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment