SlideShare a Scribd company logo
From raw MEG to publication:
how to perform group analysis
with FieldTrip
Robert Oostenveld
Donders Institute, Radboud University, Nijmegen, NL
NatMEG, Karolinska Institute, Stockholm, SE
Presentation outline
FieldTrip background
Strategy for making analysis pipelines
Single subject pipeline
Highlight: Reading and converting files
Highlight: Anatomical coregistration
Group analysis pipeline
M/EEG signal characteristics considered during analysis
timecourse of activity
-> ERP
spectral characteristics
-> power spectrum or TFR
spatial distribution of activity over the head
-> source reconstruction
interaction between regions in the brain
-> source reconstruction and connectivity
Channels show a superposition of the source activity
Some analyses can be done at the channel level
Some should be done at the source level
analyses
interpretations or hypotheses
require
FieldTrip basics
dataout = functionname(cfg, datain, …)
functionname(cfg, datain, …)
dataout = functionname(cfg)
the “cfg” argument is a configuration structure, e.g.
cfg.channel = {‘C3’, C4’, ‘F3’, ‘F4’}
cfg.foilim = [1 70]
Using functions in an analysis protocol
ft_preprocessing
ft_rejectartifact
ft_freqanalysis
ft_multiplotTFR ft_freqstatistics
ft_multiplotTFR
cfg = [ ]
cfg.dataset = ‘Subject01.ds’
cfg.bpfilter = [0.01 150]
...
rawdata = ft_preprocessing(cfg)
Using functions in an analysis protocol
ft_preprocessing
ft_rejectartifact
ft_freqanalysis
ft_multiplotTFR ft_freqstatistics
ft_multiplotTFR
cfg = [ ]
cfg.method = ‘mtmfft’
cfg.foilim = [1 120]
...
freqdata = ft_freqanalysis(cfg, rawdata)
Event related response
timelockData =
avg: [151x900 double]
var: [151x900 double]
label: {151x1 cell}
time: [1x900 double]
dimord: 'chan_time’
cfg: [1x1 struct]
Example use in scripts
cfg = []
cfg.dataset = ‘Subject01.ds’
cfg.bpfilter = [0.01 150]
...
rawdata = ft_preprocessing(cfg)
cfg = []
cfg.method = ‘mtmfft’
cfg.foilim = [1 120]
...
freqdata = ft_freqanalysis(cfg, rawdata)
cfg = []
cfg.method = ‘montecarlo’
cfg.statistic = ‘indepsamplesT’
cfg.design = [1 2 1 2 2 1 2 1 1 2 ... ]
...
freqstat = ft_freqstatistics(cfg, freqdata)
ft_preprocessing
ft_freqanalysis
ft_freqstatistics
ft_topoplotTFR
…
Example use in scripts
cfg = []
cfg.dataset = ‘Subject01.ds’
cfg.bpfilter = [0.01 150]
...
rawdata = ft_preprocessing(cfg)
cfg = []
cfg.method = ‘mtmfft’
cfg.foilim = [1 120]
...
freqdata = ft_freqanalysis(cfg, rawdata)
cfg = []
cfg.method = ‘montecarlo’
cfg.statistic = ‘indepsamplesT’
cfg.design = [1 2 1 2 2 1 2 1 1 2 ... ]
...
freqstat = ft_freqstatistics(cfg, freqdata)
ft_preprocessing
ft_freqanalysis
ft_freqstatistics
ft_topoplotTFR
…
Example use in scripts
cfg = []
cfg.dataset = ‘Subject01.ds’
cfg.bpfilter = [0.01 150]
...
rawdata = ft_preprocessing(cfg)
cfg = []
cfg.method = ‘mtmfft’
cfg.foilim = [1 120]
...
freqdata = ft_freqanalysis(cfg, rawdata)
cfg = []
cfg.method = ‘montecarlo’
cfg.statistic = ‘indepsamplesT’
cfg.design = [1 2 1 2 2 1 2 1 1 2 ... ]
...
freqstat = ft_freqstatistics(cfg, freqdata)
ft_preprocessing
ft_freqanalysis
ft_freqstatistics
ft_topoplotTFR
…
Example use in scripts
cfg = []
cfg.dataset = ‘Subject01.ds’
cfg.bpfilter = [0.01 150]
...
rawdata = ft_preprocessing(cfg)
cfg = []
cfg.method = ‘mtmfft’
cfg.foilim = [1 120]
...
freqdata = ft_freqanalysis(cfg, rawdata)
cfg = []
cfg.method = ‘montecarlo’
cfg.statistic = ‘indepsamplesT’
cfg.design = [1 2 1 2 2 1 2 1 1 2 ... ]
...
freqstat = ft_freqstatistics(cfg, freqdata)
ft_preprocessing
ft_freqanalysis
ft_freqstatistics
ft_topoplotTFR
…
Example use in scripts
cfg = []
cfg.dataset = ‘Subject01.ds’
cfg.bpfilter = [0.01 150]
...
rawdata = ft_preprocessing(cfg)
cfg = []
cfg.method = ‘mtmfft’
cfg.foilim = [1 120]
...
freqdata = ft_freqanalysis(cfg, rawdata)
cfg = []
cfg.method = ‘montecarlo’
cfg.statistic = ‘indepsamplesT’
cfg.design = [1 2 1 2 2 1 2 1 1 2 ... ]
...
freqstat = ft_freqstatistics(cfg, freqdata)
ft_preprocessing
ft_freqanalysis
ft_freqstatistics
ft_topoplotTFR
…
Example use in scripts
subj = {‘S01.ds’, ‘S02.ds’, …}
trig = [1 3 7 9]
for s=1:nsubj
for c=1:ncond
cfg = []
cfg.dataset = subj{s}
cfg.trigger = trig(c)
rawdata{s,c} = ft_preprocessing(cfg)
cfg = []
cfg.method = ‘mtmfft’
cfg.foilim = [1 120]
freqdata{s,c} = ft_freqanalysis(cfg, rawdata{s,c})
end
end
Example use in scripts
subj = {‘S01.ds’, ‘S02.ds’, …}
trig = [1 3 7 9]
for s=1:nsubj
for c=1:ncond
cfg = []
cfg.dataset = subj{s}
cfg.trigger = trig(c)
rawdata = ft_preprocessing(cfg)
filename = sprintf(‘raw%s_%d.mat’, subj{s}, trig(c));
save(filename, ‘rawdata’)
end
end
Example use in scripts
subj = {‘S01.ds’, ‘S02.ds’, …}
trig = [1 3 7 9]
for s=1:nsubj
for c=1:ncond
cfg = []
cfg.dataset = subj{s}
cfg.trigger = trig(c)
cfg.outputfile = sprintf(‘raw%s_%d.mat’, subj{s}, trig(c));
rawdata = ft_preprocessing(cfg)
end
end
Example use in distributed computing
subj = {‘S01.ds’, ‘S02.ds’, …}
trig = [1 3 7 9]
for s=1:nsubj
for c=1:ncond
cfgA{s,c} = []
cfgA{s,c}.dataset = subj{s}
cfgA{s,c}.trigger = trig(c)
cfgA{s,c}.outputfile = sprintf(‘raw%s_%d.mat’, subj{s}, trig(c))
cfgB{s,c} = []
cfgB{s,c}.dataset = subj{s}
cfgB{s,c}.trigger = trig(c)
cfgB{s,c}.inputfile = sprintf(‘raw%s_%d.mat’, subj{s}, trig(c));
cfgB{s,c}.outputfile = sprintf(‘freq%s_%d.mat’, subj{s}, trig(c));
end
end
dfeval(@ft_preprocessing, cfgA)
dfeval(@ft_freqanalysis, cfgB)
Example use in distributed computing
subj = {‘S01.ds’, ‘S02.ds’, …}
trig = [1 3 7 9]
for s=1:nsubj
for c=1:ncond
cfgA{s,c} = []
cfgA{s,c}.dataset = subj{s}
cfgA{s,c}.trigger = trig(c)
cfgA{s,c}.outputfile = sprintf(‘raw%s_%d.mat’, subj{s}, trig(c))
cfgB{s,c} = []
cfgB{s,c}.dataset = subj{s}
cfgB{s,c}.trigger = trig(c)
cfgB{s,c}.inputfile = sprintf(‘raw%s_%d.mat’, subj{s}, trig(c));
cfgB{s,c}.outputfile = sprintf(‘freq%s_%d.mat’, subj{s}, trig(c));
end
end
qsubcellfun(@ft_preprocessing, cfgA)
qsubcellfun(@ft_freqanalysis, cfgB)
FieldTrip is a toolbox
the data and the separate functions are all in
your hands
you write a script or set of scripts that represents
the analysis pipeline
scripts correspond to analysis protocols
scripts can be reviewed by supervisors
scripts are often reused and shared with colleagues
scripts can be published/released
File importing with FieldTrip
highlight 1
FieldTrip private functions
(low-level)
FieldTrip main functions
end-user
perspective
FieldTrip toolbox structure - at a glance
FieldTrip toolbox structure - a closer look
fileio forward preproc private
FieldTrip main functions
end-user
perspective
utilities
…
external
EEGLAB
external
SPM
preproc
FieldTrip toolbox structure - a closer look
fileio forward private
end-user
perspective
ft_read_data(…) ft_compute_leadfield(…)
ft_preproc_bandpassfilter(…)
utilitiesFieldTrip main functions
SPM under the hood
preprocfileio forward
end-user
perspective
ft_read_data(…) ft_compute_leadfield(…)
ft_preproc_bandpassfilter(…)
fieldtrip
SPM
… private
EEGLAB under the hood
fileio forward
end-user
perspective
ft_read_data(…) ft_compute_leadfield(…)
fieldtrip
EEGLAB
… private
The fileio (input/output) mini toolbox
In FieldTrip primarily
ft_definetrial(cfg)
ft_preprocessing(cfg)
ft_read_mri
Provides a consistent interface (API) to datasets
from 7 MEG systems and >30 EEG systems
ft_read_event
ft_read_header
ft_read_data
ft_read_xxx(filename, …)
highlight 2
Coregistration between MEG/EEG and anatomy
1) anatomical landmarks (lpa, rpa, nas)
2) HPI/HCL coil locations
3) scalp surface points
Lab specific conventions for landmarks and markers
Landmarks:
anatomically recognizeable points on a head
Markers (or fiducials):
points that are visible in multiple modalities,
e.g. HPI coils or vitamin E capsules
Sharing anonymous imaging data
Facial details have been removed,
e.g. using ft_defacevolume or
ft_defacemesh.
Nasion is missing, the outline of the
nose is missing, sometimes also the
ears.
Coregistration
1. Redo the coregistration using limited data
2. Trust the coregistration that was provided
FieldTrip BrainStorm
Presentation outline
FieldTrip background
Strategy for making analysis pipelines
Single subject pipeline
Highlight: Reading and converting files
Highlight: Anatomical coregistration
Group analysis pipeline
Making a group analysis pipeline
Start with version control
> git init
Write the pipeline for a single subject
> git commit
Manage subject differences
> git commit
Run for all subjects
> git commit
Do group analysis
> git commit
Share your pipeline along with paper and data
> git push
Wrap up and topics for discussion
Managing and sharing pipelines
- version control, provenance, consistency,
reproducibility
Preventing “data dredging”, “double dipping” and
biassed analyses
Sharing data for (re)analysis
- BIDS: Brain Imaging Data Structure now also
for MEG (see poster Mo-P012)
- Provide sufficient detail, but not all
http://datacolada.org
https://aspredicted.org

