Skip to content

Harmoni: a Method for Eliminating Spurious Interactions due to the Harmonic Components in Neuronal Data. https://doi.org/10.1016/j.neuroimage.2022.119053

License

Notifications You must be signed in to change notification settings

harmonic-minimization/harmoni_manuscript_codes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Codes for the Manuscript

version Python license

Harmoni: a Novel Method for Eliminating Spurious Neuronal Interactions due to the Harmonic Components in Neuronal Data

Mina Jamshidi Idaji, Juanli Zhang, Tilman Stephani, Guido Nolte, Klaus-Robert Mueller, Arno Villringer, Vadim V. Nikulin https://doi.org/10.1101/2021.10.06.463319

(c) Mina Jamshidi ([email protected]) @ Neurolgy Dept, MPI CBS, 2021 https://github.com/minajamshidi (c) please cite the above paper in case of adaptation and/or using this code for your research


Abstract

Investigating CFS in Magneto- and Electroencephalography (MEG/EEG) is hampered by the presence of spurious neuronal interactions due to non-sinusoidal waveshape of brain oscillations. Such waveshape gives rise to the presence of oscillatory harmonics mimicking genuine neuronal oscillations. Until recently, however, there has been no methodology for removing these harmonics from neuronal data.

Here, we introduce a novel method (called HARMOnic miNImization - Harmoni) that removes the signal components which can be harmonics of a non-sinusoidal signal. Harmoni’s working principle is based on the presence of CFS between harmonic components and the fundamental component of a non-sinusoidal signal.

Using Harmoni, one can build conenctivity maps, in which the effect of harmonics are minimized.


Codes and the manuscript figures

You should first install harmoni:

$ pip install harmoni

Here, you can see how the scrpts correspond to the manuscript figures:

  • figure 2: sawtooth_toy.py

  • figure 3: harmoni_blockdiagram.py

  • figure 8: simulations_toys.py

  • figure 9: proof_of_concept.py

  • figure 10: realisticsimulation_results.py

  • figure 11: lemon_nonsin_source_exp.py

  • figures 12, 13, 14: lemon_data_analysis.py

additionally:

  • computing the connectivity of LEMON data: lemon_conn_bandpass.py

Versions

version 1.X

Oct. 2021 Codes contributing to the first bioRxiv preprint at https://doi.org/10.1101/2021.10.06.463319

Feb. 2022The current version is unstable and some scripts may raise errors of unknown functions etc. Soon the repository will be coherent again!

About

Harmoni: a Method for Eliminating Spurious Interactions due to the Harmonic Components in Neuronal Data. https://doi.org/10.1016/j.neuroimage.2022.119053

Resources

License

Stars

Watchers

Forks

Languages