From 395c6ea6abd9838c214f90e46b21633ec185dbc6 Mon Sep 17 00:00:00 2001 From: Niclas Dobbertin Date: Thu, 20 Jul 2023 12:31:57 +0200 Subject: layout for lab monitor --- master_thesis/frensch_task.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'master_thesis') diff --git a/master_thesis/frensch_task.py b/master_thesis/frensch_task.py index 44d542f..309153f 100644 --- a/master_thesis/frensch_task.py +++ b/master_thesis/frensch_task.py @@ -40,8 +40,8 @@ def generate_variable_display(varx: list[DisplayVariable], x_positions: list[int ) stims.append(value_stim) - y = 400 - offset = 100 + y = 650 + offset = 120 for var, x_pos in zip(varx, x_positions): stim_var = visual.TextBox2( @@ -62,7 +62,7 @@ def generate_variable_display(varx: list[DisplayVariable], x_positions: list[int def generate_procedure_display(procedure: DisplayProcedure): stim_procedure = visual.TextBox2( WIN, - pos=[-600, -200], + pos=[-800, -100], text=procedure.procedure, # size=[1000, 1000], letterHeight=50, @@ -79,11 +79,11 @@ def run_trial(): algae = DisplayVariable("ALGAE", [water_sample.algae]) lime = DisplayVariable("LIME", water_sample.lime) toxin = DisplayVariable("TOXIN", water_sample.toxin) - x_positions = [-600, -300, 0, 300] + x_positions = [-800, -400, 400, 800] stims = generate_variable_display([solid, algae, lime, toxin], x_positions) - p1 = DisplayProcedure(water_sample.index1_str(), water_sample.index1()) + p1 = DisplayProcedure(water_sample.index5_str(), water_sample.index1()) p1 = generate_procedure_display(p1) stims.append(p1) @@ -91,7 +91,7 @@ def run_trial(): WIN, "", letterHeight=50, - pos=(0, -200), + pos=(0, -100), size=[150, 70], editable=True, fillColor="white", -- cgit v1.2.3