eelbrain.Var.astype

Var.astype(dtype)

Copy of the Var with data cast to the specified type

Parameters:

dtype (numpy dtype) – Numpy data-type specification (see numpy.ndarray.astype()).