scippneutron.array_from_mantid#

scippneutron.array_from_mantid(workspace, **kwargs)#

Convert Mantid workspace to a scipp data array or dataset. :type workspace: :param workspace: Mantid workspace to convert. :rtype: Union[DataArray, Dataset]

Deprecated since version 23.07.0: The old from_mantid was renamed to array_from_mantid and is deprecated in favor of the new from_mantid which return a data group.