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