eelbrain.set_tmin

eelbrain.set_tmin(data, tmin=0.0, name=None)

Shift the time axis of an NDVar relative to its data

Parameters
  • data (Union[NDVar, UTS]) – NDVar or UTS dimension on which to set tmin.

  • tmin (float) – New tmin value (default 0).

  • name (str) – Name for the new NDVar.

Returns

Shallow copy of data with updated time axis.

Return type

out

See also

set_time

Pad/crop the NDVar