From 401cd48b57080a554485a133e7b79fb6a4cf05a2 Mon Sep 17 00:00:00 2001 From: Liam Keegan Date: Fri, 23 Jun 2023 14:55:43 +0200 Subject: [PATCH] Update default trial - use provided default trial - update docs accordingly - bump version to 0.31.0 --- docs/reference/trial-conditions.rst | 8 ++++---- src/vstt/__init__.py | 2 +- src/vstt/trial.py | 8 ++++---- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/reference/trial-conditions.rst b/docs/reference/trial-conditions.rst index 2b908276..93d9ea4e 100644 --- a/docs/reference/trial-conditions.rst +++ b/docs/reference/trial-conditions.rst @@ -54,7 +54,7 @@ the screen height (i.e. a line of length 1.0 in these units would extend from th * Default: ``5.0`` * Delay between targets (secs) * The delay before each outer target is displayed - * Default: ``1.0`` + * Default: ``0.0`` * Distance to targets (screen height fraction) * The distance from the centre of the screen to the outer targets * Default: ``0.4`` @@ -94,10 +94,10 @@ the screen height (i.e. a line of length 1.0 in these units would extend from th * Default: ``enabled`` * Automatically move cursor to center * Enable to automatically move the cursor to the center after reaching an outer target - * Default: ``enabled`` + * Default: ``disabled`` * Freeze cursor until target is displayed * Enable to freeze the cursor until a target is displayed - * Default: ``enabled`` + * Default: ``disabled`` * Cursor rotation (degrees) * Rotate the cursor direction anticlockwise by this number of degrees * Default: ``0.0`` @@ -109,7 +109,7 @@ the screen height (i.e. a line of length 1.0 in these units would extend from th * Default: ``disabled`` * Delay after last trial (secs) * How long to wait after the last trial with these trial conditions - * Default: ``0.0`` + * Default: ``10.0`` * Display combined results after last trial * Enable to display combined results for these trial conditions after the last trial * Default: ``enabled`` diff --git a/src/vstt/__init__.py b/src/vstt/__init__.py index e404e6a3..e7f7ea17 100644 --- a/src/vstt/__init__.py +++ b/src/vstt/__init__.py @@ -5,4 +5,4 @@ "__version__", ] -__version__ = "0.30.0" +__version__ = "0.31.0" diff --git a/src/vstt/trial.py b/src/vstt/trial.py index c219dc5e..0ed147f4 100644 --- a/src/vstt/trial.py +++ b/src/vstt/trial.py @@ -40,7 +40,7 @@ def default_trial() -> Trial: "fixed_target_intervals": False, "target_duration": 5.0, "central_target_duration": 5.0, - "inter_target_duration": 1.0, + "inter_target_duration": 0.0, "target_distance": 0.4, "target_size": 0.04, "central_target_size": 0.02, @@ -52,12 +52,12 @@ def default_trial() -> Trial: "show_cursor": True, "cursor_size": 0.02, "show_cursor_path": True, - "automove_cursor_to_center": True, - "freeze_cursor_between_targets": True, + "automove_cursor_to_center": False, + "freeze_cursor_between_targets": False, "cursor_rotation_degrees": 0.0, "post_trial_delay": 0.0, "post_trial_display_results": False, - "post_block_delay": 5.0, + "post_block_delay": 10.0, "post_block_display_results": True, "show_delay_countdown": True, "enter_to_skip_delay": True,