br_stimpy.stimpy.GroupStimulusStruct
- class GroupStimulusStruct(electrode=None, pattern=None)[source]
Bases:
object
Group Stimulus Structure
Structure to input to
group_stimulus()
function.Optionally accepts electrode and pattern ID lists as input. Constructor will check that electrode and pattern IDs are valid and not longer than
MAX_MODULES
. Will zero-pad lists to lengthMAX_MODULES
. User cannot modify these lengths after object creation.- Parameters:
- Raises:
ValueError – Electrode and Pattern lists must be the same length and cannot be longer than
MAX_MODULES
.
Methods
Attributes
List of electrodes
Number of electrodes contained in the group
List of pattern IDs corresponding to electrode