eelbrain.Var.astype

Var.astype(self, dtype)

Copy of the Var with data cast to the specified type

Parameters:
dtype : numpy dtype

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