ess.reduce.nexus.json_nexus.json_nexus_group#

ess.reduce.nexus.json_nexus.json_nexus_group(json_dict, *, definitions=None)[source]#

Parse a JSON dictionary into a NeXus group.

Parameters:
  • json_dict (dict[str, Any]) – dict containing a NeXus structure as JSON.

  • definitions (Optional[dict[str, type]], default: None) – ScippNexus application definitions. When not given, the default definitions are used.

Returns:

Group – A NeXus group that can be used for loading data as if it were loaded from a file with scippnexus.File.