scippneutron.chopper.nexus_chopper.extract_chopper_from_nexus#

scippneutron.chopper.nexus_chopper.extract_chopper_from_nexus(chopper)[source]#

Convert loaded NeXus disk chopper data to the layout used by ScipNeutron.

This function extracts relevant time series from NXlog. The output may, however, still contain time-dependent fields which need to be processed further. See Time-dependent parameters.

Parameters:

chopper (Mapping[str, Variable | DataArray | DataGroup]) – The loaded NeXus disk chopper data.

Returns:

DataGroup – A new data group with processed fields in the layout expected by DiskChopper.from_nexus.