From 6540ded4c9d826d7a2fc405f3fe31102806a8208 Mon Sep 17 00:00:00 2001 From: Eric Hanson <5846501+ericphanson@users.noreply.github.com> Date: Wed, 24 Apr 2024 16:26:14 +0200 Subject: [PATCH] Update docs/src/index.md --- docs/src/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/index.md b/docs/src/index.md index f740af5..31377d2 100644 --- a/docs/src/index.md +++ b/docs/src/index.md @@ -92,7 +92,7 @@ Let's say I want to plot some samples over time, and I have a nice function `plo ```@repl motivation using TimeSpans, Onda, Dates sample_rate = 1 # 1 Hz -> slow to exaggerate the effect -samples = Samples(permutedims(0:10), SamplesInfoV2("feature", ["a"], "microvolt", 0.5, 0.0, UInt16, sample_rate), false) +samples = Samples(permutedims(0:10), SamplesInfoV2(; sensor_type="feature", channels=["a"], sample_unit="microvolt", sample_resolution_in_unit=0.5, sample_offset_in_unit=0.0, sample_type=UInt16, sample_rate), false) span = TimeSpan(Millisecond(1500), Millisecond(4000)) ```