trial components

All classes that serve as components for instantiating a full trial.

source

Proband

 Proband (proband_ID)

Stores metadata associated with the proband.


source

Trial

 Trial (user_ID, task_dict, demographic_dict, target_dir=None,
        proband_ID=None, colors=None, language='german',
        descriptions_preset=[])

The main class used by task_tracker. Proband, Task_History, Audio_Record objects are stored here. Metadata such as user_ID, start_ and end_time are stored here. Main_Interface writes acquired information directly to this object.


source

Task

 Task (task_number, task_name, lane, trial_start_time)

The syllables of task_tracker. Start-, end- time and Pause objects are stored here. Descriptions can be added to this object. The duration can be calculated substracting the breaks.


source

Pause

 Pause (task_number, task_name='Pause', lane='Tasks', trial_start_time=0)

Stores start- and end- time. The duration can be calculated substracting the breaks.


source

Audio_Record

 Audio_Record (trial, channels=1, freq=44100, duration=10800)

Audio is recorded via this class. The interaction with sounddevice is performed here. Per default, the recording can last no longer than 3 hours. However, the duration can be set individually.


source

Task_History

 Task_History (task_dict)

The tasks are stored here. They can be exported as dataframe via Task_History.export_tasks.


source

Segment

 Segment (start_time, end_time, text, ide, array_slice, tasks, trial)

Representations of single segments transcribed from audio. Are used in Correct_Transcription_Interface.


source

Coding_Category

 Coding_Category (segment, category)

Initialize self. See help(type(self)) for accurate signature.