More Related Content

What's hot

Process of sugar production from sugarcane - sugar factory
Process of sugar production from sugarcane - sugar factoryProcess of sugar production from sugarcane - sugar factory
Process of sugar production from sugarcane - sugar factory
Negasi T.
 
India Foundry Market Report (2018-2023)
India Foundry Market Report (2018-2023) India Foundry Market Report (2018-2023)
India Foundry Market Report (2018-2023)
Research On Global Markets
 
Sugar industry in pakistan and their environmental impacts
Sugar industry in pakistan and their environmental impactsSugar industry in pakistan and their environmental impacts
Sugar industry in pakistan and their environmental impacts
Waseem Ashraf
 
Blow molding Process
Blow molding ProcessBlow molding Process
Blow molding Process
Marry Sol Lare
 
Presentation sugar mill
Presentation sugar millPresentation sugar mill
Presentation sugar mill
Hamza Nawaz
 
Sugarcane
SugarcaneSugarcane
Pelletisation process
Pelletisation processPelletisation process
Pelletisation process
Bolla Sujala
 
Cement Plant ProCoat Baghouse Internal Corrosion Protection Coating Systems
Cement Plant ProCoat Baghouse Internal Corrosion Protection Coating SystemsCement Plant ProCoat Baghouse Internal Corrosion Protection Coating Systems
Cement Plant ProCoat Baghouse Internal Corrosion Protection Coating Systems
Rajiv Patel
 
pelletization process by Kshirod
pelletization process by Kshirodpelletization process by Kshirod
pelletization process by Kshirod
kshirod1993
 
Industrial Training at Electrosteel
Industrial Training at ElectrosteelIndustrial Training at Electrosteel
Industrial Training at Electrosteel
Souptik Chatterjee
 
Tata steel
Tata steelTata steel
Tata steel
Home
 
Sugar Industry I I
Sugar  Industry  I ISugar  Industry  I I
Sugar Industry I I
yousifmagdi
 
Improvements in cane sugar refining at ssm
Improvements in cane sugar refining at ssmImprovements in cane sugar refining at ssm
Improvements in cane sugar refining at ssm
HayaturRahim
 
Mold and mold making
Mold and mold makingMold and mold making
Mold and mold making
Dobariya Gautam
 
Presentation Aug 2016 AKIJ Motors
Presentation Aug 2016 AKIJ MotorsPresentation Aug 2016 AKIJ Motors
Presentation Aug 2016 AKIJ Motors
Akij Motors
 
Industrial Training ppt
Industrial Training pptIndustrial Training ppt
Industrial Training ppt
Rujuta Deshpande
 
Drying equipments
Drying equipmentsDrying equipments
Drying equipments
physics101
 
Sugar manufacture dr vijaya shastry
Sugar manufacture dr vijaya shastrySugar manufacture dr vijaya shastry
Sugar manufacture dr vijaya shastry
Vijaya Shastry Ph.D
 
Pelletization of iron ores and the type of wear liners used in thier eqipments
Pelletization of iron ores and the type of wear liners used in thier eqipmentsPelletization of iron ores and the type of wear liners used in thier eqipments
Pelletization of iron ores and the type of wear liners used in thier eqipments
Gulshan Kumar Singh
 
Cement Industry
Cement IndustryCement Industry
Cement Industry
srihithakanaparthi
 

What's hot (20)

Process of sugar production from sugarcane - sugar factory
Process of sugar production from sugarcane - sugar factoryProcess of sugar production from sugarcane - sugar factory
Process of sugar production from sugarcane - sugar factory
 
India Foundry Market Report (2018-2023)
India Foundry Market Report (2018-2023) India Foundry Market Report (2018-2023)
India Foundry Market Report (2018-2023)
 
Sugar industry in pakistan and their environmental impacts
Sugar industry in pakistan and their environmental impactsSugar industry in pakistan and their environmental impacts
Sugar industry in pakistan and their environmental impacts
 
Blow molding Process
Blow molding ProcessBlow molding Process
Blow molding Process
 
Presentation sugar mill
Presentation sugar millPresentation sugar mill
Presentation sugar mill
 
Sugarcane
SugarcaneSugarcane
Sugarcane
 
Pelletisation process
Pelletisation processPelletisation process
Pelletisation process
 
Cement Plant ProCoat Baghouse Internal Corrosion Protection Coating Systems
Cement Plant ProCoat Baghouse Internal Corrosion Protection Coating SystemsCement Plant ProCoat Baghouse Internal Corrosion Protection Coating Systems
Cement Plant ProCoat Baghouse Internal Corrosion Protection Coating Systems
 
pelletization process by Kshirod
pelletization process by Kshirodpelletization process by Kshirod
pelletization process by Kshirod
 
Industrial Training at Electrosteel
Industrial Training at ElectrosteelIndustrial Training at Electrosteel
Industrial Training at Electrosteel
 
Tata steel
Tata steelTata steel
Tata steel
 
