scipp.to_dict
scipp.to_dict#
- scipp.to_dict(scipp_obj)#
Convert a scipp object (Variable, DataArray or Dataset) to a Python
dict
.- Parameters
scipp_obj (
Union
[Variable
,DataArray
,Dataset
]) – Scipp object to be converted to a python dict.- Returns
dict
– A dict containing all the information necessary to fully define the supplied scipp object.
See also