CropTime#

class tonic.transforms.CropTime(min: int = 0, max: int = None)[source]#

Drops events with timestamps below min and above max.

Parameters:
  • min (int) – The minimum timestamp below which all events are dropped. Zero by default.

  • max (int) – The maximum timestamp above which all events are dropped.

Example

>>> transform = tonic.transforms.CropTime(min=1000, max=20000)