SlideShare a Scribd company logo
1 of 22
Download to read offline
fNIRS data analysis 
• Biophysics 
• Donders Center for Neuroscience 
• Donders Institute for Brain, Cognition and Behavior 
• Science Faculty, Radboud University 
• Otorhinolaryngology 
• Medical Faculty, RadboudUMC 
• Donders Hearing and Implants 
• Radboud Research Facilities 
• Cochlear 
• Advanced Bionics 
Marc van Wanrooij, Luuk van de Rijt, Anja Roye, Guus van Bentum, Ad Snik, Emmanuel 
Mylanus, John van Opstal
Analysis pipeline 
• Recording fNIRS 
• Artifact rejection and correction (scalp coupling, motion artifact, physiological noise) 
• Filtering 
• Computing average 
• Quantification of amplitudes and latencies 
• Statistical analysis
• Recording fNIRS 
• Artifact rejection and correction (scalp coupling, motion artifact, physiological noise) 
• Filtering 
• Computing average 
• Quantification of amplitudes and latencies 
• Statistical analysis
Recording NIRS 
• Oxymon
Recording fNIRS - Raw data 
• Data needs to be read into Matlab workspace 
Raw 
20 25 30 
Time (sec) 
Amplitude (au) 
765 nm 
858 nm [OD,xmlInfo]=oxy3read_function();  
% propietary Matlab file from Artinis 
% quite cumbersome as we need to manually enter  
% filename.  
% Also, AD board signals are not extracted
• Recording fNIRS 
• Artifact rejection and correction (scalp coupling, motion artifact, physiological noise) 
• Filtering 
• Computing average 
• Quantification of amplitudes and latencies 
• Statistical analysis
Artifact rejection and correction - Cardiac oscillation 
• Strong cardiac oscillation in fNIRS raw signals is undesirable for measuring evoked cortical 
hemodynamic responses 
out = prctile(OD(1,:),[2.5 97.5]); % outliers 
sel1 = OD(1,:)out(2)  OD(1,:)out(1); % selection 
pa_getpower(OD(ii,sel1)-mean(OD(ii,sel1)),250,'display',1); % power spectrum 
 
1 
0.8 
0.6 
0.4 
0.2 
0 
Power Spectrum 
0.1 1 10 
Frequency (kHz) 
Amplitude (au)
Artifact rejection and correction - Scalp coupling 
• Strong cardiac oscillation in fNIRS raw signals indicates a good contact between the optical 
probe and the scalp 
20 25 30 
 
0 
ï 
SCI = 0.99 
Time (sec) 
Amplitude (au) 
765 nm 
858 nm 
Odcardiac(ii,:)= resample(OD(ii,:),10,Fs);  
% we resample the data: this is better than  
% downsample because it deals with anti-aliasing,  
% but there is a discussion about this 
ODcardiac(ii,:)= pa_bandpass(ODcardiac(ii,:),[0.5 2.5],5);  
% we band-pass between 0.5 and 2.5 Hz to keep cardiac  
% component only. 
 
