spiketools.objects.Session¶
- class spiketools.objects.Session(subject=None, session=None, task=None, units=None)[source]¶
A Session object.
- Parameters:
- subjectstr
Subject label.
- sessionstr
Session label.
- taskstr
Task label.
- unitslist of Units
Units for the session.
Methods
__init__
([subject, session, task, units])Initialize Subject object.
add_unit
(unit)Add a unit to the object.
Attributes
The number of units contained in the object.
- property n_units¶
The number of units contained in the object.