iblrig.base_tasks.BpodMixin
- class iblrig.base_tasks.BpodMixin[source]
-
- softcode_dictionary()[source]
Returns a softcode handler dict where each key corresponds to the softcode and each value to the function to be called.
- This needs to be wrapped this way because
we want to be able to inherit this and dynamically add softcode to the dictionry
we need to provide the Task object (self) at run time to have the functions with static args
This is tricky as it is unclear if the task object is a copy or a reference when passed here.
- Returns:
Softcode dictionary
- Return type:
OrderedDict[int
,Callable]