Versions Compared

Key

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

...

Fore each loca of each pat (pat_ccccc_mmmm)

  • create a folder in Donnees/Brutes:
pat_ccccc_mmmm_LocaName
  • Rename Copy correspondingMicromed files and rename .TRC file as
pat_ccccc_mmmm_locanamelocaName.TRC

 

Create TTL file

Depending on the acquisition settings, the analysis requiers different preprocessing steps to create the TTL file.

...

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 in Localizer_getPatInfos

% [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.

With the .csv file you can compare the log file and the TTLs recorded. It is usefull to delete fake TTLs

Nlx2MM

This configuration is to be avoided if the triggers are not sent to Nlx and MM with through a bipolar channel

TTL TTLs are sent to Neuralynx that send them to Micromed:

...

Solution: take timing from neuralynx Neuralynx and find the time delay between Neuralynx and Micromed to transpose the correct TTL timings to Micromed.

Find delay between Neuralynx and Micromed with the bipolar channels.

 

Neuralynx and Micromed in parallel

Trigger only via TTL

Find delay between Neuralynx and Micromed with a iEEG channel.

Trigger via TTL and bipolar voltage input

Find delay between Neuralynx and Micromed with the bipolar channels. For Micromed, there should be a bipolar trigger channel for each box in order to check the delay between the 2 boxes.

 

Micromed direct

Convert .TRC to ELAN

...

Create .pos,

This is the ELAN TTL file, that has to be created from the .csv file

3 columns separated with tabs, and save it as

...