Initialize NeuroAnalyzer
using NeuroAnalyzer
using CairoMakie
CairoMakie.activate!(type = "png")
eeg = load("files/eeg.hdf")using NeuroAnalyzer
using CairoMakie
CairoMakie.activate!(type = "png")
eeg = load("files/eeg.hdf")This will plot a simplified plot of 10-20 EEG channels on a grid:
fig = plot_gridlocs()It is possible to draw over that template:
CairoMakie.scatter!(fig[1, 1],
0, 0,
markersize = 50,
color = :red,
alpha = 0.5)
fig0, 0 is the location of the marker added.
X and Y locations and respective channel labels are:
X = [-0.5, 0.0, 0.5, -1.0, -0.5, 0.0, 0.5, 1.0, -1.0, -0.5, 0.0, 0.5, 1.0, -1.0, -0.5, 0.0, 0.5, 1.0, -0.5, 0.0, 0.5]
Y = [1.0, 1.0, 1.0, 0.5, 0.5, 0.5, 0.5, 0.5, 0.0, 0.0, 0.0, 0.0, 0.0, -0.5, -0.5, -0.5, -0.5, -0.5, -1.0, -1.0, -1.0]
labels = ["Fp1", "Fpz", "Fp2", "F7", "F3", "Fz", "F4", "F8", "T3", "C3", "Cz", "C4", "T4", "T5", "P3", "Pz", "P4", "T6", "O1", "Oz", "O2"]