visiomode.devices.water_reward.WaterReward¶
- class visiomode.devices.water_reward.WaterReward(address)¶
Bases:
OutputDevice
- __init__(address)¶
Methods
__init__
(address)calibrate
(**kwargs)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.
Dispenses water reward.
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
()Attributes
reward_epoch
- 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.
- on_correct()¶
Dispenses water reward.
- save_yaml(path, exclude=None)¶
Save class attributes as a YAML file.