iblrig.base_tasks.BpodMixin

Inheritance diagram of BpodMixin

class iblrig.base_tasks.BpodMixin[source]
init_mixin_bpod(*args, **kwargs)[source]
send_spacers()[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
  1. we want to be able to inherit this and dynamically add softcode to the dictionry

  2. 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]

start_mixin_bpod()[source]
stop_mixin_bpod()[source]