TimeJitter#

class tonic.transforms.TimeJitter(std: float, clip_negative: bool = True, sort_timestamps: bool = False)[source]#

Changes timestamp for each event by adding samples from a Gaussian distribution.

Parameters:
  • std (sequence or float) – the standard deviation of the time jitter.

  • clip_negative (bool) – drops events that have negative timestamps.

  • sort_timestamps (bool) – sort the events by timestamps after jitter.