visiomode.devices.lever_push.LeverPush¶
- class visiomode.devices.lever_push.LeverPush(address, profile_path=None)¶
Bases:
InputDevice- __init__(address, profile_path=None)¶
Methods
__init__(address[, profile_path])get_child(child_id)Return all inheriting children as a list.
"Return the human-readable, space-separated name for the class.
Generate lowercase identifier for the class.
get_response()listen([threaded])load_yaml(path)Loads YAML file parameters as class attributes.
lock_lever()on_correct()on_incorrect()on_no_response()on_precued()on_protocol_end()on_protocol_start()on_stimulus_start()on_trial_end()on_trial_start()save_yaml(path[, exclude])Save class attributes as a YAML file.
stop_listening()test()unlock_lever()- 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.
- load_yaml(path)¶
Loads YAML file parameters as class attributes.
- Parameters
path – Path to config YAML.
- save_yaml(path, exclude=None)¶
Save class attributes as a YAML file.