eelbrain.NDVar.dot

NDVar.dot(ndvar, dim=None, name=None)

Dot product

Parameters
  • ndvar (NDVar) – Second NDVar, has to have at least the dimension dim.

  • dim (str) – Dimension over which to form the dot product (default is the last dimension).

  • name (str) – Name of the output NDVar (default is ndvar.name).

Examples

>>> to_dss, from_dss = dss(x)
>>> x_dss_6 = to_dss[:6].dot(x, 'sensor')