reprostim timesync-stimuli

PsychoPy reprostim timesync-stimuli script.

Usage

reprostim timesync-stimuli [OPTIONS]

Options

-m, --mode <mode>

Mode of operation. Default is event.

  • event : Process events based on triggers or keyboard events like 5, q, ESC.

  • interval : Operate and produce QR codes in fixed time intervals.

  • beep : Generate beep sound for test purposes.

  • devices : List available audio devices info.

Options:

event | interval | beep | devices

-o, --output-prefix <output_prefix>

Output log file name prefix.

-w, --windowed

Run script in windowed mode, by default fullscreen mode is used.

-z, --size <win_size>

Specify window size as a tuple of integers (default: 1920 1080).Used only in windowed mode.

-d, --display <display>

Specify display number as an integer or as X11 format like :display_num (default: 1).

-s, --qr-scale <qr_scale>

Specify QR code scale factor in range 0..1. Use 1.0 to fit full height (default: 0.8).

-r, --qr-duration <qr_duration>

Specifies QR code and possibly audio code (NFE) duration in seconds. Default is 0.5 sec.

-y, --qr-async

Use async QR code generation (default is False). In async mode script doesn’t wait for the end of QR code presentation (controlled by qr_duration parameter) and break current QR code and display the new one. Can be used for testing purposes or MRI scans with very short or irregular TR intervals.

-a, --audio-lib <audio_lib>

Specify audio library to be used. Default is psychopy_sounddevice.

Options:

psychopy_sounddevice | psychopy_ptb | sounddevice

-c, --audio-codec <audio_codec>

Specify audio codec to produce audio code. Default is FSK.

Options:

FSK | NFE

-u, --mute

Disable audio codes generation (default is False).

-t, --trials <trials>

Specifies number of trials.

-x, --duration <duration>

Specifies script duration in seconds. Use negative value for infinite duration (default: -1).

-i, --interval <interval>

Specifies interval value (default: 2.0).

-k, --keep-audiocode

Store audiocode as separate .wav files for debug purposes (default is False).