Examples

Some basic and advanced examples of how to use expyfun to generate and show stimuli, as well as do some analyses and plots.

Basic examples

Run a very basic experiment

Run a very basic experiment

Generate sample stimuli

Generate sample stimuli

Run a simple experiment

Run a simple experiment

Analysis examples

Examples of how to analyze data.

Parsing demo

Parsing demo

Analysis demo

Analysis demo

Experiments

More specialized experiment code and examples.

Version checking functions

Version checking functions

Experiment drawing methods

Experiment drawing methods

Sound level test and visual size calibration

Sound level test and visual size calibration

Experiment using eye-tracking pupillometry

Experiment using eye-tracking pupillometry

ProgressBar demo

ProgressBar demo

Display text with different formatting methods

Display text with different formatting methods

Adaptive tracking from above and below

Adaptive tracking from above and below

KeyPressAndRelease demo

KeyPressAndRelease demo

Adaptive tracking for two trial types and tracker reconstruction from .tab

Adaptive tracking for two trial types and tracker reconstruction from .tab

Experiment with eye-tracking

Experiment with eye-tracking

Use joystick controls

Use joystick controls

Mouse click demo

Mouse click demo

Keypress demo

Keypress demo

Stimulus generation examples

Examples of how to generate stimuli for experiments.

Generate more advanced auditory stimuli

Generate more advanced auditory stimuli

Video playing made simple

Video playing made simple

Do an adaptive track staircase

Do an adaptive track staircase

Do an adaptive track staircase with MHW procedure

Do an adaptive track staircase with MHW procedure

Generate texture stimuli

Generate texture stimuli

Generate vocoded stimuli

Generate vocoded stimuli

Use the CRM corpus

Use the CRM corpus

Examine and manipulate stimulus power

Examine and manipulate stimulus power

Video property control

Video property control

Synchronization tests

Specialized code to test system audio, video, and trigger synchronization/jitter, as well as sample rates.

Audio sample rate test

Audio sample rate test

A-V sync test

A-V sync test

Gallery generated by Sphinx-Gallery