Skip to content

Code for computing complex transfer response functions mapping EEG to speech features (backward model) or the other way around (forward model).

License

Notifications You must be signed in to change notification settings

MKegler/cTRF_toolbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

cTRF_toolbox v0.2

Mikolaj Kegler

Contact: [email protected]

Imperial College London, 31st July 2020

Example use of python implementation of the complex TRF modelling (cTRF) toolbox developed and applied in Etard, et al., 2019.

To download the sample data that can be processed with this script please follow this link. The sample EEG and fundamental waveform data are the same as used in the paper and were obtained as described in the methods section.

Code extracting fundamental waveforms from coninuous speech (originally introduced in Forte, et al., 2017) is available here. This is the most up-to-date version with a several minor bugs fixed.

To run Demo.ipynb with example use of the package you will need:

NOTE: The sample data are high-sampled and therefore fitting the complex backward models might require extensive amounts of RAM and might take a long time to compute. It is highly recommended to run this code on a high-performance machine. On a machine with ~8 GB RAM, we recommend running the complex forward models that are significantly 'lighter' in terms of the number of parameters and required computational power.

References:

  • Etard, O., Kegler, M., Braiman, C., Forte, A. E., & Reichenbach, T. (2019). Decoding of selective attention to continuous speech from the human auditory brainstem response. NeuroImage. https://doi.org/10.1016/j.neuroimage.2019.06.029
  • Forte, A. E., Etard, O., & Reichenbach, T. (2017). The human auditory brainstem response to running speech reveals a subcortical mechanism for selective attention. Elife. https://doi.org/10.7554/eLife.27203

About

Code for computing complex transfer response functions mapping EEG to speech features (backward model) or the other way around (forward model).

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published