Context
The localizers are short cognitive tasks aimed at localizing some well known activities. The localizers and the anlyzing tools ahve been developed by Jean-Philippe Lachaux's team who nicely shared the code with us.
Start
The first localizers where done the 20/06/2018 with patient pat_02614_1073
tests
The stimuli are sent via "presentation" software.
Preprocessing
Rename .TRC file as
pat_ccccc_mmmm_filename_locaname.TRC
Create .pos, 3 column separated with tabs, and save it as
pat_ccccc_mmmm_filename_locaname_raw.pos
column 1 : sample
column 2 : TTL value
column 3 : 0
Depending on the acquisition settings, the analysis requiers different preprocessing steps.
Nlx2MM
This configuration is to be avoided.
TTL are sent to Neuralynx that send them to Micromed:
- TTL numbers are all presents and with correct number
- Timings of TTL on Neuralynx are good
- Timings of TTL on Micromed have up to 200 ms delay
Solution: take timing from neurlaynx and find the time dely between Neuralynx and Micromed to transpose the correct TTL timings to Micromed
Neuralynx and Micromed in parallel
Trigger only via TTL
Trigger via TTL and bipolar voltage input
Micromed direct
Analyses
Launch.exe : F:\IR-IHU-ICM\Bureautique\EpiDBS\Epimicro\ExperimentProtocol\Localizer\DataLyon\Localizer - 21-02-2018\Localizer.exe
Load .TRC file: Fichier → Charger un fichier individuel
Select File and click on 'Convert to ELAN File
Run analysis
Generate Time Frequency Enveloppe
Select . eeg file: Fichier → Charger un fichier individuel
Check:
- eeg file name
- "Execute the same Analysis for each Frequency Band"
- "Generate Time Frequency Envelloppe"
Click on "Process Analysis"
Select chanels to analyze in the popup window
Generate Maps and Plots
Select patient folder Fichier → Ouvrir dossier patient
Check:
- frequency bands to analyze
- Generate Maps (trialmat)
- Generate Envellope Plots
Issues
- If electrode has a number in the name, name cut at the first number: ex Ha2g1 will be Ha2
- 2 "l" in Envelloppe"
- 2 "l" ans 1 "p" in Envellope"