sel.reinforcement.group

Syntax

s = sel.reinforcement.group(srp<,slot>)
sel.reinforcement.group(srp<,slot>) = s

Get/set the group name assigned to reinforcement element srp in slot slot (if provided). group assignment (returned as a string name) for a reinforcement. Returns None if there is no group assignment for the reinforcement. Use of the group logic is described in the Groups topic.

Returns:s - group name in slot slot (if provided)
Accepts:s - group name in slot slot (if provided)
Arguments:srp - reinforcement pointer slot - (optional) name of the slot used. If not given, the slot name Default is assumed.