expyriment.stimuli.extras.RandomDotKinematogram

class expyriment.stimuli.extras.RandomDotKinematogram(area_radius, n_dots, target_direction, target_dot_ratio, position=None, dot_speed=None, dot_lifetime=None, dot_radius=None, dot_colour=None, background_colour=None, north_up_clockwise=None)[source]

Random Dot Kinematogram

Methods

__init__(area_radius, n_dots, target_direction, target_dot_ratio, position=None, dot_speed=None, dot_lifetime=None, dot_radius=None, dot_colour=None, background_colour=None, north_up_clockwise=None)[source]

Create a Random Dot Kinematogram

copy()

Return a deep copy of the stimulus.

id

Getter for id.

last_stimulus

Getter for the last plotted stimulus

logging

Getter for logging.

make_frame(background_stimulus=None)[source]

Make new frame. The function creates the current random dot kinematogram and returns it as Expyriment stimulus.

n_dots

Getter for n_dots.

present_and_wait_keyboard(background_stimulus=None, check_keys=None, change_parameter=(None, None), duration=None, button_box=None)[source]

Present the random dot kinematogram and wait for keyboard press.

reset(n_dots, target_direction, target_dot_ratio)[source]

Reset and recreate dot pattern

reset_all_ages(randomize_ages=False)[source]

Reset all ages (born at current time) and randomize start age if required

set_logging(onoff)[source]

Set logging of this object on or off

target_dot_ratio

Getter for target dot ratio