eelbrain.set_time
- eelbrain.set_time(ndvar, time, mode='constant', name=None, **kwargs)
Crop and/or pad an
NDVar
to match the time axistime
- Parameters
time (UTS | NDVar) – New time axis, or
NDVar
with time axis to match.mode (str) – How to pad
ndvar
, seenumpy.pad()
.name (str) – Name for the new NDVar.
** – See
numpy.pad()
.