visiomode.devices.Device¶
- class visiomode.devices.Device(address=None, profile_path=None)¶
Bases:
BaseClassMixin,YamlAttributesMixin,ProtocolEventsMixin- __init__(address=None, 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.
load_yaml(path)Loads YAML file parameters as class attributes.
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.
test()- 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.