From f77788bbc8ccb28d2eea66eea81ac6769e2624eb Mon Sep 17 00:00:00 2001 From: LMBooth <31129153+LMBooth@users.noreply.github.com> Date: Wed, 29 Nov 2023 11:48:20 +0000 Subject: [PATCH 1/3] Update Epoch_Timing.rst --- docs/source/BackgroundInformation/Epoch_Timing.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/BackgroundInformation/Epoch_Timing.rst b/docs/source/BackgroundInformation/Epoch_Timing.rst index a4955f9..f7a7986 100644 --- a/docs/source/BackgroundInformation/Epoch_Timing.rst +++ b/docs/source/BackgroundInformation/Epoch_Timing.rst @@ -16,7 +16,7 @@ Setting the :py:data:`globalEpochSettings` with the :class:`GlobalEpochSettings( Setting Custom Epoch Times -------------------------- -The figure below illustrates when you may have epochs of differing lengths received on the LSL marker stream. A baseline marker may signify an extended period, in this case 10 seconds, and our motor task is only 1 second long. To account for this set :py:data:`customEpochSettings` and :py:data:`globalEpochSettings` accordingly: +The figure below illustrates when you may have epochs of differing lengths received on the LSL marker stream. A baseline marker may signify an extended period, in this case 10 seconds, and our motor task is only 1 second long. To account for this set :py:data:`customEpochSettings` and :py:data:`globalEpochSettings` accordingly, note the LSL Marker for baseline should match the key for the :py:data:`customEpochSettings` dict: .. code-block:: python @@ -26,7 +26,7 @@ The figure below illustrates when you may have epochs of differing lengths recei gs.splitCheck = False # splits samples between tmin and tmax gs.windowLength = 1 # window length of 1 s gs.windowOverlap = 0.5 # windows overap by 50%, so for a total len - baselineSettings = IndividualEpochSetting() + baselineSettings["baseline"] = IndividualEpochSetting() baselineSettings.splitCheck = False baselineSettings.tmin = 0 # time in seconds to capture samples before trigger baselineSettings.tmax= 10 # time in seconds to capture samples after trigger From ca9f5399090a1f5e577400bd43dcdbb3c4ed83c0 Mon Sep 17 00:00:00 2001 From: LMBooth <31129153+LMBooth@users.noreply.github.com> Date: Wed, 29 Nov 2023 11:48:51 +0000 Subject: [PATCH 2/3] Update Epoch_Timing.rst --- docs/source/BackgroundInformation/Epoch_Timing.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/source/BackgroundInformation/Epoch_Timing.rst b/docs/source/BackgroundInformation/Epoch_Timing.rst index f7a7986..86be3e6 100644 --- a/docs/source/BackgroundInformation/Epoch_Timing.rst +++ b/docs/source/BackgroundInformation/Epoch_Timing.rst @@ -26,6 +26,7 @@ The figure below illustrates when you may have epochs of differing lengths recei gs.splitCheck = False # splits samples between tmin and tmax gs.windowLength = 1 # window length of 1 s gs.windowOverlap = 0.5 # windows overap by 50%, so for a total len + baselineSettings = {} baselineSettings["baseline"] = IndividualEpochSetting() baselineSettings.splitCheck = False baselineSettings.tmin = 0 # time in seconds to capture samples before trigger From 62d3fe2f86b0335cedec9097c3264dabc91228d5 Mon Sep 17 00:00:00 2001 From: LMBooth <31129153+LMBooth@users.noreply.github.com> Date: Wed, 29 Nov 2023 11:56:20 +0000 Subject: [PATCH 3/3] Update Epoch_Timing.rst --- docs/source/BackgroundInformation/Epoch_Timing.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/source/BackgroundInformation/Epoch_Timing.rst b/docs/source/BackgroundInformation/Epoch_Timing.rst index 86be3e6..b8da5d5 100644 --- a/docs/source/BackgroundInformation/Epoch_Timing.rst +++ b/docs/source/BackgroundInformation/Epoch_Timing.rst @@ -28,9 +28,9 @@ The figure below illustrates when you may have epochs of differing lengths recei gs.windowOverlap = 0.5 # windows overap by 50%, so for a total len baselineSettings = {} baselineSettings["baseline"] = IndividualEpochSetting() - baselineSettings.splitCheck = False - baselineSettings.tmin = 0 # time in seconds to capture samples before trigger - baselineSettings.tmax= 10 # time in seconds to capture samples after trigger + baselineSettings["baseline"].splitCheck = False + baselineSettings["baseline"].tmin = 0 # time in seconds to capture samples before trigger + baselineSettings["baseline"].tmax= 10 # time in seconds to capture samples after trigger bci = PyBCI(customEpochSettings=baselineSettings, globalEpochSettings=gs) Highlighting these epochs on some psuedo emg data looks like the following: