visiomode.protocols.Task¶
- class visiomode.protocols.Task(screen, iti, stimulus_duration, response_device, response_address, reward_address, reward_profile, **kwargs)¶
Bases:
Protocol
- __init__(screen, iti, stimulus_duration, response_device, response_address, reward_address, reward_profile, **kwargs)¶
Methods
__init__
(screen, iti, stimulus_duration, ...)get_child
(child_id)Return all inheriting children as a list.
"Return the human-readable, space-separated name for the class.
get_form
()Generate lowercase identifier for the class.
hide_stimulus
()on_correct
()on_incorrect
()on_no_response
()on_precued
()on_protocol_end
()on_protocol_start
()on_stimulus_start
()on_trial_end
()on_trial_start
()parse_trial
(trial_start, outcome[, ...])show_stimulus
()start
()Start the protocol
stop
()Trial block
update
()Protocol event handling and graphics rendering
update_stimulus
()Attributes
form_path
- classmethod get_children()¶
Return all inheriting children as a list.
- classmethod get_common_name()¶
“Return the human-readable, space-separated name for the class.
- classmethod get_identifier()¶
Generate lowercase identifier for the class.
- start()¶
Start the protocol
- trial_block()¶
Trial block
- update()¶
Protocol event handling and graphics rendering