(Shortest import: from brian2 import cos)
from brian2 import cos)
brian2.units.unitsafefunctions.
cos
Cosine element-wise.