summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiclas Dobbertin <niclas.dobbertin@mailbox.org>2023-10-01 17:01:00 +0200
committerNiclas Dobbertin <niclas.dobbertin@mailbox.org>2023-10-01 17:01:00 +0200
commitc030c0916b8238fc9a5166ec065d7e94bbb5758f (patch)
tree0538e90f204f83b968ecce41b4d7dd480792ebd8
parent24a94cb22ed6089264137ac3389fd4e5ba5c5dfc (diff)
fit to 1920x1080
-rw-r--r--master_thesis/frensch_task.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/master_thesis/frensch_task.py b/master_thesis/frensch_task.py
index 7617e9d..3b3e511 100644
--- a/master_thesis/frensch_task.py
+++ b/master_thesis/frensch_task.py
@@ -43,12 +43,12 @@ def experiment_shutdown():
core.quit()
-WIN = visual.Window((2560, 1440), fullscr=True, units="pix")
+WIN = visual.Window((1920, 1080), fullscr=True, units="pix")
MONITOR_FPS = 60
TRAIN_TRIALS = 75
TEST_TRIALS = 50
-# TRAIN_TRIALS = 1
-# TEST_TRIALS = 1
+# TRAIN_TRIALS = 3
+# TEST_TRIALS = 3
ORDER_CONDITIONS = ["fixed", "random", "blocked"]
PROCEDURE_KEYS = ["1", "2", "3", "4", "5", "6", "overall"]
@@ -69,13 +69,13 @@ def generate_variable_display(varx: list[DisplayVariable], x_positions: list[int
pos=(x, y),
text=value,
# size=200,
- letterHeight=100,
+ letterHeight=75,
alignment="center",
)
stims.append(value_stim)
- y = 650
- offset = 120
+ y = 550
+ offset = 100
for var, x_pos in zip(varx, x_positions):
stim_var = visual.TextBox2(
@@ -83,7 +83,7 @@ def generate_variable_display(varx: list[DisplayVariable], x_positions: list[int
pos=[x_pos, y],
text=var.name,
# size=[1000, 1000],
- letterHeight=50,
+ letterHeight=40,
alignment="center",
)
stims.append(stim_var)
@@ -99,7 +99,7 @@ def generate_procedure_display(procedure: DisplayProcedure, position):
pos=position,
text=procedure.procedure,
size=[1000000, 1000],
- letterHeight=50,
+ letterHeight=40,
alignment="center",
)
return stim_procedure
@@ -243,7 +243,7 @@ phase = visual.TextBox2(
"""Sie haben den ersten Teil geschafft! Der zweite Teil ist etwas kürzer als der erste
Drücken Sie die Leertaste um anzufangen.""",
- letterHeight=50,
+ letterHeight=40,
alignment="center",
)
phase.draw()