eelbrain.Var.diff

Var.diff(self, to_end=None, to_begin=None, name=None)

The differences between consecutive values

Parameters:
to_end : scalar (optional)

Append to_end at the end.

to_begin : scalar (optional)

Add to_begin at the beginning.

name : str

Name of the output (default is the current name).

Returns:
diff : Var

Difference.