spectrochempy.NDDataset.astype

NDDataset.astype(dtype=None, **kwargs)[source]

Cast the data to a specified type.

Parameters

dtype (str or dtype) – Typecode or data-type to which the array is cast.