MneExperiment
Dot product
ndvar (NDVar) – Second NDVar, has to have at least the dimension dim.
dim
dims (str | Sequence[str]) – Dimension(s) over which to compute the dot product (default is the last dimension shared with ndvar).
ndvar
name (str) – Name of the output NDVar (default is ndvar.name).
ndvar.name
NDVar | Var | float
Examples
Compute the first 6 DSS components:
>>> to_dss, from_dss = dss(x) >>> x_dss_6 = to_dss[:6].dot(x, 'sensor')