pynapple.TsGroup.get#
- TsGroup.get(start, end=None, time_units='s')[source]#
Slice the TsGroup object from start to end such that all the timestamps within the group satisfy start<=t<=end. If end is None, only the timepoint closest to start is returned.
By default, the time support doesn’t change. If you want to change the time support, use the restrict function.