cardioception.PAT.languages.get_texts#
- cardioception.PAT.languages.get_texts(language, device='keyboard', extero=False, low=1, high=10, showDial=True)[source]#
Every string this session will show the participant.
- Parameters
- language
A filename stem in
texts/.available()lists them.- device
The confidence rating device,
"keyboard"(the wheel) or"mouse".- extero
If
True, the texts of the exteroceptive task (vibration instead of heartbeat).- low, high
Ends of the confidence scale, named in the instructions.
- showDial
If
True, the instructions describe the dial on the screen.
- Raises
- ValueError
If the language does not exist, or its file is missing a key. Both are raised at setup, before any window opens.