pynapple.core.time_series.Ts.__init__#

Ts.__init__(t, time_units='s', time_support=None)[source]#

Ts Initializer

Parameters:
  • t (numpy.ndarray or pandas.Series) – An object transformable in timestamps, or a pandas.Series equivalent (if d is None)

  • time_units (str, optional) – The time units in which times are specified (‘us’, ‘ms’, ‘s’ [default])

  • time_support (IntervalSet, optional) – The time support of the Ts object