...
|
...
|
@@ -318,14 +318,12 @@ if strcmpi(patientCode(5:end),'STR') |
|
|
end
|
|
|
end
|
|
|
val_flag = 0;
|
|
|
% VAL patients have fixed parameters
|
|
|
if strcmpi(patientCode(5:end),'VAL')
|
|
|
load('/gin/data/database/02-raw/stim_parameters-ftract-val.mat','stim_params')
|
|
|
Loc = find(ismember(stim_params.PCode, patientCode), 1);
|
|
|
if ~isempty(Loc)
|
|
|
fre_flag = 1;
|
|
|
Frq = stim_params.Freq{Loc};
|
|
|
Amp = stim_params.Ampl{Loc};
|
|
|
Pul = stim_params.Pulse{Loc};
|
|
|
val_flag = 1;
|
|
|
Frq = '1Hz';
|
|
|
Amp = '3mA';
|
|
|
Pul = '500us';
|
|
|
for n = 1:length(KeepEvent)
|
|
|
undsc = strfind(Notes{KeepEvent(n)},'_');
|
|
|
if ~isempty(undsc)
|
...
|
...
|
@@ -339,7 +337,6 @@ if strcmpi(patientCode(5:end),'VAL') |
|
|
D2(:,:,:) = D(:,:,:);
|
|
|
save(D2);
|
|
|
fprintf('\n \n MESSAGE: .. %s parameters updated ..::\n',patientCode);
|
|
|
end
|
|
|
end
|
|
|
|
|
|
|
...
|
...
|
|