r  = corrcoef(ODcardiac(ii,sel),ODcardiac(ii+1,sel)); 
r  = r(2)^2; % Scalp coupling index 
Pollonini, L., Olds, C., Abaya, H., Bortfeld, H., Beauchamp, M. S.,  Oghalai, J. S. (2014). Auditory cortex 
activation to natural speech and simulated cochlear implant speech measured with functional near-infrared 
spectroscopy. Hearing Research, 309, 84–93. doi:10.1016/j.heares.2013.11.007
Artifact rejection and correction - Scalp coupling 
Rejection 1 
• Reject channels with poor scalp coupling (SCI0.75)
Sidenote - from optical densities to concentration changes 
http://en.wikipedia.org/wiki/Near-infrared_spectroscopy 
• Basically, you can do it yourself with matrix multiplication: 
e  = [eHbR1*d eHbO1*d; eHbR2*d eHbO2*d]; % absorption coefficients 
dOD  = [dOD1;dOD2]; % optical densities 
dX  = eM^-1*dOD; % concentration changes 
• Artinis has some Matlab code available 
[t,O2Hb,HHb]=single_ch(OD,xmlInfo,2,1,[3,4]);
Artifact rejection and correction - motion artifact 
• Usually we throw away data that is contaminated by motion artifacts. Example here shows 
some onset artefacts, that are selected by an automatic artifact removal. 
ODz(ii,:) = zscore(OD(ii,:); % ztransform the data 
% remove some outliers   
out  = prctile(ODz(ii,:),[2.5 97.5]); 
sel  = ODz(ii,:)out(2)  ODz(ii,:)out(1); 
OD(ii,sel) = NaN; 
0 5 10 15 20 
30 
25 
20 
15 
10 
5 
0 
−5 
−10 
−15 
−20 
−25 
−30 
Raw 
Time (sec) 
Amplitude (au) 
OHb 
HHb
Artifact rejection and correction – physiological/scalp noise 
• For a simple fNIRS measurement, reference channel subtraction can improve data 
%% Reference channel subtraction 
b  = regstats(chanSig,chanRef,'linear','r'); 
chanSig = b.r; % residuals 
Main 
channel Reference 
channel Clear 
↓ 
signal 
-­‐ =
Analysis pipeline 
• Recording fNIRS 
• Artifact rejection and correction (scalp coupling, motion artifact, physiological noise) 
• Filtering 
• Computing average 
• Quantification of amplitudes and latencies 
• Statistical analysis
Filtering 
• If (physiological) noise (e.g. variations that you are not interested in) is not removed or 
corrected, one typically filters the data.
Analysis pipeline 
• Recording fNIRS 
• Artifact rejection and correction (scalp coupling, motion artifact, physiological noise) 
• Filtering 
• Computing average 
• Quantification of amplitudes and latencies 
• Statistical analysis
Computing averages 
• Average over events / subjects 
function MU = getblock(nirs,chanSig,sensmod) 
fs   = nirs.fsample; 
fd   = nirs.fsdown; 
onSample = ceil([nirs.event.sample]*fd/fs); % onset and offset of stimulus 
offSample = onSample(2:2:end); % offset 
onSample = onSample(1:2:end); % onset 
stim  = {nirs.event.stim};  
 
selOn  = strcmp(stim,sensmod); 
selOff  = selOn(2:2:end); 
selOn  = selOn(1:2:end); 
Aon   = onSample(selOn); 
Aoff  = offSample(selOff); 
mx   = min((Aoff - Aon)+1)+150; 
nStim  = numel(Aon); 
MU = NaN(nStim,mx); 
for stmIdx = 1:nStim 
idx    = Aon(stmIdx)-100:Aoff(stmIdx)+50; % extra 100 samples before and 
after 
idx    = idx(1:mx); 
MU(stmIdx,:) = chanSig(idx); 
end 
MU = bsxfun(@minus,MU,mean(MU(:,1:100),2)); % remove the 100th sample, to set y-origin to 
stimulus onset
Computing averages 
• Single CI patient / different events
Analysis pipeline 
• Recording fNIRS 
• Artifact rejection and correction (scalp coupling, motion artifact, physiological noise) 
• Filtering 
• Computing average 
• Quantification of amplitudes and latencies 
• Statistical analysis
−0.5 −0.4 −0.3 −0.2 −0.1 0 0.1 0.2 0.3 0.4 0.5 
0.5 
0.4 
0.3 
0.2 
0.1 
0 
−0.1 
−0.2 
−0.3 
−0.4 
−0.5 
`audio 
6[XHb] (μM) 
6[XHb] (μM) 
`video 
−0.5 −0.4 −0.3 −0.2 −0.1 0 0.1 0.2 0.3 0.4 0.5 
0.5 
0.4 
0.3 
0.2 
0.1 
0 
−0.1 
−0.2 
−0.3 
−0.4 
−0.5 
`audio+video 
6[XHb] (μM) 
6[XHb] (μM) 
`av 
O 
2 
Hb 
HHb 
Quantification of amplitudes and latencies 
• Maximum amplitude in average trace / Generalized linear model
Analysis pipeline 
• Recording fNIRS 
• Artifact rejection and correction (scalp coupling, motion artifact, physiological noise) 
• Filtering 
• Computing average 
• Quantification of amplitudes and latencies 
• Statistical analysis: see Guus van Bentum
Analysis pipeline 
• Recording fNIRS 
• Artifact rejection and correction (scalp coupling, motion artifact, physiological noise) 
• Filtering 
• Computing average 
• Quantification of amplitudes and latencies 
• Statistical analysis 
Note similarity to FieldTrip EEG analysis 
http://fieldtrip.fcdonders.nl/tutorial/introduction
Analysis packages 
• Statistical analysis of fNIRS Tak, S.,  Ye, J. C. (2014). Statistical analysis of fNIRS data: A comprehensive review. 
NeuroImage, 85 Pt 1(null), 72–91. doi:10.1016/j.neuroimage.2013.06.016 
• HOMER Huppert, T. J., Diamond, S. G., Franceschini, M. A.,  Boas, D. A. (2009). HomER: a review of time-series analysis 
methods for near-infrared spectroscopy of the brain. Applied Optics, 48(10), D280–98. Retrieved from 
http://www.pubmedcentral.nih.gov/articlerender.fcgi?artid=2761652tool=pmcentrezrendertype=abstract 
• Motion artifact correction Cooper, R. J., Selb, J., Gagnon, L., Phillip, D., Schytz, H. W., Iversen, H. K., … Boas, D. A. 
(2012). A systematic comparison of motion artifact correction techniques for functional near-infrared spectroscopy. Frontiers in 
Neuroscience, 6, 147. doi:10.3389/fnins.2012.00147 
• NIRS Analysis package Fekete, T., Rubin, D., Carlson, J. M.,  Mujica-Parodi, L. R. (2011). The NIRS Analysis Package: 
noise reduction and statistical inference. PloS One, 6(9), e24322. doi:10.1371/journal.pone.0024322

More Related Content

What's hot

Basic Brain Anatomy
Basic Brain AnatomyBasic Brain Anatomy
Basic Brain Anatomykagould
 
Parietal lobe
Parietal lobeParietal lobe
Parietal lobeArun S
 
Frontal lobe & subcortical circuits
Frontal lobe & subcortical circuitsFrontal lobe & subcortical circuits
Frontal lobe & subcortical circuitsNeurologyKota
 
fMRI terms: HRF and BOLD
fMRI terms: HRF and BOLDfMRI terms: HRF and BOLD
fMRI terms: HRF and BOLDRussell James
 
BAEP, BERA, BEP, Brainstem auditory evoked potential By Murtaza Syed
BAEP, BERA, BEP, Brainstem auditory evoked potential By Murtaza SyedBAEP, BERA, BEP, Brainstem auditory evoked potential By Murtaza Syed
BAEP, BERA, BEP, Brainstem auditory evoked potential By Murtaza SyedMurtaza Syed
 
Neuroimaging and its implications in psychiatry
Neuroimaging and its implications in psychiatryNeuroimaging and its implications in psychiatry
Neuroimaging and its implications in psychiatryRupinder Oberoi
 
Ppt parietal lobe
Ppt parietal lobePpt parietal lobe
Ppt parietal lobeqavi786
 
anatomy and physiology of temporal lobe
anatomy and physiology of temporal lobeanatomy and physiology of temporal lobe
anatomy and physiology of temporal lobechaurasia028
 
Brainstem Auditory Evoked Potentials Part II
Brainstem Auditory Evoked Potentials Part IIBrainstem Auditory Evoked Potentials Part II
Brainstem Auditory Evoked Potentials Part IIAnurag Tewari MD
 
fMRI Presentation
fMRI PresentationfMRI Presentation
fMRI Presentationricksw78
 
Functional magnetic resonance imaging-fMRI
Functional magnetic resonance imaging-fMRIFunctional magnetic resonance imaging-fMRI
Functional magnetic resonance imaging-fMRIREMIX MAHARJAN
 
Neuroimaging in psychiatry
Neuroimaging in psychiatryNeuroimaging in psychiatry
Neuroimaging in psychiatrySantanu Ghosh
 
Functional neuroimaging.pptx
Functional neuroimaging.pptx Functional neuroimaging.pptx
Functional neuroimaging.pptx NeurologyKota
 
Ch. 3: Biopsychology
Ch. 3: BiopsychologyCh. 3: Biopsychology
Ch. 3: Biopsychologyjbodford
 
Evoked potential - An overview
Evoked potential - An overviewEvoked potential - An overview
Evoked potential - An overviewAnbarasi rajkumar
 
Polysomnography: recording and sleep staging
Polysomnography: recording and sleep stagingPolysomnography: recording and sleep staging
Polysomnography: recording and sleep stagingPramod Krishnan
 

What's hot (20)

Basic Brain Anatomy
Basic Brain AnatomyBasic Brain Anatomy
Basic Brain Anatomy
 
Parietal lobe
Parietal lobeParietal lobe
Parietal lobe
 
Frontal lobe & subcortical circuits
Frontal lobe & subcortical circuitsFrontal lobe & subcortical circuits
Frontal lobe & subcortical circuits
 
fMRI terms: HRF and BOLD
fMRI terms: HRF and BOLDfMRI terms: HRF and BOLD
fMRI terms: HRF and BOLD
 
BAEP, BERA, BEP, Brainstem auditory evoked potential By Murtaza Syed
BAEP, BERA, BEP, Brainstem auditory evoked potential By Murtaza SyedBAEP, BERA, BEP, Brainstem auditory evoked potential By Murtaza Syed
BAEP, BERA, BEP, Brainstem auditory evoked potential By Murtaza Syed
 
Neuroimaging and its implications in psychiatry
Neuroimaging and its implications in psychiatryNeuroimaging and its implications in psychiatry
Neuroimaging and its implications in psychiatry
 
Ppt parietal lobe
Ppt parietal lobePpt parietal lobe
Ppt parietal lobe
 
anatomy and physiology of temporal lobe
anatomy and physiology of temporal lobeanatomy and physiology of temporal lobe
anatomy and physiology of temporal lobe
 
fMRI Study Design
fMRI Study DesignfMRI Study Design
fMRI Study Design
 
Brainstem Auditory Evoked Potentials Part II
Brainstem Auditory Evoked Potentials Part IIBrainstem Auditory Evoked Potentials Part II
Brainstem Auditory Evoked Potentials Part II
 
Stereotaxy Brain
Stereotaxy BrainStereotaxy Brain
Stereotaxy Brain
 
fMRI Presentation
fMRI PresentationfMRI Presentation
fMRI Presentation
 
Functional magnetic resonance imaging-fMRI
Functional magnetic resonance imaging-fMRIFunctional magnetic resonance imaging-fMRI
Functional magnetic resonance imaging-fMRI
 
Neuroimaging in psychiatry
Neuroimaging in psychiatryNeuroimaging in psychiatry
Neuroimaging in psychiatry
 
Brain anatomy new
Brain anatomy newBrain anatomy new
Brain anatomy new
 
Functional neuroimaging.pptx
Functional neuroimaging.pptx Functional neuroimaging.pptx
Functional neuroimaging.pptx
 
Ch. 3: Biopsychology
Ch. 3: BiopsychologyCh. 3: Biopsychology
Ch. 3: Biopsychology
 
Evoked potential - An overview
Evoked potential - An overviewEvoked potential - An overview
Evoked potential - An overview
 
Frontal lobe
Frontal lobeFrontal lobe
Frontal lobe
 
Polysomnography: recording and sleep staging
Polysomnography: recording and sleep stagingPolysomnography: recording and sleep staging
Polysomnography: recording and sleep staging
 

Similar to fNIRS data analysis

The painful removal of tiling artefacts in ToF-SIMS data
The painful removal of tiling artefacts in ToF-SIMS dataThe painful removal of tiling artefacts in ToF-SIMS data
The painful removal of tiling artefacts in ToF-SIMS dataCSIRO
 
The painful removal of tiling artefacts in hypersprectral data
The painful removal of tiling artefacts in hypersprectral dataThe painful removal of tiling artefacts in hypersprectral data
The painful removal of tiling artefacts in hypersprectral dataCSIRO
 
Teaching Population Genetics with R
Teaching Population Genetics with RTeaching Population Genetics with R
Teaching Population Genetics with RBruce Cochrane
 
Optimal Multisine Probing Signal Design for Power System Electromechanical Mo...
Optimal Multisine Probing Signal Design for Power System Electromechanical Mo...Optimal Multisine Probing Signal Design for Power System Electromechanical Mo...
Optimal Multisine Probing Signal Design for Power System Electromechanical Mo...Luigi Vanfretti
 
Using R Tool for Probability and Statistics
Using R Tool for Probability and Statistics Using R Tool for Probability and Statistics
Using R Tool for Probability and Statistics nazlitemu
 
[Research] Detection of MCI using EEG Relative Power + DNN
[Research] Detection of MCI using EEG Relative Power + DNN[Research] Detection of MCI using EEG Relative Power + DNN
[Research] Detection of MCI using EEG Relative Power + DNNDonghyeon Kim
 
Measuring EEG in vivo for Preclinical Evaluation of Sleep and Alzheimer’s Dis...
Measuring EEG in vivo for Preclinical Evaluation of Sleep and Alzheimer’s Dis...Measuring EEG in vivo for Preclinical Evaluation of Sleep and Alzheimer’s Dis...
Measuring EEG in vivo for Preclinical Evaluation of Sleep and Alzheimer’s Dis...InsideScientific
 
Getting started with chemometric classification
Getting started with chemometric classificationGetting started with chemometric classification
Getting started with chemometric classificationAlex Henderson
 
PHM2106-Presentation-Hubbard
PHM2106-Presentation-HubbardPHM2106-Presentation-Hubbard
PHM2106-Presentation-HubbardCharles Hubbard
 
PhD Oral Defense of Md Kafiul Islam on "ARTIFACT CHARACTERIZATION, DETECTION ...
PhD Oral Defense of Md Kafiul Islam on "ARTIFACT CHARACTERIZATION, DETECTION ...PhD Oral Defense of Md Kafiul Islam on "ARTIFACT CHARACTERIZATION, DETECTION ...
PhD Oral Defense of Md Kafiul Islam on "ARTIFACT CHARACTERIZATION, DETECTION ...Md Kafiul Islam
 
Analysis of RT variability
Analysis of RT variabilityAnalysis of RT variability
Analysis of RT variabilityRaoul
 
6.2 Jamie Zeitzer
6.2 Jamie Zeitzer6.2 Jamie Zeitzer
6.2 Jamie Zeitzermomentumbrn
 
Compressed learning for time series classification
Compressed learning for time series classificationCompressed learning for time series classification
Compressed learning for time series classification學翰 施
 
Dynamics of structures with uncertainties
Dynamics of structures with uncertaintiesDynamics of structures with uncertainties
Dynamics of structures with uncertaintiesUniversity of Glasgow
 
Development of a low cost pc-based single-channel eeg monitoring system
Development of a low cost pc-based single-channel eeg monitoring systemDevelopment of a low cost pc-based single-channel eeg monitoring system
Development of a low cost pc-based single-channel eeg monitoring systemMd Kafiul Islam
 
A Study on Privacy Level in Publishing Data of Smart Tap Network
A Study on Privacy Level in Publishing Data of Smart Tap NetworkA Study on Privacy Level in Publishing Data of Smart Tap Network
A Study on Privacy Level in Publishing Data of Smart Tap NetworkHa Phuong
 
Artifact Detection and Removal from In-Vivo Neural Signals
Artifact Detection and Removal from In-Vivo Neural SignalsArtifact Detection and Removal from In-Vivo Neural Signals
Artifact Detection and Removal from In-Vivo Neural SignalsMd Kafiul Islam
 

Similar to fNIRS data analysis (20)

The painful removal of tiling artefacts in ToF-SIMS data
The painful removal of tiling artefacts in ToF-SIMS dataThe painful removal of tiling artefacts in ToF-SIMS data
The painful removal of tiling artefacts in ToF-SIMS data
 
The painful removal of tiling artefacts in hypersprectral data
The painful removal of tiling artefacts in hypersprectral dataThe painful removal of tiling artefacts in hypersprectral data
The painful removal of tiling artefacts in hypersprectral data
 
Teaching Population Genetics with R
Teaching Population Genetics with RTeaching Population Genetics with R
Teaching Population Genetics with R
 
Optimal Multisine Probing Signal Design for Power System Electromechanical Mo...
Optimal Multisine Probing Signal Design for Power System Electromechanical Mo...Optimal Multisine Probing Signal Design for Power System Electromechanical Mo...
Optimal Multisine Probing Signal Design for Power System Electromechanical Mo...
 
Using R Tool for Probability and Statistics
Using R Tool for Probability and Statistics Using R Tool for Probability and Statistics
Using R Tool for Probability and Statistics
 
[Research] Detection of MCI using EEG Relative Power + DNN
[Research] Detection of MCI using EEG Relative Power + DNN[Research] Detection of MCI using EEG Relative Power + DNN
[Research] Detection of MCI using EEG Relative Power + DNN
 
Measuring EEG in vivo for Preclinical Evaluation of Sleep and Alzheimer’s Dis...
Measuring EEG in vivo for Preclinical Evaluation of Sleep and Alzheimer’s Dis...Measuring EEG in vivo for Preclinical Evaluation of Sleep and Alzheimer’s Dis...
Measuring EEG in vivo for Preclinical Evaluation of Sleep and Alzheimer’s Dis...
 
Group01_Project3
Group01_Project3Group01_Project3
Group01_Project3
 
Getting started with chemometric classification
Getting started with chemometric classificationGetting started with chemometric classification
Getting started with chemometric classification
 
PHM2106-Presentation-Hubbard
PHM2106-Presentation-HubbardPHM2106-Presentation-Hubbard
PHM2106-Presentation-Hubbard
 
PhD Oral Defense of Md Kafiul Islam on "ARTIFACT CHARACTERIZATION, DETECTION ...
PhD Oral Defense of Md Kafiul Islam on "ARTIFACT CHARACTERIZATION, DETECTION ...PhD Oral Defense of Md Kafiul Islam on "ARTIFACT CHARACTERIZATION, DETECTION ...
PhD Oral Defense of Md Kafiul Islam on "ARTIFACT CHARACTERIZATION, DETECTION ...
 
Introduction to fMRI
Introduction to fMRIIntroduction to fMRI
Introduction to fMRI
 
Analysis of RT variability
Analysis of RT variabilityAnalysis of RT variability
Analysis of RT variability
 
6.2 Jamie Zeitzer
6.2 Jamie Zeitzer6.2 Jamie Zeitzer
6.2 Jamie Zeitzer
 
Compressed learning for time series classification
Compressed learning for time series classificationCompressed learning for time series classification
Compressed learning for time series classification
 
Dynamics of structures with uncertainties
Dynamics of structures with uncertaintiesDynamics of structures with uncertainties
Dynamics of structures with uncertainties
 
Data science
Data scienceData science
Data science
 
Development of a low cost pc-based single-channel eeg monitoring system
Development of a low cost pc-based single-channel eeg monitoring systemDevelopment of a low cost pc-based single-channel eeg monitoring system
Development of a low cost pc-based single-channel eeg monitoring system
 
A Study on Privacy Level in Publishing Data of Smart Tap Network
A Study on Privacy Level in Publishing Data of Smart Tap NetworkA Study on Privacy Level in Publishing Data of Smart Tap Network
A Study on Privacy Level in Publishing Data of Smart Tap Network
 
Artifact Detection and Removal from In-Vivo Neural Signals
Artifact Detection and Removal from In-Vivo Neural SignalsArtifact Detection and Removal from In-Vivo Neural Signals
Artifact Detection and Removal from In-Vivo Neural Signals
 

Recently uploaded

Natural Polymer Based Nanomaterials
Natural Polymer Based NanomaterialsNatural Polymer Based Nanomaterials
Natural Polymer Based NanomaterialsAArockiyaNisha
 
Analytical Profile of Coleus Forskohlii | Forskolin .pdf
Analytical Profile of Coleus Forskohlii | Forskolin .pdfAnalytical Profile of Coleus Forskohlii | Forskolin .pdf
Analytical Profile of Coleus Forskohlii | Forskolin .pdfSwapnil Therkar
 
Physiochemical properties of nanomaterials and its nanotoxicity.pptx
Physiochemical properties of nanomaterials and its nanotoxicity.pptxPhysiochemical properties of nanomaterials and its nanotoxicity.pptx
Physiochemical properties of nanomaterials and its nanotoxicity.pptxAArockiyaNisha
 
Is RISC-V ready for HPC workload? Maybe?
Is RISC-V ready for HPC workload? Maybe?Is RISC-V ready for HPC workload? Maybe?
Is RISC-V ready for HPC workload? Maybe?Patrick Diehl
 
Boyles law module in the grade 10 science
Boyles law module in the grade 10 scienceBoyles law module in the grade 10 science
Boyles law module in the grade 10 sciencefloriejanemacaya1
 
Work, Energy and Power for class 10 ICSE Physics
Work, Energy and Power for class 10 ICSE PhysicsWork, Energy and Power for class 10 ICSE Physics
Work, Energy and Power for class 10 ICSE Physicsvishikhakeshava1
 
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43bNightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43bSérgio Sacani
 
Call Girls in Munirka Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
Call Girls in Munirka Delhi 💯Call Us 🔝9953322196🔝 💯Escort.Call Girls in Munirka Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
Call Girls in Munirka Delhi 💯Call Us 🔝9953322196🔝 💯Escort.aasikanpl
 
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCRStunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCRDelhi Call girls
 
Call Us ≽ 9953322196 ≼ Call Girls In Mukherjee Nagar(Delhi) |
Call Us ≽ 9953322196 ≼ Call Girls In Mukherjee Nagar(Delhi) |Call Us ≽ 9953322196 ≼ Call Girls In Mukherjee Nagar(Delhi) |
Call Us ≽ 9953322196 ≼ Call Girls In Mukherjee Nagar(Delhi) |aasikanpl
 
Isotopic evidence of long-lived volcanism on Io
Isotopic evidence of long-lived volcanism on IoIsotopic evidence of long-lived volcanism on Io
Isotopic evidence of long-lived volcanism on IoSérgio Sacani
 
Grafana in space: Monitoring Japan's SLIM moon lander in real time
Grafana in space: Monitoring Japan's SLIM moon lander  in real timeGrafana in space: Monitoring Japan's SLIM moon lander  in real time
Grafana in space: Monitoring Japan's SLIM moon lander in real timeSatoshi NAKAHIRA
 
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...anilsa9823
 
G9 Science Q4- Week 1-2 Projectile Motion.ppt
G9 Science Q4- Week 1-2 Projectile Motion.pptG9 Science Q4- Week 1-2 Projectile Motion.ppt
G9 Science Q4- Week 1-2 Projectile Motion.pptMAESTRELLAMesa2
 
Luciferase in rDNA technology (biotechnology).pptx
Luciferase in rDNA technology (biotechnology).pptxLuciferase in rDNA technology (biotechnology).pptx
Luciferase in rDNA technology (biotechnology).pptxAleenaTreesaSaji
 
Labelling Requirements and Label Claims for Dietary Supplements and Recommend...
Labelling Requirements and Label Claims for Dietary Supplements and Recommend...Labelling Requirements and Label Claims for Dietary Supplements and Recommend...
Labelling Requirements and Label Claims for Dietary Supplements and Recommend...Lokesh Kothari
 
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...Sérgio Sacani
 
GFP in rDNA Technology (Biotechnology).pptx
GFP in rDNA Technology (Biotechnology).pptxGFP in rDNA Technology (Biotechnology).pptx
GFP in rDNA Technology (Biotechnology).pptxAleenaTreesaSaji
 
Scheme-of-Work-Science-Stage-4 cambridge science.docx
Scheme-of-Work-Science-Stage-4 cambridge science.docxScheme-of-Work-Science-Stage-4 cambridge science.docx
Scheme-of-Work-Science-Stage-4 cambridge science.docxyaramohamed343013
 

Recently uploaded (20)

Natural Polymer Based Nanomaterials
Natural Polymer Based NanomaterialsNatural Polymer Based Nanomaterials
Natural Polymer Based Nanomaterials
 
Analytical Profile of Coleus Forskohlii | Forskolin .pdf
Analytical Profile of Coleus Forskohlii | Forskolin .pdfAnalytical Profile of Coleus Forskohlii | Forskolin .pdf
Analytical Profile of Coleus Forskohlii | Forskolin .pdf
 
Physiochemical properties of nanomaterials and its nanotoxicity.pptx
Physiochemical properties of nanomaterials and its nanotoxicity.pptxPhysiochemical properties of nanomaterials and its nanotoxicity.pptx
Physiochemical properties of nanomaterials and its nanotoxicity.pptx
 
Is RISC-V ready for HPC workload? Maybe?
Is RISC-V ready for HPC workload? Maybe?Is RISC-V ready for HPC workload? Maybe?
Is RISC-V ready for HPC workload? Maybe?
 
Boyles law module in the grade 10 science
Boyles law module in the grade 10 scienceBoyles law module in the grade 10 science
Boyles law module in the grade 10 science
 
Work, Energy and Power for class 10 ICSE Physics
Work, Energy and Power for class 10 ICSE PhysicsWork, Energy and Power for class 10 ICSE Physics
Work, Energy and Power for class 10 ICSE Physics
 
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43bNightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
 
Call Girls in Munirka Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
Call Girls in Munirka Delhi 💯Call Us 🔝9953322196🔝 💯Escort.Call Girls in Munirka Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
Call Girls in Munirka Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
 
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCRStunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
 
Call Us ≽ 9953322196 ≼ Call Girls In Mukherjee Nagar(Delhi) |
Call Us ≽ 9953322196 ≼ Call Girls In Mukherjee Nagar(Delhi) |Call Us ≽ 9953322196 ≼ Call Girls In Mukherjee Nagar(Delhi) |
Call Us ≽ 9953322196 ≼ Call Girls In Mukherjee Nagar(Delhi) |
 
Isotopic evidence of long-lived volcanism on Io
Isotopic evidence of long-lived volcanism on IoIsotopic evidence of long-lived volcanism on Io
Isotopic evidence of long-lived volcanism on Io
 
Grafana in space: Monitoring Japan's SLIM moon lander in real time
Grafana in space: Monitoring Japan's SLIM moon lander  in real timeGrafana in space: Monitoring Japan's SLIM moon lander  in real time
Grafana in space: Monitoring Japan's SLIM moon lander in real time
 
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
 
G9 Science Q4- Week 1-2 Projectile Motion.ppt
G9 Science Q4- Week 1-2 Projectile Motion.pptG9 Science Q4- Week 1-2 Projectile Motion.ppt
G9 Science Q4- Week 1-2 Projectile Motion.ppt
 
Luciferase in rDNA technology (biotechnology).pptx
Luciferase in rDNA technology (biotechnology).pptxLuciferase in rDNA technology (biotechnology).pptx
Luciferase in rDNA technology (biotechnology).pptx
 
Labelling Requirements and Label Claims for Dietary Supplements and Recommend...
Labelling Requirements and Label Claims for Dietary Supplements and Recommend...Labelling Requirements and Label Claims for Dietary Supplements and Recommend...
Labelling Requirements and Label Claims for Dietary Supplements and Recommend...
 
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
 
GFP in rDNA Technology (Biotechnology).pptx
GFP in rDNA Technology (Biotechnology).pptxGFP in rDNA Technology (Biotechnology).pptx
GFP in rDNA Technology (Biotechnology).pptx
 
9953056974 Young Call Girls In Mahavir enclave Indian Quality Escort service
9953056974 Young Call Girls In Mahavir enclave Indian Quality Escort service9953056974 Young Call Girls In Mahavir enclave Indian Quality Escort service
9953056974 Young Call Girls In Mahavir enclave Indian Quality Escort service
 
Scheme-of-Work-Science-Stage-4 cambridge science.docx
Scheme-of-Work-Science-Stage-4 cambridge science.docxScheme-of-Work-Science-Stage-4 cambridge science.docx
Scheme-of-Work-Science-Stage-4 cambridge science.docx
 

fNIRS data analysis

  • 1. fNIRS data analysis • Biophysics • Donders Center for Neuroscience • Donders Institute for Brain, Cognition and Behavior • Science Faculty, Radboud University • Otorhinolaryngology • Medical Faculty, RadboudUMC • Donders Hearing and Implants • Radboud Research Facilities • Cochlear • Advanced Bionics Marc van Wanrooij, Luuk van de Rijt, Anja Roye, Guus van Bentum, Ad Snik, Emmanuel Mylanus, John van Opstal
  • 2. Analysis pipeline • Recording fNIRS • Artifact rejection and correction (scalp coupling, motion artifact, physiological noise) • Filtering • Computing average • Quantification of amplitudes and latencies • Statistical analysis
  • 3. • Recording fNIRS • Artifact rejection and correction (scalp coupling, motion artifact, physiological noise) • Filtering • Computing average • Quantification of amplitudes and latencies • Statistical analysis
  • 5. Recording fNIRS - Raw data • Data needs to be read into Matlab workspace Raw 20 25 30 Time (sec) Amplitude (au) 765 nm 858 nm [OD,xmlInfo]=oxy3read_function(); % propietary Matlab file from Artinis % quite cumbersome as we need to manually enter % filename. % Also, AD board signals are not extracted
  • 6. • Recording fNIRS • Artifact rejection and correction (scalp coupling, motion artifact, physiological noise) • Filtering • Computing average • Quantification of amplitudes and latencies • Statistical analysis
  • 7. Artifact rejection and correction - Cardiac oscillation • Strong cardiac oscillation in fNIRS raw signals is undesirable for measuring evoked cortical hemodynamic responses out = prctile(OD(1,:),[2.5 97.5]); % outliers sel1 = OD(1,:)out(2) OD(1,:)out(1); % selection pa_getpower(OD(ii,sel1)-mean(OD(ii,sel1)),250,'display',1); % power spectrum 1 0.8 0.6 0.4 0.2 0 Power Spectrum 0.1 1 10 Frequency (kHz) Amplitude (au)
  • 8. Artifact rejection and correction - Scalp coupling • Strong cardiac oscillation in fNIRS raw signals indicates a good contact between the optical probe and the scalp 20 25 30 0 ï SCI = 0.99 Time (sec) Amplitude (au) 765 nm 858 nm Odcardiac(ii,:)= resample(OD(ii,:),10,Fs); % we resample the data: this is better than % downsample because it deals with anti-aliasing, % but there is a discussion about this ODcardiac(ii,:)= pa_bandpass(ODcardiac(ii,:),[0.5 2.5],5); % we band-pass between 0.5 and 2.5 Hz to keep cardiac % component only. r = corrcoef(ODcardiac(ii,sel),ODcardiac(ii+1,sel)); r = r(2)^2; % Scalp coupling index Pollonini, L., Olds, C., Abaya, H., Bortfeld, H., Beauchamp, M. S., Oghalai, J. S. (2014). Auditory cortex activation to natural speech and simulated cochlear implant speech measured with functional near-infrared spectroscopy. Hearing Research, 309, 84–93. doi:10.1016/j.heares.2013.11.007
  • 9. Artifact rejection and correction - Scalp coupling Rejection 1 • Reject channels with poor scalp coupling (SCI0.75)
  • 10. Sidenote - from optical densities to concentration changes http://en.wikipedia.org/wiki/Near-infrared_spectroscopy • Basically, you can do it yourself with matrix multiplication: e = [eHbR1*d eHbO1*d; eHbR2*d eHbO2*d]; % absorption coefficients dOD = [dOD1;dOD2]; % optical densities dX = eM^-1*dOD; % concentration changes • Artinis has some Matlab code available [t,O2Hb,HHb]=single_ch(OD,xmlInfo,2,1,[3,4]);
  • 11. Artifact rejection and correction - motion artifact • Usually we throw away data that is contaminated by motion artifacts. Example here shows some onset artefacts, that are selected by an automatic artifact removal. ODz(ii,:) = zscore(OD(ii,:); % ztransform the data % remove some outliers out = prctile(ODz(ii,:),[2.5 97.5]); sel = ODz(ii,:)out(2) ODz(ii,:)out(1); OD(ii,sel) = NaN; 0 5 10 15 20 30 25 20 15 10 5 0 −5 −10 −15 −20 −25 −30 Raw Time (sec) Amplitude (au) OHb HHb
  • 12. Artifact rejection and correction – physiological/scalp noise • For a simple fNIRS measurement, reference channel subtraction can improve data %% Reference channel subtraction b = regstats(chanSig,chanRef,'linear','r'); chanSig = b.r; % residuals Main channel Reference channel Clear ↓ signal -­‐ =
  • 13. Analysis pipeline • Recording fNIRS • Artifact rejection and correction (scalp coupling, motion artifact, physiological noise) • Filtering • Computing average • Quantification of amplitudes and latencies • Statistical analysis
  • 14. Filtering • If (physiological) noise (e.g. variations that you are not interested in) is not removed or corrected, one typically filters the data.
  • 15. Analysis pipeline • Recording fNIRS • Artifact rejection and correction (scalp coupling, motion artifact, physiological noise) • Filtering • Computing average • Quantification of amplitudes and latencies • Statistical analysis
  • 16. Computing averages • Average over events / subjects function MU = getblock(nirs,chanSig,sensmod) fs = nirs.fsample; fd = nirs.fsdown; onSample = ceil([nirs.event.sample]*fd/fs); % onset and offset of stimulus offSample = onSample(2:2:end); % offset onSample = onSample(1:2:end); % onset stim = {nirs.event.stim}; selOn = strcmp(stim,sensmod); selOff = selOn(2:2:end); selOn = selOn(1:2:end); Aon = onSample(selOn); Aoff = offSample(selOff); mx = min((Aoff - Aon)+1)+150; nStim = numel(Aon); MU = NaN(nStim,mx); for stmIdx = 1:nStim idx = Aon(stmIdx)-100:Aoff(stmIdx)+50; % extra 100 samples before and after idx = idx(1:mx); MU(stmIdx,:) = chanSig(idx); end MU = bsxfun(@minus,MU,mean(MU(:,1:100),2)); % remove the 100th sample, to set y-origin to stimulus onset
  • 17. Computing averages • Single CI patient / different events
  • 18. Analysis pipeline • Recording fNIRS • Artifact rejection and correction (scalp coupling, motion artifact, physiological noise) • Filtering • Computing average • Quantification of amplitudes and latencies • Statistical analysis
  • 19. −0.5 −0.4 −0.3 −0.2 −0.1 0 0.1 0.2 0.3 0.4 0.5 0.5 0.4 0.3 0.2 0.1 0 −0.1 −0.2 −0.3 −0.4 −0.5 `audio 6[XHb] (μM) 6[XHb] (μM) `video −0.5 −0.4 −0.3 −0.2 −0.1 0 0.1 0.2 0.3 0.4 0.5 0.5 0.4 0.3 0.2 0.1 0 −0.1 −0.2 −0.3 −0.4 −0.5 `audio+video 6[XHb] (μM) 6[XHb] (μM) `av O 2 Hb HHb Quantification of amplitudes and latencies • Maximum amplitude in average trace / Generalized linear model
  • 20. Analysis pipeline • Recording fNIRS • Artifact rejection and correction (scalp coupling, motion artifact, physiological noise) • Filtering • Computing average • Quantification of amplitudes and latencies • Statistical analysis: see Guus van Bentum
  • 21. Analysis pipeline • Recording fNIRS • Artifact rejection and correction (scalp coupling, motion artifact, physiological noise) • Filtering • Computing average • Quantification of amplitudes and latencies • Statistical analysis Note similarity to FieldTrip EEG analysis http://fieldtrip.fcdonders.nl/tutorial/introduction
  • 22. Analysis packages • Statistical analysis of fNIRS Tak, S., Ye, J. C. (2014). Statistical analysis of fNIRS data: A comprehensive review. NeuroImage, 85 Pt 1(null), 72–91. doi:10.1016/j.neuroimage.2013.06.016 • HOMER Huppert, T. J., Diamond, S. G., Franceschini, M. A., Boas, D. A. (2009). HomER: a review of time-series analysis methods for near-infrared spectroscopy of the brain. Applied Optics, 48(10), D280–98. Retrieved from http://www.pubmedcentral.nih.gov/articlerender.fcgi?artid=2761652tool=pmcentrezrendertype=abstract • Motion artifact correction Cooper, R. J., Selb, J., Gagnon, L., Phillip, D., Schytz, H. W., Iversen, H. K., … Boas, D. A. (2012). A systematic comparison of motion artifact correction techniques for functional near-infrared spectroscopy. Frontiers in Neuroscience, 6, 147. doi:10.3389/fnins.2012.00147 • NIRS Analysis package Fekete, T., Rubin, D., Carlson, J. M., Mujica-Parodi, L. R. (2011). The NIRS Analysis Package: noise reduction and statistical inference. PloS One, 6(9), e24322. doi:10.1371/journal.pone.0024322