eelbrain.NDVar.astype

NDVar.astype(self, dtype)

Copy of the NDVar with data cast to the specified type

Parameters:
dtype : numpy dtype

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