NeuroAnalyzer tutorials: Plot (2)

Load data:

using NeuroAnalyzer
using Plots
eeg = load("files/eeg.hdf");
[ Info: Loaded: EEG (24 × 308480 × 1; 1204.996 s)

Plot PSD (Welch periodogram):

plot_psd(eeg, ch="Fp1")

Plot PSD (FFT):

plot_psd(eeg, ch="Fp1", method=:fft)

Plot PSD (short time Fourier transform):

plot_psd(eeg, ch="Fp1", method=:stft)

Plot PSD (multi-taper):

plot_psd(eeg, ch="Fp1", method=:mt)

Plot PSD (Morlet-wavelet):

plot_psd(eeg, ch="Fp1", method=:mw)

Plot PSD, scale x-axis:

plot_psd(eeg, ch="Fp1", ax=:loglin)

Plot multi-channel PSD:

plot_psd(eeg, ch=["Fp1", "Fp2", "F3", "F4"])

Butterfly plot of multi-channel PSD:

plot_psd(eeg, ch=["Fp1", "Fp2", "F3", "F4"], type=:butterfly)

Plot multi-channel PSD, mean ± 95CI:

plot_psd(eeg, ch=["Fp1", "Fp2", "F3", "F4"], type=:mean)

Plot PSD 3d waterfall:

plot_psd(eeg, ch=["Fp1", "Fp2", "F3", "F4"], method=:mw, type=:w3d)

Plot PSD 3d surface:

plot_psd(eeg, ch=["Fp1", "Fp2", "F3", "F4"], type=:s3d)

Plot topomap of PSDs:

plot_psd(eeg, ch="eeg", type=:topo)