From 799c579a915719477e14d725b3cb62f57b9c29da Mon Sep 17 00:00:00 2001 From: Benedikt Ehinger Date: Mon, 30 Oct 2023 11:19:44 +0100 Subject: [PATCH] Update README.md --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c7041b34..ab60337f 100644 --- a/README.md +++ b/README.md @@ -66,10 +66,14 @@ Pkg.add("UnfoldMakie") ```julia using UnfoldMakie -using CairoMakie +using CairoMakie # backend +using Unfold,UnfoldSim # Fit / Simulation + data, evts = UnfoldSim.predef_eeg(; noiselevel = 12, return_epoched = true) +data = reshape(data,1,size(data)...) # fake a single channel + times = range(0, step = 1 / 100, length = size(data, 2)) -m= fit(UnfoldModel,@formula(0~1+condition),evts,data,times) +m = fit(UnfoldModel,@formula(0~1+condition),evts,data,times) plot_erp(coeftable(m)) ```