Sugar Industry I I
Sugar  Industry  I ISugar  Industry  I I
Sugar Industry I I
 
Improvements in cane sugar refining at ssm
Improvements in cane sugar refining at ssmImprovements in cane sugar refining at ssm
Improvements in cane sugar refining at ssm
 
Mold and mold making
Mold and mold makingMold and mold making
Mold and mold making
 
Presentation Aug 2016 AKIJ Motors
Presentation Aug 2016 AKIJ MotorsPresentation Aug 2016 AKIJ Motors
Presentation Aug 2016 AKIJ Motors
 
Industrial Training ppt
Industrial Training pptIndustrial Training ppt
Industrial Training ppt
 
Drying equipments
Drying equipmentsDrying equipments
Drying equipments
 
Sugar manufacture dr vijaya shastry
Sugar manufacture dr vijaya shastrySugar manufacture dr vijaya shastry
Sugar manufacture dr vijaya shastry
 
Pelletization of iron ores and the type of wear liners used in thier eqipments
Pelletization of iron ores and the type of wear liners used in thier eqipmentsPelletization of iron ores and the type of wear liners used in thier eqipments
Pelletization of iron ores and the type of wear liners used in thier eqipments
 
Cement Industry
Cement IndustryCement Industry
Cement Industry
 

Viewers also liked

On the large scale of studying dynamics with MEG: Lessons learned from the Hu...
On the large scale of studying dynamics with MEG: Lessons learned from the Hu...On the large scale of studying dynamics with MEG: Lessons learned from the Hu...
On the large scale of studying dynamics with MEG: Lessons learned from the Hu...
Robert Oostenveld
 
Clinical Data Classification of alzheimer's disease
Clinical Data Classification of alzheimer's diseaseClinical Data Classification of alzheimer's disease
Clinical Data Classification of alzheimer's disease
George Kalangi
 
BrainImaging_2015-10-06_22h29
BrainImaging_2015-10-06_22h29BrainImaging_2015-10-06_22h29
BrainImaging_2015-10-06_22h29
Myriam Dimanche
 
Real-time EEG: timing and block size
Real-time EEG: timing and block sizeReal-time EEG: timing and block size
Real-time EEG: timing and block size
Robert Oostenveld
 
FMRIPREP - robust and easy to use fMRI preprocessing pipeline
FMRIPREP - robust and easy to use fMRI preprocessing pipelineFMRIPREP - robust and easy to use fMRI preprocessing pipeline
FMRIPREP - robust and easy to use fMRI preprocessing pipeline
Krzysztof Gorgolewski
 
Burner management systems
Burner management systemsBurner management systems
Burner management systems
emmasmith8866
 
Training process manual for wtp narmada
Training  process manual for wtp narmadaTraining  process manual for wtp narmada
Training process manual for wtp narmada
AKHILESH AHIRWAL
 
Resume Ayman Shaikh
Resume Ayman ShaikhResume Ayman Shaikh
Resume Ayman Shaikh
Ayman Shaikh
 
Introduction to Neuroimaging
Introduction to NeuroimagingIntroduction to Neuroimaging
Introduction to Neuroimaging
Sunghyon Kyeong
 
fMRI preprocessing steps (in SPM8)
fMRI preprocessing steps (in SPM8)fMRI preprocessing steps (in SPM8)
fMRI preprocessing steps (in SPM8)
Sunghyon Kyeong
 
Laboratory role in petroleum industry
Laboratory role  in petroleum industryLaboratory role  in petroleum industry
Laboratory role in petroleum industry
Fouad Agamy
 
Introduction to fMRI
Introduction to fMRIIntroduction to fMRI
Introduction to fMRI
Katharina Seidl-Rathkopf
 
Alzheimer's disease
Alzheimer's diseaseAlzheimer's disease
Alzheimer's disease
Muhammad Ahsan
 
Scheduled Shutdown Maintenance
Scheduled Shutdown MaintenanceScheduled Shutdown Maintenance
Scheduled Shutdown Maintenance
jdparfett
 
Oil And Gas Processing
Oil And Gas ProcessingOil And Gas Processing
Oil And Gas Processing
mubarak2009
 
3furnaces 120520160438-phpapp01
3furnaces 120520160438-phpapp013furnaces 120520160438-phpapp01
3furnaces 120520160438-phpapp01
John Tauli
 
Furnaces and fired heaters
Furnaces and fired heatersFurnaces and fired heaters
Furnaces and fired heaters
Hiren Shah
 
SOP (Standard Operational Procedure)
SOP (Standard Operational Procedure)SOP (Standard Operational Procedure)
SOP (Standard Operational Procedure)
Sri Minuty Interest
 
furnace design
 furnace design  furnace design
furnace design
Atal Khan
 
Burner Design, Operation and Maintenance on Ammonia Plants
Burner Design, Operation and Maintenance on Ammonia PlantsBurner Design, Operation and Maintenance on Ammonia Plants
Burner Design, Operation and Maintenance on Ammonia Plants
Gerard B. Hawkins
 

Viewers also liked (20)

On the large scale of studying dynamics with MEG: Lessons learned from the Hu...
On the large scale of studying dynamics with MEG: Lessons learned from the Hu...On the large scale of studying dynamics with MEG: Lessons learned from the Hu...
On the large scale of studying dynamics with MEG: Lessons learned from the Hu...
 
Clinical Data Classification of alzheimer's disease
Clinical Data Classification of alzheimer's diseaseClinical Data Classification of alzheimer's disease
Clinical Data Classification of alzheimer's disease
 
BrainImaging_2015-10-06_22h29
BrainImaging_2015-10-06_22h29BrainImaging_2015-10-06_22h29
BrainImaging_2015-10-06_22h29
 
Real-time EEG: timing and block size
Real-time EEG: timing and block sizeReal-time EEG: timing and block size
Real-time EEG: timing and block size
 
FMRIPREP - robust and easy to use fMRI preprocessing pipeline
FMRIPREP - robust and easy to use fMRI preprocessing pipelineFMRIPREP - robust and easy to use fMRI preprocessing pipeline
FMRIPREP - robust and easy to use fMRI preprocessing pipeline
 
Burner management systems
Burner management systemsBurner management systems
Burner management systems
 
Training process manual for wtp narmada
Training  process manual for wtp narmadaTraining  process manual for wtp narmada
Training process manual for wtp narmada
 
Resume Ayman Shaikh
Resume Ayman ShaikhResume Ayman Shaikh
Resume Ayman Shaikh
 
Introduction to Neuroimaging
Introduction to NeuroimagingIntroduction to Neuroimaging
Introduction to Neuroimaging
 
fMRI preprocessing steps (in SPM8)
fMRI preprocessing steps (in SPM8)fMRI preprocessing steps (in SPM8)
fMRI preprocessing steps (in SPM8)
 
Laboratory role in petroleum industry
Laboratory role  in petroleum industryLaboratory role  in petroleum industry
Laboratory role in petroleum industry
 
Introduction to fMRI
Introduction to fMRIIntroduction to fMRI
Introduction to fMRI
 
Alzheimer's disease
Alzheimer's diseaseAlzheimer's disease
Alzheimer's disease
 
Scheduled Shutdown Maintenance
Scheduled Shutdown MaintenanceScheduled Shutdown Maintenance
Scheduled Shutdown Maintenance
 
Oil And Gas Processing
Oil And Gas ProcessingOil And Gas Processing
Oil And Gas Processing
 
3furnaces 120520160438-phpapp01
3furnaces 120520160438-phpapp013furnaces 120520160438-phpapp01
3furnaces 120520160438-phpapp01
 
Furnaces and fired heaters
Furnaces and fired heatersFurnaces and fired heaters
Furnaces and fired heaters
 
SOP (Standard Operational Procedure)
SOP (Standard Operational Procedure)SOP (Standard Operational Procedure)
SOP (Standard Operational Procedure)
 
furnace design
 furnace design  furnace design
furnace design
 
Burner Design, Operation and Maintenance on Ammonia Plants
Burner Design, Operation and Maintenance on Ammonia PlantsBurner Design, Operation and Maintenance on Ammonia Plants
Burner Design, Operation and Maintenance on Ammonia Plants
 

Similar to Group analyses with FieldTrip

