eelbrain.UTS.from_int

classmethod UTS.from_int(first, last, sfreq)

Create a UTS dimension from sample index and sampling frequency

Parameters:
first : int

Index of the first sample, relative to 0.

last : int

Index of the last sample, relative to 0.

sfreq : scalar

Sampling frequency, in Hz.