eelbrain.UTS
- class eelbrain.UTS(tmin, tstep, nsamples, unit='s', name='time')
Dimension object for representing uniform time series
- Parameters
- Variables
tmin (float) – Lowest time point in seconds.
tmax (float) – Largest time point [s].
tstep (float) – Time step for each sample [s].
nsamples (int) – Number of samples.
tstop (float) – Time sample after
tmax
[s] (consistent with indexing excluding end point).times (array (nsamples,)) – Array with all time points.
Notes
Special indexing:
- (tstart, tstop)tuple
Restrict the time to the indicated window (either end-point can be None).
Methods
Retrieve the dimension's connectivity graph |
|
|
Convert a dimension index to an array index |
|
Create a UTS dimension from sample index and sampling frequency |
|
Create time axis from interval and samplingrate |
|
Index into a subset dimension |
|
Create a UTS dimension that is the intersection with |