diff options
author | Niclas Dobbertin <niclas.dobbertin@mailbox.org> | 2023-07-20 12:31:57 +0200 |
---|---|---|
committer | Niclas Dobbertin <niclas.dobbertin@mailbox.org> | 2023-07-20 12:31:57 +0200 |
commit | 395c6ea6abd9838c214f90e46b21633ec185dbc6 (patch) | |
tree | d48a8afc134146a51ae5303fb225535d8404ad81 | |
parent | 7b09467be0e904a1cae2c94187cc666b2a67889e (diff) |
layout for lab monitor
-rw-r--r-- | master_thesis/frensch_task.py | 12 |
1 files changed, 6 insertions, 6 deletions
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", |