Warning

You are reading the documentation related to the development version. Go here if you are looking for the documentation of the stable release.

spectrochempy.to_xarray

to_xarray()[source]

Convert a NDDataset instance to an DataArray object.

Warning: the xarray library must be available.

Returns

object – A axrray.DataArray object.