-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathnpuProcess.m
More file actions
36 lines (22 loc) · 862 Bytes
/
npuProcess.m
File metadata and controls
36 lines (22 loc) · 862 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
function [xPnts]=npuProcess(EEG,lnpu,preLength,winLength)
%--------------------------------------------------------------------------
% lstProcess.m
% Last updated: Feb 2024, John LaRocco
% Ohio State University
% Details: Extract features for NPU (threats).
% Input Variables:
% EEG: Struct of EEG from EEGLAB.
% lnpu: cell of inputs from Log files.
% preLength: Pre-window baselining length in seconds.
% winLength: Window length in seconds.
% Output Variables:
% xPnts: vector to plot EEG with.
%--------------------------------------------------------------------------
%winLength=1;
xPnts=linspace(0,1,round(EEG.srate*(winTotal+preTotal)));
%splName='STUDY_headplot.spl';
%xx = readlocs('Standard-10-10-Cap47.ced');
%headplot('setup', xx, splName)
%figure;
%headplot(EEG.data, splName)
end