Analysis of non-linearities in local field potential oscillations

Yeh C-H

This package includes scripts for calculating two sources of non-linearity in beta frequency band-Intrinsic mode functions (IMF). These are the sharpness around the extrema of the beta-IMF 
and the intra-wave instantaneous frequency variations in the gaps between these extrema, -a measure of the degree of non-linearity in these gaps (DoNgap).

OFFx.txt and ONx.txt: example real raw local field potentials (LFPs) from deep brain stimulation electrodes in the subthalamic nucleus in a patient with Parkinson's OFF and ON their levodopa medication

Note: this package requires downloading subfunctions from fieldtrip toolbox (

plot showing raw data trace and three processed ones
Year Published
University of Oxford
First Published In
Yeh CH, Al-Fatly B, Kühn AA, Meidahl AC, Tinkhauser G, Tan H, Brown P
2020. Clin. Neurophysiol., 131(9):2086-2099.
Brown and Tan Group

Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) This is a human-readable summary of (and not a substitute for) the licence. You are free to: Share — copy and redistribute the material in any medium or format Adapt — remix, transform, and build upon the material for any purpose, even commercially. This licence is acceptable for Free Cultural Works. The licensor cannot revoke these freedoms as long as you follow the license terms. Under the following terms: Attribution — You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use. ShareAlike — If you remix, transform, or build upon the material, you must distribute your contributions under the same licence as the original. No additional restrictions — You may not apply legal terms or technological measures that legally restrict others from doing anything the licence permits.