Skip to content

Code for parametrization of spectogram into aperiodic and periodic components, and for the definition of oscillatory bands according to the periodic component

License

Notifications You must be signed in to change notification settings

ireneuron/eN-NWR-0406-22

Repository files navigation

Parametrization of Power Spectrum

This code decomposes a Power Spectrum signal into its periodic and aperiodic components.

This code has an associated article (Gonzalez-Burgos et al. 2023). It generates Figure 1 D-H

Captura de Pantalla 2023-02-07 a las 9 02 23
It also generates figure 5C
image

Information

The script 'gonzalez_burgos_PSD_processing.m' loads the 'example_PSD.csv' and calls function 'fit_psd.m' to extract the periodic and aperiodic components.
The script 'gonzalez_burgos_gaussian_fit.m' loads the 'example_gaussian.csv' and fits a kernel-density estimator (KDE) to the frequency distribution of gaussians to determine the limits of the frequency bands.

Citation

To use this software, please cite:

About

Code for parametrization of spectogram into aperiodic and periodic components, and for the definition of oscillatory bands according to the periodic component

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages