:py:mod:`tonic.functional.time_jitter`
======================================

.. py:module:: tonic.functional.time_jitter


Module Contents
---------------


Functions
~~~~~~~~~

.. autoapisummary::

   tonic.functional.time_jitter.time_jitter_numpy



.. py:function:: time_jitter_numpy(events: numpy.ndarray, std: float = 1, clip_negative: bool = False, sort_timestamps: bool = False)

   Changes timestamp for each event by drawing samples from a Gaussian distribution and adding
   them to each timestamp.

   :param events: ndarray of shape [num_events, num_event_channels]
   :param std: the standard deviation of the time jitter
   :param clip_negative: drops events that have negative timestamps
   :param sort_timestamps: sort the events by timestamps after jittering

   :returns: temporally jittered set of events.