FieldTrip tutorial at WIRED20204 in Paris
FieldTrip tutorial at WIRED20204 in ParisFieldTrip tutorial at WIRED20204 in Paris
FieldTrip tutorial at WIRED20204 in Paris
Robert Oostenveld
 
EEG, MEG and FieldTrip
EEG, MEG and FieldTripEEG, MEG and FieldTrip
EEG, MEG and FieldTrip
Robert Oostenveld
 
stackconf 2022: Optimize Performance with Continuous Production Profiling
stackconf 2022: Optimize Performance with Continuous Production Profilingstackconf 2022: Optimize Performance with Continuous Production Profiling
stackconf 2022: Optimize Performance with Continuous Production Profiling
NETWAYS
 
Profiling in Python
Profiling in PythonProfiling in Python
Profiling in Python
Fabian Pedregosa
 
Profiling your Applications using the Linux Perf Tools
Profiling your Applications using the Linux Perf ToolsProfiling your Applications using the Linux Perf Tools
Profiling your Applications using the Linux Perf Tools
emBO_Conference
 
LSFMM 2019 BPF Observability
LSFMM 2019 BPF ObservabilityLSFMM 2019 BPF Observability
LSFMM 2019 BPF Observability
Brendan Gregg
 
TensorFlow.Data 및 TensorFlow Hub
TensorFlow.Data 및 TensorFlow HubTensorFlow.Data 및 TensorFlow Hub
TensorFlow.Data 및 TensorFlow Hub
Jeongkyu Shin
 
[ CNCF Q1 2024 ] Intro to Continuous Profiling and Grafana Pyroscope.pdf
[ CNCF Q1 2024 ] Intro to Continuous Profiling and Grafana Pyroscope.pdf[ CNCF Q1 2024 ] Intro to Continuous Profiling and Grafana Pyroscope.pdf
[ CNCF Q1 2024 ] Intro to Continuous Profiling and Grafana Pyroscope.pdf
Steve Caron
 
Distributed Deep Learning with Apache Spark and TensorFlow with Jim Dowling
Distributed Deep Learning with Apache Spark and TensorFlow with Jim DowlingDistributed Deep Learning with Apache Spark and TensorFlow with Jim Dowling
Distributed Deep Learning with Apache Spark and TensorFlow with Jim Dowling
Databricks
 
Make Sure Your Applications Crash
Make Sure Your  Applications CrashMake Sure Your  Applications Crash
Make Sure Your Applications Crash
Moshe Zadka
 
Introduction to Kernel Programming
Introduction to Kernel ProgrammingIntroduction to Kernel Programming
Introduction to Kernel Programming
Ahmed Mekkawy
 
20181025_pgconfeu_lt_gstorefdw
20181025_pgconfeu_lt_gstorefdw20181025_pgconfeu_lt_gstorefdw
20181025_pgconfeu_lt_gstorefdw
Kohei KaiGai
 
Introduction to datastructure and algorithm
Introduction to datastructure and algorithmIntroduction to datastructure and algorithm
Introduction to datastructure and algorithm
Pratik Mota
 
