Difference between revisions of "Ultrasession in opensesame"
From Phonlab
Jump to navigationJump to search (Created page with "The recommended way to acquire ultrasound data in the Phonology Lab is via an Opensesame experiment. You can use Opensesame to display a series of prompts to a subject and run an…") |
m |
||
Line 1: | Line 1: | ||
The recommended way to acquire ultrasound data in the Phonology Lab is via an Opensesame experiment. You can use Opensesame to display a series of prompts to a subject and run and control the acquisition utilities in inline scripts. A simple experiment proceeds like this: |
The recommended way to acquire ultrasound data in the Phonology Lab is via an Opensesame experiment. You can use Opensesame to display a series of prompts to a subject and run and control the acquisition utilities in inline scripts. A simple experiment proceeds like this: |
||
− | + | # variables related to data acquisition are set |
|
− | + | # the ultrasound acquisition system is initialized |
|
− | + | # the experiment loops over a list of stimuli, which are used to prompt the subject |
|
− | + | ## a preparatory prompt is shown to the subject |
|
− | + | ## <code>ultrasession.py</code> is started and delays until the ultrasound system confirms that it is imaging |
|
− | + | ## a speaking prompt is shown to the subject. This prompt can be shown for a defined duration, or it can be displayed until the subject presses a key. |
|
− | + | ## <code>ultrasession.py</code> is sent a signal to stop acquisition |
Revision as of 14:59, 18 August 2015
The recommended way to acquire ultrasound data in the Phonology Lab is via an Opensesame experiment. You can use Opensesame to display a series of prompts to a subject and run and control the acquisition utilities in inline scripts. A simple experiment proceeds like this:
- variables related to data acquisition are set
- the ultrasound acquisition system is initialized
- the experiment loops over a list of stimuli, which are used to prompt the subject
- a preparatory prompt is shown to the subject
ultrasession.py
is started and delays until the ultrasound system confirms that it is imaging
- a speaking prompt is shown to the subject. This prompt can be shown for a defined duration, or it can be displayed until the subject presses a key.
ultrasession.py
is sent a signal to stop acquisition