Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This script is calling the script Localizer_getPatInfos that needs to be updated with the patient that will be run.

 

% if Nlx TTLs evts, read event and define idx start and end of each loca

% [TTL_Timestamps, EventIDs, TTL_ID, Extras, EventStrings, Header] = Nlx2MatEV(fullfile(NlxPath, 'Events.nev'), [1 1 1 1 1], 1, 1, [] );

% NlxEvt = [TTL_Timestamps' TTL_ID']; %µsec

% NlxEvt = NlxEvt(TTL_ID>0, :); %µsec

% NlxEvt = [NlxEvt  (NlxEvt(:,1)-NlxEvt(1,1))*1e-6];

 

The outputs of the script are sanity checks figure and a .csv table that has to be used to create the .pos file.

...