Detect individual alpha peak in MEG signals.
- Detect alpha peak frequency for each channel and for the mean over all channels
- Input file is:
- a
.csv
file containing the Power Spectral Densities
- a
- Ouput files are:
- a
.csv
file containing the alpha peak frequency for each channel and the mean over all channels, - plot of the mean Power Spectral density over all channels,
- plot of the mean Power Spectral density for each channel.
- a
brainlife.io is publicly funded and for the sustainability of the project it is helpful to Acknowledge the use of the platform. We kindly ask that you acknowledge the funding below in your code and publications. Copy and past the following lines into your repository when using this code.
- Avesani, P., McPherson, B., Hayashi, S. et al. The open diffusion data derivatives, brain data upcycling via integrated publishing of derivatives and reproducible open cloud services. Sci Data 6, 69 (2019). https://doi.org/10.1038/s41597-019-0073-y
This App is still private on Brainlife.io.
- git clone this repo
- Inside the cloned directory, create
config.json
with the same keys as inconfig.json.example
but with paths to your input files and values of the input parameters. For instance:
{
"fif": "rest1-raw.fif"
}
- Launch the App by executing
main
./main
The output files are a .csv
file and two plots in .png
.