Unit
From Emergent
A unit represents a neuron-like processing element, which receives input from other units, performs a generally very simple computation, and then sends its output along to other units that receive from it. Units are connected via Connection objects that are organized by Projection into collections of RecvCons (receiving connections) and SendCons (sending connections) for efficiency.
To access a receiving connection weight of a unit:
unit.recv[prjn_idx].Cn(cn_idx).wt
and the sending unit activation for that connection:
unit.recv[prjn_idx].Un(cn_idx).act
For sending connections, just replace recv with send.
