Analysis code ran to create the figures in Cole et al., 2017, J Neuro, entitled "Nonsinusoidal Beta Oscillations Reflect Cortical Pathophysiology in Parkinson's Disease."
This repo contains one notebook per figure, showing the computation for each panel.
util.py - functions for loading data, running analysis across all subjects, and other miscellaneous tools
shape.py - functions for quantifying the waveform shape of the oscillations. See note below.
pac.py - algorithms for estimating phase-amplitude coupling
plt.py - functions for plotting results
For future studies characterizing the waveform shape of oscillations, see the actively maintained shape
module in neurodsp.