eelbrain.Scalar.dimindex

Scalar.dimindex(arg)[source]

Convert a dimension index to an array index