eelbrain.NDVar.astype

NDVar.astype(dtype)

Copy of the NDVar with data cast to the specified type

Parameters

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