Certification Study Group -Professional ML Engineer Session 2 (GCP-TensorFlow...
Certification Study Group -Professional ML Engineer Session 2 (GCP-TensorFlow...Certification Study Group -Professional ML Engineer Session 2 (GCP-TensorFlow...
Certification Study Group -Professional ML Engineer Session 2 (GCP-TensorFlow...
gdgsurrey
 
Beyond Breakpoints: A Tour of Dynamic Analysis
Beyond Breakpoints: A Tour of Dynamic AnalysisBeyond Breakpoints: A Tour of Dynamic Analysis
Beyond Breakpoints: A Tour of Dynamic Analysis
Fastly
 
Big Data Day LA 2016/ Hadoop/ Spark/ Kafka track - Data Provenance Support in...
Big Data Day LA 2016/ Hadoop/ Spark/ Kafka track - Data Provenance Support in...Big Data Day LA 2016/ Hadoop/ Spark/ Kafka track - Data Provenance Support in...
Big Data Day LA 2016/ Hadoop/ Spark/ Kafka track - Data Provenance Support in...
Data Con LA
 
pg_proctab: Accessing System Stats in PostgreSQL
pg_proctab: Accessing System Stats in PostgreSQLpg_proctab: Accessing System Stats in PostgreSQL
pg_proctab: Accessing System Stats in PostgreSQL
Command Prompt., Inc
 
pg_proctab: Accessing System Stats in PostgreSQL
pg_proctab: Accessing System Stats in PostgreSQLpg_proctab: Accessing System Stats in PostgreSQL
pg_proctab: Accessing System Stats in PostgreSQL
Mark Wong
 
Workshop "Can my .NET application use less CPU / RAM?", Yevhen Tatarynov
Workshop "Can my .NET application use less CPU / RAM?", Yevhen TatarynovWorkshop "Can my .NET application use less CPU / RAM?", Yevhen Tatarynov
Workshop "Can my .NET application use less CPU / RAM?", Yevhen Tatarynov
Fwdays
 
PHP applications/environments monitoring: APM & Pinba
PHP applications/environments monitoring: APM & PinbaPHP applications/environments monitoring: APM & Pinba
PHP applications/environments monitoring: APM & Pinba
Patrick Allaert
 

Similar to Group analyses with FieldTrip (20)

FieldTrip tutorial at WIRED20204 in Paris
FieldTrip tutorial at WIRED20204 in ParisFieldTrip tutorial at WIRED20204 in Paris
FieldTrip tutorial at WIRED20204 in Paris
 
EEG, MEG and FieldTrip
EEG, MEG and FieldTripEEG, MEG and FieldTrip
EEG, MEG and FieldTrip
 
stackconf 2022: Optimize Performance with Continuous Production Profiling
stackconf 2022: Optimize Performance with Continuous Production Profilingstackconf 2022: Optimize Performance with Continuous Production Profiling
stackconf 2022: Optimize Performance with Continuous Production Profiling
 
Profiling in Python
Profiling in PythonProfiling in Python
Profiling in Python
 
Profiling your Applications using the Linux Perf Tools
Profiling your Applications using the Linux Perf ToolsProfiling your Applications using the Linux Perf Tools
Profiling your Applications using the Linux Perf Tools
 
LSFMM 2019 BPF Observability
LSFMM 2019 BPF ObservabilityLSFMM 2019 BPF Observability
LSFMM 2019 BPF Observability
 
TensorFlow.Data 및 TensorFlow Hub
TensorFlow.Data 및 TensorFlow HubTensorFlow.Data 및 TensorFlow Hub
TensorFlow.Data 및 TensorFlow Hub
 
[ CNCF Q1 2024 ] Intro to Continuous Profiling and Grafana Pyroscope.pdf
[ CNCF Q1 2024 ] Intro to Continuous Profiling and Grafana Pyroscope.pdf[ CNCF Q1 2024 ] Intro to Continuous Profiling and Grafana Pyroscope.pdf
[ CNCF Q1 2024 ] Intro to Continuous Profiling and Grafana Pyroscope.pdf
 
Distributed Deep Learning with Apache Spark and TensorFlow with Jim Dowling
Distributed Deep Learning with Apache Spark and TensorFlow with Jim DowlingDistributed Deep Learning with Apache Spark and TensorFlow with Jim Dowling
Distributed Deep Learning with Apache Spark and TensorFlow with Jim Dowling
 
Make Sure Your Applications Crash
Make Sure Your  Applications CrashMake Sure Your  Applications Crash
Make Sure Your Applications Crash
 
Introduction to Kernel Programming
Introduction to Kernel ProgrammingIntroduction to Kernel Programming
Introduction to Kernel Programming
 
20181025_pgconfeu_lt_gstorefdw
20181025_pgconfeu_lt_gstorefdw20181025_pgconfeu_lt_gstorefdw
20181025_pgconfeu_lt_gstorefdw
 
Introduction to datastructure and algorithm
Introduction to datastructure and algorithmIntroduction to datastructure and algorithm
Introduction to datastructure and algorithm
 
Certification Study Group -Professional ML Engineer Session 2 (GCP-TensorFlow...
Certification Study Group -Professional ML Engineer Session 2 (GCP-TensorFlow...Certification Study Group -Professional ML Engineer Session 2 (GCP-TensorFlow...
Certification Study Group -Professional ML Engineer Session 2 (GCP-TensorFlow...
 
Beyond Breakpoints: A Tour of Dynamic Analysis
Beyond Breakpoints: A Tour of Dynamic AnalysisBeyond Breakpoints: A Tour of Dynamic Analysis
Beyond Breakpoints: A Tour of Dynamic Analysis
 
Big Data Day LA 2016/ Hadoop/ Spark/ Kafka track - Data Provenance Support in...
Big Data Day LA 2016/ Hadoop/ Spark/ Kafka track - Data Provenance Support in...Big Data Day LA 2016/ Hadoop/ Spark/ Kafka track - Data Provenance Support in...
Big Data Day LA 2016/ Hadoop/ Spark/ Kafka track - Data Provenance Support in...
 
pg_proctab: Accessing System Stats in PostgreSQL
pg_proctab: Accessing System Stats in PostgreSQLpg_proctab: Accessing System Stats in PostgreSQL
pg_proctab: Accessing System Stats in PostgreSQL
 
pg_proctab: Accessing System Stats in PostgreSQL
pg_proctab: Accessing System Stats in PostgreSQLpg_proctab: Accessing System Stats in PostgreSQL
pg_proctab: Accessing System Stats in PostgreSQL
 
Workshop "Can my .NET application use less CPU / RAM?", Yevhen Tatarynov
Workshop "Can my .NET application use less CPU / RAM?", Yevhen TatarynovWorkshop "Can my .NET application use less CPU / RAM?", Yevhen Tatarynov
Workshop "Can my .NET application use less CPU / RAM?", Yevhen Tatarynov
 
PHP applications/environments monitoring: APM & Pinba
PHP applications/environments monitoring: APM & PinbaPHP applications/environments monitoring: APM & Pinba
PHP applications/environments monitoring: APM & Pinba
 

More from Robert Oostenveld

Developing and sharing tools for bioelectromagnetic research
Developing and sharing tools for bioelectromagnetic researchDeveloping and sharing tools for bioelectromagnetic research
Developing and sharing tools for bioelectromagnetic research
Robert Oostenveld
 
Connecting GLIMR with the BIDS initiative
Connecting GLIMR with the BIDS initiativeConnecting GLIMR with the BIDS initiative
Connecting GLIMR with the BIDS initiative
Robert Oostenveld
 
Spectral-, source-, connectivity- and network analysis of EEG and MEG data
Spectral-, source-, connectivity- and network analysis of EEG and MEG dataSpectral-, source-, connectivity- and network analysis of EEG and MEG data
Spectral-, source-, connectivity- and network analysis of EEG and MEG data
Robert Oostenveld
 
Donders neuroimage toolkit - open science and good practices
Donders neuroimage toolkit -  open science and good practicesDonders neuroimage toolkit -  open science and good practices
Donders neuroimage toolkit - open science and good practices
Robert Oostenveld
 
The Donders Repository
The Donders RepositoryThe Donders Repository
The Donders Repository
Robert Oostenveld
 
Using Open Science to advance science - advancing open data
Using Open Science to advance science - advancing open data Using Open Science to advance science - advancing open data
Using Open Science to advance science - advancing open data
Robert Oostenveld
 
OHBM 2020 OSR - Brain research data sharing and personal data privacy
OHBM 2020 OSR - Brain research data sharing and personal data privacyOHBM 2020 OSR - Brain research data sharing and personal data privacy
OHBM 2020 OSR - Brain research data sharing and personal data privacy
Robert Oostenveld
 
The Brain Imaging Data Structure and its use for fNIRS
The Brain Imaging Data Structure and its use for fNIRSThe Brain Imaging Data Structure and its use for fNIRS
The Brain Imaging Data Structure and its use for fNIRS
Robert Oostenveld
 
Organizing EEG data using the Brain Imaging Data Structure
Organizing EEG data using the Brain Imaging Data Structure Organizing EEG data using the Brain Imaging Data Structure
Organizing EEG data using the Brain Imaging Data Structure
Robert Oostenveld
 
BIOMAG2018 - Denis Engemann - MNE-HCP
BIOMAG2018 - Denis Engemann - MNE-HCPBIOMAG2018 - Denis Engemann - MNE-HCP
BIOMAG2018 - Denis Engemann - MNE-HCP
Robert Oostenveld
 
BIOMAG2018 - Tzvetan Popov - HCP from a user's perspective
BIOMAG2018 - Tzvetan Popov - HCP from a user's perspectiveBIOMAG2018 - Tzvetan Popov - HCP from a user's perspective
BIOMAG2018 - Tzvetan Popov - HCP from a user's perspective
Robert Oostenveld
 
BIOMAG2018 - Vladimir Litvak - Frontiers
BIOMAG2018 - Vladimir Litvak - FrontiersBIOMAG2018 - Vladimir Litvak - Frontiers
BIOMAG2018 - Vladimir Litvak - Frontiers
Robert Oostenveld
 
BIOMAG2018 - Jan-Mathijs Schoffelen - COBIDAS
BIOMAG2018 - Jan-Mathijs Schoffelen - COBIDASBIOMAG2018 - Jan-Mathijs Schoffelen - COBIDAS
BIOMAG2018 - Jan-Mathijs Schoffelen - COBIDAS
Robert Oostenveld
 
BIOMAG2018 - Darren Price - CamCAN
BIOMAG2018 - Darren Price - CamCANBIOMAG2018 - Darren Price - CamCAN
BIOMAG2018 - Darren Price - CamCAN
Robert Oostenveld
 
CuttingEEG - Open Science, Open Data and BIDS for EEG
CuttingEEG - Open Science, Open Data and BIDS for EEGCuttingEEG - Open Science, Open Data and BIDS for EEG
CuttingEEG - Open Science, Open Data and BIDS for EEG
Robert Oostenveld
 
ChildBrain/Predictable summer school - Open Science
ChildBrain/Predictable summer school - Open Science ChildBrain/Predictable summer school - Open Science
ChildBrain/Predictable summer school - Open Science
Robert Oostenveld
 
Using Open Science to accelerate advancements in auditory EEG signal processing
Using Open Science to accelerate advancements in auditory EEG signal processingUsing Open Science to accelerate advancements in auditory EEG signal processing
Using Open Science to accelerate advancements in auditory EEG signal processing
Robert Oostenveld
 
Donders Repository - removing barriers for management and sharing of research...
Donders Repository - removing barriers for management and sharing of research...Donders Repository - removing barriers for management and sharing of research...
Donders Repository - removing barriers for management and sharing of research...
Robert Oostenveld
 
RDM and the Donders Repository
RDM and the Donders RepositoryRDM and the Donders Repository
RDM and the Donders Repository
Robert Oostenveld
 
Donders Research Data Repository
Donders Research Data Repository Donders Research Data Repository
Donders Research Data Repository
Robert Oostenveld
 

More from Robert Oostenveld (20)

Developing and sharing tools for bioelectromagnetic research
Developing and sharing tools for bioelectromagnetic researchDeveloping and sharing tools for bioelectromagnetic research
Developing and sharing tools for bioelectromagnetic research
 
Connecting GLIMR with the BIDS initiative
Connecting GLIMR with the BIDS initiativeConnecting GLIMR with the BIDS initiative
Connecting GLIMR with the BIDS initiative
 
Spectral-, source-, connectivity- and network analysis of EEG and MEG data
Spectral-, source-, connectivity- and network analysis of EEG and MEG dataSpectral-, source-, connectivity- and network analysis of EEG and MEG data
Spectral-, source-, connectivity- and network analysis of EEG and MEG data
 
Donders neuroimage toolkit - open science and good practices
Donders neuroimage toolkit -  open science and good practicesDonders neuroimage toolkit -  open science and good practices
Donders neuroimage toolkit - open science and good practices
 
The Donders Repository
The Donders RepositoryThe Donders Repository
The Donders Repository
 
Using Open Science to advance science - advancing open data
Using Open Science to advance science - advancing open data Using Open Science to advance science - advancing open data
Using Open Science to advance science - advancing open data
 
OHBM 2020 OSR - Brain research data sharing and personal data privacy
OHBM 2020 OSR - Brain research data sharing and personal data privacyOHBM 2020 OSR - Brain research data sharing and personal data privacy
OHBM 2020 OSR - Brain research data sharing and personal data privacy
 
The Brain Imaging Data Structure and its use for fNIRS
The Brain Imaging Data Structure and its use for fNIRSThe Brain Imaging Data Structure and its use for fNIRS
The Brain Imaging Data Structure and its use for fNIRS
 
Organizing EEG data using the Brain Imaging Data Structure
Organizing EEG data using the Brain Imaging Data Structure Organizing EEG data using the Brain Imaging Data Structure
Organizing EEG data using the Brain Imaging Data Structure
 
BIOMAG2018 - Denis Engemann - MNE-HCP
BIOMAG2018 - Denis Engemann - MNE-HCPBIOMAG2018 - Denis Engemann - MNE-HCP
BIOMAG2018 - Denis Engemann - MNE-HCP
 
BIOMAG2018 - Tzvetan Popov - HCP from a user's perspective
BIOMAG2018 - Tzvetan Popov - HCP from a user's perspectiveBIOMAG2018 - Tzvetan Popov - HCP from a user's perspective
BIOMAG2018 - Tzvetan Popov - HCP from a user's perspective
 
BIOMAG2018 - Vladimir Litvak - Frontiers
BIOMAG2018 - Vladimir Litvak - FrontiersBIOMAG2018 - Vladimir Litvak - Frontiers
BIOMAG2018 - Vladimir Litvak - Frontiers
 
BIOMAG2018 - Jan-Mathijs Schoffelen - COBIDAS
BIOMAG2018 - Jan-Mathijs Schoffelen - COBIDASBIOMAG2018 - Jan-Mathijs Schoffelen - COBIDAS
BIOMAG2018 - Jan-Mathijs Schoffelen - COBIDAS
 
BIOMAG2018 - Darren Price - CamCAN
BIOMAG2018 - Darren Price - CamCANBIOMAG2018 - Darren Price - CamCAN
BIOMAG2018 - Darren Price - CamCAN
 
CuttingEEG - Open Science, Open Data and BIDS for EEG
CuttingEEG - Open Science, Open Data and BIDS for EEGCuttingEEG - Open Science, Open Data and BIDS for EEG
CuttingEEG - Open Science, Open Data and BIDS for EEG
 
ChildBrain/Predictable summer school - Open Science
ChildBrain/Predictable summer school - Open Science ChildBrain/Predictable summer school - Open Science
ChildBrain/Predictable summer school - Open Science
 
Using Open Science to accelerate advancements in auditory EEG signal processing
Using Open Science to accelerate advancements in auditory EEG signal processingUsing Open Science to accelerate advancements in auditory EEG signal processing
Using Open Science to accelerate advancements in auditory EEG signal processing
 
Donders Repository - removing barriers for management and sharing of research...
Donders Repository - removing barriers for management and sharing of research...Donders Repository - removing barriers for management and sharing of research...
Donders Repository - removing barriers for management and sharing of research...
 
RDM and the Donders Repository
RDM and the Donders RepositoryRDM and the Donders Repository
RDM and the Donders Repository
 
Donders Research Data Repository
Donders Research Data Repository Donders Research Data Repository
Donders Research Data Repository
 

Recently uploaded

HOW DO ORGANISMS REPRODUCE?reproduction part 1
HOW DO ORGANISMS REPRODUCE?reproduction part 1HOW DO ORGANISMS REPRODUCE?reproduction part 1
HOW DO ORGANISMS REPRODUCE?reproduction part 1
Shashank Shekhar Pandey
 
Shallowest Oil Discovery of Turkiye.pptx
Shallowest Oil Discovery of Turkiye.pptxShallowest Oil Discovery of Turkiye.pptx
Shallowest Oil Discovery of Turkiye.pptx
Gokturk Mehmet Dilci
 
8.Isolation of pure cultures and preservation of cultures.pdf
8.Isolation of pure cultures and preservation of cultures.pdf8.Isolation of pure cultures and preservation of cultures.pdf
8.Isolation of pure cultures and preservation of cultures.pdf
by6843629
 
Randomised Optimisation Algorithms in DAPHNE
Randomised Optimisation Algorithms in DAPHNERandomised Optimisation Algorithms in DAPHNE
Randomised Optimisation Algorithms in DAPHNE
University of Maribor
 
SAR of Medicinal Chemistry 1st by dk.pdf
SAR of Medicinal Chemistry 1st by dk.pdfSAR of Medicinal Chemistry 1st by dk.pdf
SAR of Medicinal Chemistry 1st by dk.pdf
KrushnaDarade1
 
Equivariant neural networks and representation theory
Equivariant neural networks and representation theoryEquivariant neural networks and representation theory
Equivariant neural networks and representation theory
Daniel Tubbenhauer
 
Bob Reedy - Nitrate in Texas Groundwater.pdf
Bob Reedy - Nitrate in Texas Groundwater.pdfBob Reedy - Nitrate in Texas Groundwater.pdf
Bob Reedy - Nitrate in Texas Groundwater.pdf
Texas Alliance of Groundwater Districts
 
Applied Science: Thermodynamics, Laws & Methodology.pdf
Applied Science: Thermodynamics, Laws & Methodology.pdfApplied Science: Thermodynamics, Laws & Methodology.pdf
Applied Science: Thermodynamics, Laws & Methodology.pdf
University of Hertfordshire
 
Sharlene Leurig - Enabling Onsite Water Use with Net Zero Water
Sharlene Leurig - Enabling Onsite Water Use with Net Zero WaterSharlene Leurig - Enabling Onsite Water Use with Net Zero Water
Sharlene Leurig - Enabling Onsite Water Use with Net Zero Water
Texas Alliance of Groundwater Districts
 
Compexometric titration/Chelatorphy titration/chelating titration
Compexometric titration/Chelatorphy titration/chelating titrationCompexometric titration/Chelatorphy titration/chelating titration
Compexometric titration/Chelatorphy titration/chelating titration
Vandana Devesh Sharma
 
Basics of crystallography, crystal systems, classes and different forms
Basics of crystallography, crystal systems, classes and different formsBasics of crystallography, crystal systems, classes and different forms
Basics of crystallography, crystal systems, classes and different forms
MaheshaNanjegowda
 
Authoring a personal GPT for your research and practice: How we created the Q...
Authoring a personal GPT for your research and practice: How we created the Q...Authoring a personal GPT for your research and practice: How we created the Q...
Authoring a personal GPT for your research and practice: How we created the Q...
Leonel Morgado
 
11.1 Role of physical biological in deterioration of grains.pdf
11.1 Role of physical biological in deterioration of grains.pdf11.1 Role of physical biological in deterioration of grains.pdf
11.1 Role of physical biological in deterioration of grains.pdf
PirithiRaju
 
The binding of cosmological structures by massless topological defects
The binding of cosmological structures by massless topological defectsThe binding of cosmological structures by massless topological defects
The binding of cosmological structures by massless topological defects
Sérgio Sacani
 
EWOCS-I: The catalog of X-ray sources in Westerlund 1 from the Extended Weste...
EWOCS-I: The catalog of X-ray sources in Westerlund 1 from the Extended Weste...EWOCS-I: The catalog of X-ray sources in Westerlund 1 from the Extended Weste...
EWOCS-I: The catalog of X-ray sources in Westerlund 1 from the Extended Weste...
Sérgio Sacani
 
Pests of Storage_Identification_Dr.UPR.pdf
Pests of Storage_Identification_Dr.UPR.pdfPests of Storage_Identification_Dr.UPR.pdf
Pests of Storage_Identification_Dr.UPR.pdf
PirithiRaju
 
The debris of the ‘last major merger’ is dynamically young
The debris of the ‘last major merger’ is dynamically youngThe debris of the ‘last major merger’ is dynamically young
The debris of the ‘last major merger’ is dynamically young
Sérgio Sacani
 
Direct Seeded Rice - Climate Smart Agriculture
Direct Seeded Rice - Climate Smart AgricultureDirect Seeded Rice - Climate Smart Agriculture
Direct Seeded Rice - Climate Smart Agriculture
International Food Policy Research Institute- South Asia Office
 
Sciences of Europe journal No 142 (2024)
Sciences of Europe journal No 142 (2024)Sciences of Europe journal No 142 (2024)
Sciences of Europe journal No 142 (2024)
Sciences of Europe
 
Eukaryotic Transcription Presentation.pptx
Eukaryotic Transcription Presentation.pptxEukaryotic Transcription Presentation.pptx
Eukaryotic Transcription Presentation.pptx
RitabrataSarkar3
 

Recently uploaded (20)

HOW DO ORGANISMS REPRODUCE?reproduction part 1
HOW DO ORGANISMS REPRODUCE?reproduction part 1HOW DO ORGANISMS REPRODUCE?reproduction part 1
HOW DO ORGANISMS REPRODUCE?reproduction part 1
 
Shallowest Oil Discovery of Turkiye.pptx
Shallowest Oil Discovery of Turkiye.pptxShallowest Oil Discovery of Turkiye.pptx
Shallowest Oil Discovery of Turkiye.pptx
 
8.Isolation of pure cultures and preservation of cultures.pdf
8.Isolation of pure cultures and preservation of cultures.pdf8.Isolation of pure cultures and preservation of cultures.pdf
8.Isolation of pure cultures and preservation of cultures.pdf
 
Randomised Optimisation Algorithms in DAPHNE
Randomised Optimisation Algorithms in DAPHNERandomised Optimisation Algorithms in DAPHNE
Randomised Optimisation Algorithms in DAPHNE
 
SAR of Medicinal Chemistry 1st by dk.pdf
SAR of Medicinal Chemistry 1st by dk.pdfSAR of Medicinal Chemistry 1st by dk.pdf
SAR of Medicinal Chemistry 1st by dk.pdf
 
Equivariant neural networks and representation theory
Equivariant neural networks and representation theoryEquivariant neural networks and representation theory
Equivariant neural networks and representation theory
 
Bob Reedy - Nitrate in Texas Groundwater.pdf
Bob Reedy - Nitrate in Texas Groundwater.pdfBob Reedy - Nitrate in Texas Groundwater.pdf
Bob Reedy - Nitrate in Texas Groundwater.pdf
 
Applied Science: Thermodynamics, Laws & Methodology.pdf
Applied Science: Thermodynamics, Laws & Methodology.pdfApplied Science: Thermodynamics, Laws & Methodology.pdf
Applied Science: Thermodynamics, Laws & Methodology.pdf
 
Sharlene Leurig - Enabling Onsite Water Use with Net Zero Water
Sharlene Leurig - Enabling Onsite Water Use with Net Zero WaterSharlene Leurig - Enabling Onsite Water Use with Net Zero Water
Sharlene Leurig - Enabling Onsite Water Use with Net Zero Water
 
Compexometric titration/Chelatorphy titration/chelating titration
Compexometric titration/Chelatorphy titration/chelating titrationCompexometric titration/Chelatorphy titration/chelating titration
Compexometric titration/Chelatorphy titration/chelating titration
 
Basics of crystallography, crystal systems, classes and different forms
Basics of crystallography, crystal systems, classes and different formsBasics of crystallography, crystal systems, classes and different forms
Basics of crystallography, crystal systems, classes and different forms
 
Authoring a personal GPT for your research and practice: How we created the Q...
Authoring a personal GPT for your research and practice: How we created the Q...Authoring a personal GPT for your research and practice: How we created the Q...
Authoring a personal GPT for your research and practice: How we created the Q...
 
11.1 Role of physical biological in deterioration of grains.pdf
11.1 Role of physical biological in deterioration of grains.pdf11.1 Role of physical biological in deterioration of grains.pdf
11.1 Role of physical biological in deterioration of grains.pdf
 
The binding of cosmological structures by massless topological defects
The binding of cosmological structures by massless topological defectsThe binding of cosmological structures by massless topological defects
The binding of cosmological structures by massless topological defects
 
EWOCS-I: The catalog of X-ray sources in Westerlund 1 from the Extended Weste...
EWOCS-I: The catalog of X-ray sources in Westerlund 1 from the Extended Weste...EWOCS-I: The catalog of X-ray sources in Westerlund 1 from the Extended Weste...
EWOCS-I: The catalog of X-ray sources in Westerlund 1 from the Extended Weste...
 
Pests of Storage_Identification_Dr.UPR.pdf
Pests of Storage_Identification_Dr.UPR.pdfPests of Storage_Identification_Dr.UPR.pdf
Pests of Storage_Identification_Dr.UPR.pdf
 
The debris of the ‘last major merger’ is dynamically young
The debris of the ‘last major merger’ is dynamically youngThe debris of the ‘last major merger’ is dynamically young
The debris of the ‘last major merger’ is dynamically young
 
Direct Seeded Rice - Climate Smart Agriculture
Direct Seeded Rice - Climate Smart AgricultureDirect Seeded Rice - Climate Smart Agriculture
Direct Seeded Rice - Climate Smart Agriculture
 
Sciences of Europe journal No 142 (2024)
Sciences of Europe journal No 142 (2024)Sciences of Europe journal No 142 (2024)
Sciences of Europe journal No 142 (2024)
 
Eukaryotic Transcription Presentation.pptx
Eukaryotic Transcription Presentation.pptxEukaryotic Transcription Presentation.pptx
Eukaryotic Transcription Presentation.pptx
 

Group analyses with FieldTrip

  • 1. From raw MEG to publication: how to perform group analysis with FieldTrip Robert Oostenveld Donders Institute, Radboud University, Nijmegen, NL NatMEG, Karolinska Institute, Stockholm, SE
  • 2. Presentation outline FieldTrip background Strategy for making analysis pipelines Single subject pipeline Highlight: Reading and converting files Highlight: Anatomical coregistration Group analysis pipeline
  • 3. M/EEG signal characteristics considered during analysis timecourse of activity -> ERP spectral characteristics -> power spectrum or TFR spatial distribution of activity over the head -> source reconstruction interaction between regions in the brain -> source reconstruction and connectivity
  • 4. Channels show a superposition of the source activity Some analyses can be done at the channel level Some should be done at the source level analyses interpretations or hypotheses require
  • 5. FieldTrip basics dataout = functionname(cfg, datain, …) functionname(cfg, datain, …) dataout = functionname(cfg) the “cfg” argument is a configuration structure, e.g. cfg.channel = {‘C3’, C4’, ‘F3’, ‘F4’} cfg.foilim = [1 70]
  • 6. Using functions in an analysis protocol ft_preprocessing ft_rejectartifact ft_freqanalysis ft_multiplotTFR ft_freqstatistics ft_multiplotTFR cfg = [ ] cfg.dataset = ‘Subject01.ds’ cfg.bpfilter = [0.01 150] ... rawdata = ft_preprocessing(cfg)
  • 7. Using functions in an analysis protocol ft_preprocessing ft_rejectartifact ft_freqanalysis ft_multiplotTFR ft_freqstatistics ft_multiplotTFR cfg = [ ] cfg.method = ‘mtmfft’ cfg.foilim = [1 120] ... freqdata = ft_freqanalysis(cfg, rawdata)
  • 8. Event related response timelockData = avg: [151x900 double] var: [151x900 double] label: {151x1 cell} time: [1x900 double] dimord: 'chan_time’ cfg: [1x1 struct]
  • 9. Example use in scripts cfg = [] cfg.dataset = ‘Subject01.ds’ cfg.bpfilter = [0.01 150] ... rawdata = ft_preprocessing(cfg) cfg = [] cfg.method = ‘mtmfft’ cfg.foilim = [1 120] ... freqdata = ft_freqanalysis(cfg, rawdata) cfg = [] cfg.method = ‘montecarlo’ cfg.statistic = ‘indepsamplesT’ cfg.design = [1 2 1 2 2 1 2 1 1 2 ... ] ... freqstat = ft_freqstatistics(cfg, freqdata) ft_preprocessing ft_freqanalysis ft_freqstatistics ft_topoplotTFR …
  • 10. Example use in scripts cfg = [] cfg.dataset = ‘Subject01.ds’ cfg.bpfilter = [0.01 150] ... rawdata = ft_preprocessing(cfg) cfg = [] cfg.method = ‘mtmfft’ cfg.foilim = [1 120] ... freqdata = ft_freqanalysis(cfg, rawdata) cfg = [] cfg.method = ‘montecarlo’ cfg.statistic = ‘indepsamplesT’ cfg.design = [1 2 1 2 2 1 2 1 1 2 ... ] ... freqstat = ft_freqstatistics(cfg, freqdata) ft_preprocessing ft_freqanalysis ft_freqstatistics ft_topoplotTFR …
  • 11. Example use in scripts cfg = [] cfg.dataset = ‘Subject01.ds’ cfg.bpfilter = [0.01 150] ... rawdata = ft_preprocessing(cfg) cfg = [] cfg.method = ‘mtmfft’ cfg.foilim = [1 120] ... freqdata = ft_freqanalysis(cfg, rawdata) cfg = [] cfg.method = ‘montecarlo’ cfg.statistic = ‘indepsamplesT’ cfg.design = [1 2 1 2 2 1 2 1 1 2 ... ] ... freqstat = ft_freqstatistics(cfg, freqdata) ft_preprocessing ft_freqanalysis ft_freqstatistics ft_topoplotTFR …
  • 12. Example use in scripts cfg = [] cfg.dataset = ‘Subject01.ds’ cfg.bpfilter = [0.01 150] ... rawdata = ft_preprocessing(cfg) cfg = [] cfg.method = ‘mtmfft’ cfg.foilim = [1 120] ... freqdata = ft_freqanalysis(cfg, rawdata) cfg = [] cfg.method = ‘montecarlo’ cfg.statistic = ‘indepsamplesT’ cfg.design = [1 2 1 2 2 1 2 1 1 2 ... ] ... freqstat = ft_freqstatistics(cfg, freqdata) ft_preprocessing ft_freqanalysis ft_freqstatistics ft_topoplotTFR …
  • 13. Example use in scripts cfg = [] cfg.dataset = ‘Subject01.ds’ cfg.bpfilter = [0.01 150] ... rawdata = ft_preprocessing(cfg) cfg = [] cfg.method = ‘mtmfft’ cfg.foilim = [1 120] ... freqdata = ft_freqanalysis(cfg, rawdata) cfg = [] cfg.method = ‘montecarlo’ cfg.statistic = ‘indepsamplesT’ cfg.design = [1 2 1 2 2 1 2 1 1 2 ... ] ... freqstat = ft_freqstatistics(cfg, freqdata) ft_preprocessing ft_freqanalysis ft_freqstatistics ft_topoplotTFR …
  • 14. Example use in scripts subj = {‘S01.ds’, ‘S02.ds’, …} trig = [1 3 7 9] for s=1:nsubj for c=1:ncond cfg = [] cfg.dataset = subj{s} cfg.trigger = trig(c) rawdata{s,c} = ft_preprocessing(cfg) cfg = [] cfg.method = ‘mtmfft’ cfg.foilim = [1 120] freqdata{s,c} = ft_freqanalysis(cfg, rawdata{s,c}) end end
  • 15. Example use in scripts subj = {‘S01.ds’, ‘S02.ds’, …} trig = [1 3 7 9] for s=1:nsubj for c=1:ncond cfg = [] cfg.dataset = subj{s} cfg.trigger = trig(c) rawdata = ft_preprocessing(cfg) filename = sprintf(‘raw%s_%d.mat’, subj{s}, trig(c)); save(filename, ‘rawdata’) end end
  • 16. Example use in scripts subj = {‘S01.ds’, ‘S02.ds’, …} trig = [1 3 7 9] for s=1:nsubj for c=1:ncond cfg = [] cfg.dataset = subj{s} cfg.trigger = trig(c) cfg.outputfile = sprintf(‘raw%s_%d.mat’, subj{s}, trig(c)); rawdata = ft_preprocessing(cfg) end end
  • 17. Example use in distributed computing subj = {‘S01.ds’, ‘S02.ds’, …} trig = [1 3 7 9] for s=1:nsubj for c=1:ncond cfgA{s,c} = [] cfgA{s,c}.dataset = subj{s} cfgA{s,c}.trigger = trig(c) cfgA{s,c}.outputfile = sprintf(‘raw%s_%d.mat’, subj{s}, trig(c)) cfgB{s,c} = [] cfgB{s,c}.dataset = subj{s} cfgB{s,c}.trigger = trig(c) cfgB{s,c}.inputfile = sprintf(‘raw%s_%d.mat’, subj{s}, trig(c)); cfgB{s,c}.outputfile = sprintf(‘freq%s_%d.mat’, subj{s}, trig(c)); end end dfeval(@ft_preprocessing, cfgA) dfeval(@ft_freqanalysis, cfgB)
  • 18. Example use in distributed computing subj = {‘S01.ds’, ‘S02.ds’, …} trig = [1 3 7 9] for s=1:nsubj for c=1:ncond cfgA{s,c} = [] cfgA{s,c}.dataset = subj{s} cfgA{s,c}.trigger = trig(c) cfgA{s,c}.outputfile = sprintf(‘raw%s_%d.mat’, subj{s}, trig(c)) cfgB{s,c} = [] cfgB{s,c}.dataset = subj{s} cfgB{s,c}.trigger = trig(c) cfgB{s,c}.inputfile = sprintf(‘raw%s_%d.mat’, subj{s}, trig(c)); cfgB{s,c}.outputfile = sprintf(‘freq%s_%d.mat’, subj{s}, trig(c)); end end qsubcellfun(@ft_preprocessing, cfgA) qsubcellfun(@ft_freqanalysis, cfgB)
  • 19. FieldTrip is a toolbox the data and the separate functions are all in your hands you write a script or set of scripts that represents the analysis pipeline scripts correspond to analysis protocols scripts can be reviewed by supervisors scripts are often reused and shared with colleagues scripts can be published/released
  • 20. File importing with FieldTrip highlight 1
  • 21. FieldTrip private functions (low-level) FieldTrip main functions end-user perspective FieldTrip toolbox structure - at a glance
  • 22. FieldTrip toolbox structure - a closer look fileio forward preproc private FieldTrip main functions end-user perspective utilities …
  • 23. external EEGLAB external SPM preproc FieldTrip toolbox structure - a closer look fileio forward private end-user perspective ft_read_data(…) ft_compute_leadfield(…) ft_preproc_bandpassfilter(…) utilitiesFieldTrip main functions
  • 24. SPM under the hood preprocfileio forward end-user perspective ft_read_data(…) ft_compute_leadfield(…) ft_preproc_bandpassfilter(…) fieldtrip SPM … private
  • 25. EEGLAB under the hood fileio forward end-user perspective ft_read_data(…) ft_compute_leadfield(…) fieldtrip EEGLAB … private
  • 26. The fileio (input/output) mini toolbox In FieldTrip primarily ft_definetrial(cfg) ft_preprocessing(cfg) ft_read_mri Provides a consistent interface (API) to datasets from 7 MEG systems and >30 EEG systems ft_read_event ft_read_header ft_read_data ft_read_xxx(filename, …)
  • 27. highlight 2 Coregistration between MEG/EEG and anatomy 1) anatomical landmarks (lpa, rpa, nas) 2) HPI/HCL coil locations 3) scalp surface points
  • 28. Lab specific conventions for landmarks and markers Landmarks: anatomically recognizeable points on a head Markers (or fiducials): points that are visible in multiple modalities, e.g. HPI coils or vitamin E capsules
  • 29. Sharing anonymous imaging data Facial details have been removed, e.g. using ft_defacevolume or ft_defacemesh. Nasion is missing, the outline of the nose is missing, sometimes also the ears.
  • 30. Coregistration 1. Redo the coregistration using limited data 2. Trust the coregistration that was provided FieldTrip BrainStorm
  • 31. Presentation outline FieldTrip background Strategy for making analysis pipelines Single subject pipeline Highlight: Reading and converting files Highlight: Anatomical coregistration Group analysis pipeline
  • 32. Making a group analysis pipeline Start with version control > git init Write the pipeline for a single subject > git commit Manage subject differences > git commit Run for all subjects > git commit Do group analysis > git commit Share your pipeline along with paper and data > git push
  • 33. Wrap up and topics for discussion Managing and sharing pipelines - version control, provenance, consistency, reproducibility Preventing “data dredging”, “double dipping” and biassed analyses Sharing data for (re)analysis - BIDS: Brain Imaging Data Structure now also for MEG (see poster Mo-P012) - Provide sufficient detail, but not all http://datacolada.org https://aspredicted.org