Quick Start Guide#

Overview#

The NeXus Data Format is typically used to structure HDF5 files. An HDF5 file is a container for datasets and groups. Groups are folder-like and work like Python dictionaries. Datasets work like NumPy arrays. In addition, groups and datasets have a dictionary of attributes.

NeXus extends this with the following:

  • Definitions for attributes for datasets, in particular a units attribute. In NeXus, datasets are referred to as field.

  • Definitions for attributes and structure of groups. This includes:

    • An NX_class attribute, identifying a group as an instance of a particular NeXus class such as NXdata or NXlog.

    • Attributes that identify which fields contained in the group hold signal values, and which hold axis labels.

In the following we use a file from the POWGEN instrument at SNS. It is bundled with ScippNexus and will be downloaded automatically using pooch if it is not cached already:

[1]:
from scippnexus import data

filename = data.get_path('PG3_4844_event.nxs')

Loading files#

Given such a NeXus file, we can load the entire file using snx.load:

[2]:
import scippnexus as snx

data = snx.load(filename)
data
/home/runner/work/scippnexus/scippnexus/.tox/docs/lib/python3.10/site-packages/scippnexus/base.py:375: UserWarning: Failed to load /entry/bank184_events as NXevent_data: Invalid index in NXevent_data at /entry/bank184_events/event_index:
Bin indices out of range Falling back to loading HDF5 group children as scipp.DataGroup.
  self._warn_fallback(e)
/home/runner/work/scippnexus/scippnexus/.tox/docs/lib/python3.10/site-packages/scippnexus/base.py:375: UserWarning: Failed to load /entry/bank82_events as NXevent_data: Invalid index in NXevent_data at /entry/bank82_events/event_index:
Bin begin index must be less or equal to its end index. Falling back to loading HDF5 group children as scipp.DataGroup.
  self._warn_fallback(e)
/home/runner/work/scippnexus/scippnexus/.tox/docs/lib/python3.10/site-packages/scippnexus/base.py:375: UserWarning: Failed to load /entry/bank84_events as NXevent_data: Invalid index in NXevent_data at /entry/bank84_events/event_index:
Bin begin index must be less or equal to its end index. Falling back to loading HDF5 group children as scipp.DataGroup.
  self._warn_fallback(e)
/home/runner/work/scippnexus/scippnexus/.tox/docs/lib/python3.10/site-packages/scippnexus/base.py:375: UserWarning: Failed to load /entry/instrument/bank184 as NXevent_data: Invalid index in NXevent_data at /entry/instrument/bank184/event_index:
Bin indices out of range Falling back to loading HDF5 group children as scipp.DataGroup.
  self._warn_fallback(e)
/home/runner/work/scippnexus/scippnexus/.tox/docs/lib/python3.10/site-packages/scippnexus/base.py:375: UserWarning: Failed to load /entry/instrument/bank82 as NXevent_data: Invalid index in NXevent_data at /entry/instrument/bank82/event_index:
Bin begin index must be less or equal to its end index. Falling back to loading HDF5 group children as scipp.DataGroup.
  self._warn_fallback(e)
/home/runner/work/scippnexus/scippnexus/.tox/docs/lib/python3.10/site-packages/scippnexus/base.py:375: UserWarning: Failed to load /entry/instrument/bank84 as NXevent_data: Invalid index in NXevent_data at /entry/instrument/bank84/event_index:
Bin begin index must be less or equal to its end index. Falling back to loading HDF5 group children as scipp.DataGroup.
  self._warn_fallback(e)
[2]:
  • scipp
    DataGroup
    (time: None,
     x_pixel_offset: 154,
     y_pixel_offset: 7,
     event_time_zero: 330473,
     event: None,
     dim_0: None,
     time_of_flight: 200001)
      • scipp
        DataGroup
        (time: None)
          • ChopperStatus1
            scipp
            DataArray
            (time: 1)
            float32
            4.0
          • ChopperStatus2
            scipp
            DataArray
            (time: 1)
            float32
            4.0
          • ChopperStatus3
            scipp
            DataArray
            (time: 1)
            float32
            4.0
          • CurrentSP
            scipp
            DataArray
            (time: 1)
            float32
            300.0
          • EnergyRequest
            scipp
            DataArray
            (time: 1)
            float32
            meV
            287.9554
          • LKSRampRate
            scipp
            DataArray
            (time: 1)
            float32
            0.0
          • LambdaRequest
            scipp
            DataArray
            (time: 1)
            float32
            Å
            0.533
          • Phase1
            scipp
            DataArray
            (time: 1793)
            float32
            µs
            8166.72, 8165.158, ..., 8163.6177, 8163.8525
          • Phase2
            scipp
            DataArray
            (time: 1792)
            float32
            µs
            8335.626, 8334.088, ..., 8332.628, 8332.859
          • Phase3
            scipp
            DataArray
            (time: 1776)
            float32
            µs
            14001.451, 14001.385, ..., 14001.898, 14001.978
          • PhaseRequest1
            scipp
            DataArray
            (time: 1)
            float32
            µs
            8164.0747
          • PhaseRequest2
            scipp
            DataArray
            (time: 1)
            float32
            µs
            8332.893
          • PhaseRequest3
            scipp
            DataArray
            (time: 1)
            float32
            µs
            14001.829
          • scipp
            DataGroup
            ()
              • average_value
                scipp
                Variable
                ()
                float32
                mm
                0.0
              • duration
                scipp
                Variable
                ()
                float32
                s
                0.0
              • effective_value
                scipp
                Variable
                ()
                float32
                mm
                0.0
              • maximum_value
                scipp
                Variable
                ()
                float32
                mm
                0.0
              • minimum_value
                scipp
                Variable
                ()
                float32
                mm
                0.0
              • requested_value
                scipp
                Variable
                ()
                float32
                mm
                0.0
              • time
                scipp
                Variable
                ()
                datetime64
                ns
                2011-08-12T15:50:16.800000000
              • value
                scipp
                Variable
                ()
                float32
                mm
                0.0
          • scipp
            DataGroup
            ()
              • average_value
                float32
                ()
                0.0
              • duration
                scipp
                Variable
                ()
                float32
                s
                0.0
              • effective_value
                float32
                ()
                0.0
              • maximum_value
                float32
                ()
                0.0
              • minimum_value
                float32
                ()
                0.0
              • requested_value
                scipp
                Variable
                ()
                float32
                N
                0.0
              • time
                scipp
                Variable
                ()
                datetime64
                ns
                2011-08-12T15:50:16.800000000
              • value
                float32
                ()
                0.0
          • scipp
            DataGroup
            ()
              • average_value
                scipp
                Variable
                ()
                float32
                mm
                10.0
              • duration
                scipp
                Variable
                ()
                float32
                s
                0.0
              • effective_value
                scipp
                Variable
                ()
                float32
                mm
                10.0
              • maximum_value
                scipp
                Variable
                ()
                float32
                mm
                10.0
              • minimum_value
                scipp
                Variable
                ()
                float32
                mm
                10.0
              • requested_value
                scipp
                Variable
                ()
                float32
                mm
                10.0
              • time
                scipp
                Variable
                ()
                datetime64
                ns
                2011-08-12T15:50:16.800000000
              • value
                scipp
                Variable
                ()
                float32
                mm
                10.0
          • scipp
            DataGroup
            ()
              • average_value
                scipp
                Variable
                ()
                float32
                mm
                5.0
              • duration
                scipp
                Variable
                ()
                float32
                s
                0.0
              • effective_value
                scipp
                Variable
                ()
                float32
                mm
                5.0
              • maximum_value
                scipp
                Variable
                ()
                float32
                mm
                5.0
              • minimum_value
                scipp
                Variable
                ()
                float32
                mm
                5.0
              • requested_value
                scipp
                Variable
                ()
                float32
                mm
                5.0
              • time
                scipp
                Variable
                ()
                datetime64
                ns
                2011-08-12T15:50:16.800000000
              • value
                scipp
                Variable
                ()
                float32
                mm
                5.0
          • scipp
            DataGroup
            ()
              • average_value
                float32
                ()
                0.0
              • duration
                scipp
                Variable
                ()
                float32
                s
                0.0
              • effective_value
                float32
                ()
                0.0
              • maximum_value
                float32
                ()
                0.0
              • minimum_value
                float32
                ()
                0.0
              • requested_value
                scipp
                Variable
                ()
                float32
                N
                0.0
              • time
                scipp
                Variable
                ()
                datetime64
                ns
                2011-08-12T15:50:16.800000000
              • value
                float32
                ()
                0.0
          • scipp
            DataGroup
            ()
              • average_value
                scipp
                Variable
                ()
                float32
                mm
                30.0
              • duration
                scipp
                Variable
                ()
                float32
                s
                0.0
              • effective_value
                scipp
                Variable
                ()
                float32
                mm
                30.0
              • maximum_value
                scipp
                Variable
                ()
                float32
                mm
                30.0
              • minimum_value
                scipp
                Variable
                ()
                float32
                mm
                30.0
              • requested_value
                scipp
                Variable
                ()
                float32
                mm
                30.0
              • time
                scipp
                Variable
                ()
                datetime64
                ns
                2011-08-12T15:50:16.816000000
              • value
                scipp
                Variable
                ()
                float32
                mm
                30.0
          • SampleTemp
            scipp
            DataArray
            (time: 466)
            float32
            299.352, 299.446, ..., 300.001, 300.0
          • Speed1
            scipp
            DataArray
            (time: 1)
            float32
            Hz
            60.0
          • Speed2
            scipp
            DataArray
            (time: 1)
            float32
            Hz
            60.0
          • Speed3
            scipp
            DataArray
            (time: 1)
            float32
            Hz
            60.0
          • SpeedRequest1
            scipp
            DataArray
            (time: 1)
            float32
            Hz
            60.0
          • SpeedRequest2
            scipp
            DataArray
            (time: 1)
            float32
            Hz
            60.0
          • SpeedRequest3
            scipp
            DataArray
            (time: 1)
            float32
            Hz
            60.0
          • TolRequest
            scipp
            DataArray
            (time: 1)
            float32
            20.0
          • scipp
            DataGroup
            ()
              • veto_pulse_time
                float64
                ()
                0.0
          • scipp
            DataGroup
            ()
              • average_value
                float32
                ()
                0.0
              • duration
                scipp
                Variable
                ()
                float32
                s
                0.0
              • effective_value
                float32
                ()
                0.0
              • maximum_value
                float32
                ()
                0.0
              • minimum_value
                float32
                ()
                0.0
              • time
                scipp
                Variable
                ()
                datetime64
                ns
                2011-08-12T15:50:16.784000000
              • value
                float32
                ()
                0.0
          • currentsample
            scipp
            DataArray
            (time: 1)
            float32
            4.0
          • fernsstatus
            scipp
            DataArray
            (time: 1)
            float32
            3.0
          • frequency
            scipp
            DataArray
            (time: 330473)
            float64
            Hz
            0.0, 60.024, ..., 60.002, 59.999
          • scipp
            DataGroup
            ()
              • average_value
                scipp
                Variable
                ()
                float32
                mm
                -55.463
              • duration
                scipp
                Variable
                ()
                float32
                s
                0.0
              • effective_value
                scipp
                Variable
                ()
                float32
                mm
                -55.463
              • maximum_value
                scipp
                Variable
                ()
                float32
                mm
                -55.463
              • minimum_value
                scipp
                Variable
                ()
                float32
                mm
                -55.463
              • requested_value
                scipp
                Variable
                ()
                float32
                mm
                -55.463
              • time
                scipp
                Variable
                ()
                datetime64
                ns
                2011-08-12T15:50:16.784000000
              • value
                scipp
                Variable
                ()
                float32
                mm
                -55.463
          • proton_charge
            scipp
            DataArray
            (time: 330473)
            float64
            pC
            1.484e+07, 1.484e+07, ..., 1.487e+07, 1.484e+07
          • scipp
            DataGroup
            ()
              • average_value
                scipp
                Variable
                ()
                float32
                mm
                20.0
              • duration
                scipp
                Variable
                ()
                float32
                s
                0.0
              • effective_value
                scipp
                Variable
                ()
                float32
                mm
                20.0
              • maximum_value
                scipp
                Variable
                ()
                float32
                mm
                20.0
              • minimum_value
                scipp
                Variable
                ()
                float32
                mm
                20.0
              • requested_value
                scipp
                Variable
                ()
                float32
                mm
                20.0
              • time
                scipp
                Variable
                ()
                datetime64
                ns
                2011-08-12T15:50:16.784000000
              • value
                scipp
                Variable
                ()
                float32
                mm
                20.0
          • scipp
            DataGroup
            ()
              • average_value
                scipp
                Variable
                ()
                float32
                mm
                5.0
              • duration
                scipp
                Variable
                ()
                float32
                s
                0.0
              • effective_value
                scipp
                Variable
                ()
                float32
                mm
                5.0
              • maximum_value
                scipp
                Variable
                ()
                float32
                mm
                5.0
              • minimum_value
                scipp
                Variable
                ()
                float32
                mm
                5.0
              • requested_value
                scipp
                Variable
                ()
                float32
                mm
                5.0
              • time
                scipp
                Variable
                ()
                datetime64
                ns
                2011-08-12T15:50:16.800000000
              • value
                scipp
                Variable
                ()
                float32
                mm
                5.0
          • scipp
            DataGroup
            ()
              • average_value
                scipp
                Variable
                ()
                float32
                mm
                -5.0
              • duration
                scipp
                Variable
                ()
                float32
                s
                0.0
              • effective_value
                scipp
                Variable
                ()
                float32
                mm
                -5.0
              • maximum_value
                scipp
                Variable
                ()
                float32
                mm
                -5.0
              • minimum_value
                scipp
                Variable
                ()
                float32
                mm
                -5.0
              • requested_value
                scipp
                Variable
                ()
                float32
                mm
                -5.0
              • time
                scipp
                Variable
                ()
                datetime64
                ns
                2011-08-12T15:50:16.784000000
              • value
                scipp
                Variable
                ()
                float32
                mm
                -5.0
          • scipp
            DataGroup
            ()
              • average_value
                scipp
                Variable
                ()
                float32
                mm
                -10.0
              • duration
                scipp
                Variable
                ()
                float32
                s
                0.0
              • effective_value
                scipp
                Variable
                ()
                float32
                mm
                -10.0
              • maximum_value
                scipp
                Variable
                ()
                float32
                mm
                -10.0
              • minimum_value
                scipp
                Variable
                ()
                float32
                mm
                -10.0
              • requested_value
                scipp
                Variable
                ()
                float32
                mm
                -10.0
              • time
                scipp
                Variable
                ()
                datetime64
                ns
                2011-08-12T15:50:16.784000000
              • value
                scipp
                Variable
                ()
                float32
                mm
                -10.0
          • samplerequest
            scipp
            DataArray
            (time: 1)
            float32
            4.0
          • scipp
            DataGroup
            ()
              • average_value
                float32
                ()
                2.0
              • duration
                scipp
                Variable
                ()
                float32
                s
                0.0
              • effective_value
                float32
                ()
                2.0
              • maximum_value
                float32
                ()
                2.0
              • minimum_value
                float32
                ()
                2.0
              • requested_value
                scipp
                Variable
                ()
                float32
                N
                2.0
              • time
                scipp
                Variable
                ()
                datetime64
                ns
                2011-08-12T15:50:16.800000000
              • value
                float32
                ()
                2.0
      • scipp
        DataGroup
        ()
          • SNSbanking_file_name
            str
            ()
            PG3_bank_2011_02_25.xml
          • SNSmapping_file_name
            str
            ()
            PG3_TS_2009_04_17.dat
          • author
            str
            ()
            HistoTool
          • command1
            str
            ()
            event2nxl --mapping PG3_TS_2009_04_17.dat --banking PG3_bank_2011_02_25.xml --in...
          • command2
            str
            ()
            monitorappend --time_offset 0.0 --max_time_bin 200001.0 -l 1.0 --input PG3_4844_...
          • date
            str
            ()
            2011-08-12
          • description
            str
            ()
            List of commands run within the HistoTool package
          • version
            str
            ()
            3.4.5
      • bank102
        scipp
        DataArray
        (x_pixel_offset: 154,
         y_pixel_offset: 7)
        int32
        0, 0, ..., 0, 0
      • bank102_events
        scipp
        DataArray
        (event_time_zero: 330473)
        DataArrayView
        binned data [len=0, len=3, ..., len=3, len=2]
      • bank103
        scipp
        DataArray
        (x_pixel_offset: 154,
         y_pixel_offset: 7)
        int32
        0, 0, ..., 0, 0
      • bank103_events
        scipp
        DataArray
        (event_time_zero: 330473)
        DataArrayView
        binned data [len=0, len=0, ..., len=0, len=1]
      • bank104
        scipp
        DataArray
        (x_pixel_offset: 154,
         y_pixel_offset: 7)
        int32
        0, 0, ..., 0, 0
      • bank104_events
        scipp
        DataArray
        (event_time_zero: 330473)
        DataArrayView
        binned data [len=1, len=1, ..., len=2, len=1]
      • bank105
        scipp
        DataArray
        (x_pixel_offset: 154,
         y_pixel_offset: 7)
        int32
        0, 0, ..., 0, 0
      • bank105_events
        scipp
        DataArray
        (event_time_zero: 330473)
        DataArrayView
        binned data [len=1, len=5, ..., len=6, len=4]
      • bank106
        scipp
        DataArray
        (x_pixel_offset: 154,
         y_pixel_offset: 7)
        int32
        0, 0, ..., 0, 0
      • bank106_events
        scipp
        DataArray
        (event_time_zero: 330473)
        DataArrayView
        binned data [len=3, len=2, ..., len=2, len=1]
      • bank123
        scipp
        DataArray
        (x_pixel_offset: 154,
         y_pixel_offset: 7)
        int32
        0, 0, ..., 0, 0
      • bank123_events
        scipp
        DataArray
        (event_time_zero: 330473)
        DataArrayView
        binned data [len=3, len=4, ..., len=0, len=4]
      • bank124
        scipp
        DataArray
        (x_pixel_offset: 154,
         y_pixel_offset: 7)
        int32
        0, 0, ..., 0, 0
      • bank124_events
        scipp
        DataArray
        (event_time_zero: 330473)
        DataArrayView
        binned data [len=1, len=2, ..., len=7, len=1]
      • bank143
        scipp
        DataArray
        (x_pixel_offset: 154,
         y_pixel_offset: 7)
        int32
        0, 0, ..., 0, 0
      • bank143_events
        scipp
        DataArray
        (event_time_zero: 330473)
        DataArrayView
        binned data [len=2, len=2, ..., len=2, len=3]
      • bank144
        scipp
        DataArray
        (x_pixel_offset: 154,
         y_pixel_offset: 7)
        int32
        0, 0, ..., 0, 0
      • bank144_events
        scipp
        DataArray
        (event_time_zero: 330473)
        DataArrayView
        binned data [len=2, len=3, ..., len=3, len=5]
      • bank164
        scipp
        DataArray
        (x_pixel_offset: 154,
         y_pixel_offset: 7)
        int32
        0, 0, ..., 0, 0
      • bank164_events
        scipp
        DataArray
        (event_time_zero: 330473)
        DataArrayView
        binned data [len=3, len=0, ..., len=1, len=3]
      • bank184
        scipp
        DataArray
        (x_pixel_offset: 154,
         y_pixel_offset: 7)
        int32
        0, 0, ..., 0, 0
      • scipp
        DataGroup
        (event_time_zero: 330473,
         event: 513380)
          • event_index
            scipp
            Variable
            (event_time_zero: 330473)
            int64
            0, 0, ..., 9223372036854775807, 9223372036854775807
          • event_time_offset
            scipp
            Variable
            (event: 513380)
            float32
            µs
            5906.3, 6189.3, ..., 10358.8, 11654.9
          • event_time_zero
            scipp
            Variable
            (event_time_zero: 330473)
            datetime64
            ns
            2011-08-12T15:50:17.000000000, 2011-08-12T15:50:17.016659999, ..., 2011-08-12T17:22:05.085449218, 2011-08-12T17:22:05.102050781
          • event_id
            scipp
            Variable
            (event: 513380)
            int32
            230254, 231027, ..., 230834, 230571
      • bank22
        scipp
        DataArray
        (x_pixel_offset: 154,
         y_pixel_offset: 7)
        int32
        0, 0, ..., 0, 0
      • bank22_events
        scipp
        DataArray
        (event_time_zero: 330473)
        DataArrayView
        binned data [len=4, len=7, ..., len=3, len=9]
      • bank23
        scipp
        DataArray
        (x_pixel_offset: 154,
         y_pixel_offset: 7)
        int32
        0, 0, ..., 0, 0
      • bank23_events
        scipp
        DataArray
        (event_time_zero: 330473)
        DataArrayView
        binned data [len=3, len=4, ..., len=5, len=6]
      • bank24
        scipp
        DataArray
        (x_pixel_offset: 154,
         y_pixel_offset: 7)
        int32
        0, 0, ..., 0, 0
      • bank24_events
        scipp
        DataArray
        (event_time_zero: 330473)
        DataArrayView
        binned data [len=1, len=5, ..., len=2, len=5]
      • bank42
        scipp
        DataArray
        (x_pixel_offset: 154,
         y_pixel_offset: 7)
        int32
        0, 0, ..., 0, 0
      • bank42_events
        scipp
        DataArray
        (event_time_zero: 330473)
        DataArrayView
        binned data [len=5, len=0, ..., len=3, len=4]
      • bank43
        scipp
        DataArray
        (x_pixel_offset: 154,
         y_pixel_offset: 7)
        int32
        0, 0, ..., 0, 0
      • bank43_events
        scipp
        DataArray
        (event_time_zero: 330473)
        DataArrayView
        binned data [len=2, len=7, ..., len=4, len=3]
      • bank44
        scipp
        DataArray
        (x_pixel_offset: 154,
         y_pixel_offset: 7)
        int32
        0, 0, ..., 0, 0
      • bank44_events
        scipp
        DataArray
        (event_time_zero: 330473)
        DataArrayView
        binned data [len=3, len=0, ..., len=2, len=3]
      • bank62
        scipp
        DataArray
        (x_pixel_offset: 154,
         y_pixel_offset: 7)
        int32
        0, 0, ..., 0, 0
      • bank62_events
        scipp
        DataArray
        (event_time_zero: 330473)
        DataArrayView
        binned data [len=3, len=3, ..., len=1, len=4]
      • bank63
        scipp
        DataArray
        (x_pixel_offset: 154,
         y_pixel_offset: 7)
        int32
        0, 0, ..., 0, 0
      • bank63_events
        scipp
        DataArray
        (event_time_zero: 330473)
        DataArrayView
        binned data [len=0, len=5, ..., len=2, len=2]
      • bank64
        scipp
        DataArray
        (x_pixel_offset: 154,
         y_pixel_offset: 7)
        int32
        0, 0, ..., 0, 0
      • bank64_events
        scipp
        DataArray
        (event_time_zero: 330473)
        DataArrayView
        binned data [len=2, len=8, ..., len=1, len=7]
      • bank82
        scipp
        DataArray
        (x_pixel_offset: 154,
         y_pixel_offset: 7)
        int32
        0, 0, ..., 0, 0
      • scipp
        DataGroup
        (event_time_zero: 330473,
         event: 663792)
          • event_index
            scipp
            Variable
            (event_time_zero: 330473)
            int64
            0, 0, ..., 663790, 9223372036854775807
          • event_time_offset
            scipp
            Variable
            (event: 663792)
            float32
            µs
            8883.5, 9103.0, ..., 7131.6, 7331.1
          • event_time_zero
            scipp
            Variable
            (event_time_zero: 330473)
            datetime64
            ns
            2011-08-12T15:50:17.000000000, 2011-08-12T15:50:17.016659999, ..., 2011-08-12T17:22:05.085449218, 2011-08-12T17:22:05.102050781
          • event_id
            scipp
            Variable
            (event: 663792)
            int32
            102537, 102886, ..., 102960, 102948
      • bank83
        scipp
        DataArray
        (x_pixel_offset: 154,
         y_pixel_offset: 7)
        int32
        0, 0, ..., 0, 0
      • bank83_events
        scipp
        DataArray
        (event_time_zero: 330473)
        DataArrayView
        binned data [len=2, len=1, ..., len=3, len=1]
      • bank84
        scipp
        DataArray
        (x_pixel_offset: 154,
         y_pixel_offset: 7)
        int32
        0, 0, ..., 0, 0
      • scipp
        DataGroup
        (event_time_zero: 330473,
         event: 624439)
          • event_index
            scipp
            Variable
            (event_time_zero: 330473)
            int64
            0, 0, ..., 624438, 9223372036854775807
          • event_time_offset
            scipp
            Variable
            (event: 624439)
            float32
            µs
            8164.1, 4931.2, ..., 6524.7, 14206.1
          • event_time_zero
            scipp
            Variable
            (event_time_zero: 330473)
            datetime64
            ns
            2011-08-12T15:50:17.000000000, 2011-08-12T15:50:17.016659999, ..., 2011-08-12T17:22:05.085449218, 2011-08-12T17:22:05.102050781
          • event_id
            scipp
            Variable
            (event: 624439)
            int32
            105088, 105821, ..., 105403, 105275
      • collection_identifier
        str
        ()
        0
      • collection_title
        str
        ()
        No title entered
      • definition
        str
        ()
        EVENTRAW
      • duration
        scipp
        Variable
        ()
        float32
        s
        5508.0
      • end_time
        str
        ()
        2011-08-12T13:22:05-04:00
      • entry_identifier
        str
        ()
        4844
      • experiment_identifier
        str
        ()
        IPTS-2767
      • scipp
        DataGroup
        (dim_0: None,
         x_pixel_offset: 154,
         y_pixel_offset: 7,
         event_time_zero: 330473,
         event: None)
          • scipp
            DataGroup
            (dim_0: None)
              • azimuthal_angle
                scipp
                Variable
                ()
                float32
                rad
                0.0
              • bend_angle_x
                scipp
                Variable
                ()
                string
                deg
                0
              • bend_angle_y
                scipp
                Variable
                ()
                string
                deg
                0
              • coating_material
                str
                ()
                Ni/Ti
              • distance
                scipp
                Variable
                ()
                float32
                m
                -54.5
              • external_material
                str
                ()
                stainless steel
              • scipp
                DataGroup
                ()
                  • average_value
                    scipp
                    Variable
                    ()
                    float32
                    mm
                    -55.463
                  • duration
                    scipp
                    Variable
                    ()
                    float32
                    s
                    0.0
                  • effective_value
                    scipp
                    Variable
                    ()
                    float32
                    mm
                    -55.463
                  • maximum_value
                    scipp
                    Variable
                    ()
                    float32
                    mm
                    -55.463
                  • minimum_value
                    scipp
                    Variable
                    ()
                    float32
                    mm
                    -55.463
                  • requested_value
                    scipp
                    Variable
                    ()
                    float32
                    mm
                    -55.463
                  • time
                    scipp
                    Variable
                    ()
                    datetime64
                    ns
                    2011-08-12T15:50:16.784000000
                  • value
                    scipp
                    Variable
                    ()
                    float32
                    mm
                    -55.463
              • interior_atmosphere
                str
                ()
                vacuum
              • m_value
                str
                ()
                2.0
              • scipp
                DataGroup
                (dim_0: None)
                  • scipp
                    DataGroup
                    (dim_0: 6)
                      • value
                        scipp
                        Variable
                        (dim_0: 6)
                        float32
                        1.0, 0.0, ..., 1.0, 0.0
                  • scipp
                    DataGroup
                    (dim_0: 3)
                      • description
                        str
                        ()
                        x,y,z
                      • shape
                        str
                        ()
                        nxbox
                      • size
                        scipp
                        Variable
                        (dim_0: 3)
                        float32
                        m
                        0.014, 0.0515, nan
                  • scipp
                    DataGroup
                    (dim_0: 3)
                      • distance
                        scipp
                        Variable
                        (dim_0: 3)
                        float32
                        m
                        0.0, 0.0, -54.5
              • polar_angle
                scipp
                Variable
                ()
                float32
                rad
                3.1415927
              • substrate_material
                str
                ()
                borofloat glass
              • substrate_thickness_max
                scipp
                Variable
                ()
                string
                mm
                11
              • substrate_thickness_min
                scipp
                Variable
                ()
                string
                mm
                9
              • scipp
                DataGroup
                ()
                  • average_value
                    float32
                    ()
                    2.0
                  • duration
                    scipp
                    Variable
                    ()
                    float32
                    s
                    0.0
                  • effective_value
                    float32
                    ()
                    2.0
                  • maximum_value
                    float32
                    ()
                    2.0
                  • minimum_value
                    float32
                    ()
                    2.0
                  • requested_value
                    scipp
                    Variable
                    ()
                    float32
                    N
                    2.0
                  • time
                    scipp
                    Variable
                    ()
                    datetime64
                    ns
                    2011-08-12T15:50:16.800000000
                  • value
                    float32
                    ()
                    2.0
              • x_pixel_offset
                scipp
                Variable
                ()
                float32
                m
                0.0
              • y_pixel_offset
                scipp
                Variable
                ()
                float32
                m
                0.0
          • scipp
            DataGroup
            (dim_0: None)
              • azimuthal_angle
                scipp
                Variable
                ()
                float32
                rad
                0.0
              • bend_angle_x
                scipp
                Variable
                ()
                string
                deg
                0
              • bend_angle_y
                scipp
                Variable
                ()
                string
                deg
                0
              • coating_material
                str
                ()
                Ni/Ti
              • distance
                scipp
                Variable
                ()
                float32
                m
                -54.5
              • external_material
                str
                ()
                stainless steel
              • scipp
                DataGroup
                ()
                  • average_value
                    scipp
                    Variable
                    ()
                    float32
                    mm
                    -55.463
                  • duration
                    scipp
                    Variable
                    ()
                    float32
                    s
                    0.0
                  • effective_value
                    scipp
                    Variable
                    ()
                    float32
                    mm
                    -55.463
                  • maximum_value
                    scipp
                    Variable
                    ()
                    float32
                    mm
                    -55.463
                  • minimum_value
                    scipp
                    Variable
                    ()
                    float32
                    mm
                    -55.463
                  • requested_value
                    scipp
                    Variable
                    ()
                    float32
                    mm
                    -55.463
                  • time
                    scipp
                    Variable
                    ()
                    datetime64
                    ns
                    2011-08-12T15:50:16.784000000
                  • value
                    scipp
                    Variable
                    ()
                    float32
                    mm
                    -55.463
              • interior_atmosphere
                str
                ()
                vacuum
              • m_value
                str
                ()
                0.0
              • scipp
                DataGroup
                (dim_0: None)
                  • scipp
                    DataGroup
                    (dim_0: 6)
                      • value
                        scipp
                        Variable
                        (dim_0: 6)
                        float32
                        1.0, 0.0, ..., 1.0, 0.0
                  • scipp
                    DataGroup
                    (dim_0: 3)
                      • description
                        str
                        ()
                        x,y,z
                      • shape
                        str
                        ()
                        nxbox
                      • size
                        scipp
                        Variable
                        (dim_0: 3)
                        float32
                        m
                        0.014, 0.0515, nan
                  • scipp
                    DataGroup
                    (dim_0: 3)
                      • distance
                        scipp
                        Variable
                        (dim_0: 3)
                        float32
                        m
                        0.0, 0.0, -54.5
              • polar_angle
                scipp
                Variable
                ()
                float32
                rad
                3.1415927
              • substrate_material
                str
                ()
                borofloat glass
              • substrate_thickness_max
                scipp
                Variable
                ()
                string
                mm
                11
              • substrate_thickness_min
                scipp
                Variable
                ()
                string
                mm
                9
              • scipp
                DataGroup
                ()
                  • average_value
                    float32
                    ()
                    2.0
                  • duration
                    scipp
                    Variable
                    ()
                    float32
                    s
                    0.0
                  • effective_value
                    float32
                    ()
                    2.0
                  • maximum_value
                    float32
                    ()
                    2.0
                  • minimum_value
                    float32
                    ()
                    2.0
                  • requested_value
                    scipp
                    Variable
                    ()
                    float32
                    N
                    2.0
                  • time
                    scipp
                    Variable
                    ()
                    datetime64
                    ns
                    2011-08-12T15:50:16.800000000
                  • value
                    float32
                    ()
                    2.0
              • x_pixel_offset
                scipp
                Variable
                ()
                float32
                m
                0.0
              • y_pixel_offset
                scipp
                Variable
                ()
                float32
                m
                0.0
          • scipp
            DataGroup
            ()
              • frequency
                scipp
                Variable
                ()
                float32
                Hz
                60.0
              • name
                str
                ()
                Spallation Neutron Source
              • probe
                str
                ()
                neutron
              • type
                str
                ()
                Spallation Neutron Source
          • SNSdetector_calibration_id
            str
            ()
            139
          • SNSgeometry_file_name
            str
            ()
            PG3_geom_2011_02_25.xml
          • SNSnxtranslate
            str
            ()
            0.3.0
          • SNStranslation_service
            str
            ()
            3.2.3
          • scipp
            DataGroup
            (dim_0: None)
              • scipp
                DataGroup
                ()
                  • average_value
                    scipp
                    Variable
                    ()
                    float32
                    mm
                    0.0
                  • duration
                    scipp
                    Variable
                    ()
                    float32
                    s
                    0.0
                  • effective_value
                    scipp
                    Variable
                    ()
                    float32
                    mm
                    0.0
                  • maximum_value
                    scipp
                    Variable
                    ()
                    float32
                    mm
                    0.0
                  • minimum_value
                    scipp
                    Variable
                    ()
                    float32
                    mm
                    0.0
                  • requested_value
                    scipp
                    Variable
                    ()
                    float32
                    mm
                    0.0
                  • time
                    scipp
                    Variable
                    ()
                    datetime64
                    ns
                    2011-08-12T15:50:16.800000000
                  • value
                    scipp
                    Variable
                    ()
                    float32
                    mm
                    0.0
              • scipp
                DataGroup
                ()
                  • average_value
                    float32
                    ()
                    0.0
                  • duration
                    scipp
                    Variable
                    ()
                    float32
                    s
                    0.0
                  • effective_value
                    float32
                    ()
                    0.0
                  • maximum_value
                    float32
                    ()
                    0.0
                  • minimum_value
                    float32
                    ()
                    0.0
                  • requested_value
                    scipp
                    Variable
                    ()
                    float32
                    N
                    0.0
                  • time
                    scipp
                    Variable
                    ()
                    datetime64
                    ns
                    2011-08-12T15:50:16.800000000
                  • value
                    float32
                    ()
                    0.0
              • scipp
                DataGroup
                ()
                  • average_value
                    scipp
                    Variable
                    ()
                    float32
                    mm
                    10.0
                  • duration
                    scipp
                    Variable
                    ()
                    float32
                    s
                    0.0
                  • effective_value
                    scipp
                    Variable
                    ()
                    float32
                    mm
                    10.0
                  • maximum_value
                    scipp
                    Variable
                    ()
                    float32
                    mm
                    10.0
                  • minimum_value
                    scipp
                    Variable
                    ()
                    float32
                    mm
                    10.0
                  • requested_value
                    scipp
                    Variable
                    ()
                    float32
                    mm
                    10.0
                  • time
                    scipp
                    Variable
                    ()
                    datetime64
                    ns
                    2011-08-12T15:50:16.800000000
                  • value
                    scipp
                    Variable
                    ()
                    float32
                    mm
                    10.0
              • scipp
                DataGroup
                ()
                  • average_value
                    scipp
                    Variable
                    ()
                    float32
                    mm
                    5.0
                  • duration
                    scipp
                    Variable
                    ()
                    float32
                    s
                    0.0
                  • effective_value
                    scipp
                    Variable
                    ()
                    float32
                    mm
                    5.0
                  • maximum_value
                    scipp
                    Variable
                    ()
                    float32
                    mm
                    5.0
                  • minimum_value
                    scipp
                    Variable
                    ()
                    float32
                    mm
                    5.0
                  • requested_value
                    scipp
                    Variable
                    ()
                    float32
                    mm
                    5.0
                  • time
                    scipp
                    Variable
                    ()
                    datetime64
                    ns
                    2011-08-12T15:50:16.800000000
                  • value
                    scipp
                    Variable
                    ()
                    float32
                    mm
                    5.0
              • scipp
                DataGroup
                ()
                  • average_value
                    float32
                    ()
                    0.0
                  • duration
                    scipp
                    Variable
                    ()
                    float32
                    s
                    0.0
                  • effective_value
                    float32
                    ()
                    0.0
                  • maximum_value
                    float32
                    ()
                    0.0
                  • minimum_value
                    float32
                    ()
                    0.0
                  • requested_value
                    scipp
                    Variable
                    ()
                    float32
                    N
                    0.0
                  • time
                    scipp
                    Variable
                    ()
                    datetime64
                    ns
                    2011-08-12T15:50:16.800000000
                  • value
                    float32
                    ()
                    0.0
              • scipp
                DataGroup
                ()
                  • average_value
                    scipp
                    Variable
                    ()
                    float32
                    mm
                    30.0
                  • duration
                    scipp
                    Variable
                    ()
                    float32
                    s
                    0.0
                  • effective_value
                    scipp
                    Variable
                    ()
                    float32
                    mm
                    30.0
                  • maximum_value
                    scipp
                    Variable
                    ()
                    float32
                    mm
                    30.0
                  • minimum_value
                    scipp
                    Variable
                    ()
                    float32
                    mm
                    30.0
                  • requested_value
                    scipp
                    Variable
                    ()
                    float32
                    mm
                    30.0
                  • time
                    scipp
                    Variable
                    ()
                    datetime64
                    ns
                    2011-08-12T15:50:16.816000000
                  • value
                    scipp
                    Variable
                    ()
                    float32
                    mm
                    30.0
              • azimuthal_angle
                scipp
                Variable
                ()
                float32
                rad
                0.0
              • distance
                scipp
                Variable
                ()
                float32
                m
                -1.0
              • scipp
                DataGroup
                (dim_0: None)
                  • scipp
                    DataGroup
                    (dim_0: 6)
                      • value
                        scipp
                        Variable
                        (dim_0: 6)
                        float32
                        1.0, 0.0, ..., 1.0, 0.0
                  • scipp
                    DataGroup
                    (dim_0: 3)
                      • description
                        str
                        ()
                        x,y,z
                      • shape
                        str
                        ()
                        nxbox
                      • size
                        scipp
                        Variable
                        (dim_0: 3)
                        float32
                        m
                        0.01, 0.03, nan
                  • scipp
                    DataGroup
                    (dim_0: 3)
                      • distance
                        scipp
                        Variable
                        (dim_0: 3)
                        float32
                        m
                        0.0, 0.0, -1.0
              • polar_angle
                scipp
                Variable
                ()
                float32
                rad
                3.1415927
              • scipp
                DataGroup
                ()
                  • average_value
                    scipp
                    Variable
                    ()
                    float32
                    mm
                    20.0
                  • duration
                    scipp
                    Variable
                    ()
                    float32
                    s
                    0.0
                  • effective_value
                    scipp
                    Variable
                    ()
                    float32
                    mm
                    20.0
                  • maximum_value
                    scipp
                    Variable
                    ()
                    float32
                    mm
                    20.0
                  • minimum_value
                    scipp
                    Variable
                    ()
                    float32
                    mm
                    20.0
                  • requested_value
                    scipp
                    Variable
                    ()
                    float32
                    mm
                    20.0
                  • time
                    scipp
                    Variable
                    ()
                    datetime64
                    ns
                    2011-08-12T15:50:16.784000000
                  • value
                    scipp
                    Variable
                    ()
                    float32
                    mm
                    20.0
              • scipp
                DataGroup
                ()
                  • average_value
                    scipp
                    Variable
                    ()
                    float32
                    mm
                    5.0
                  • duration
                    scipp
                    Variable
                    ()
                    float32
                    s
                    0.0
                  • effective_value
                    scipp
                    Variable
                    ()
                    float32
                    mm
                    5.0
                  • maximum_value
                    scipp
                    Variable
                    ()
                    float32
                    mm
                    5.0
                  • minimum_value
                    scipp
                    Variable
                    ()
                    float32
                    mm
                    5.0
                  • requested_value
                    scipp
                    Variable
                    ()
                    float32
                    mm
                    5.0
                  • time
                    scipp
                    Variable
                    ()
                    datetime64
                    ns
                    2011-08-12T15:50:16.800000000
                  • value
                    scipp
                    Variable
                    ()
                    float32
                    mm
                    5.0
              • scipp
                DataGroup
                ()
                  • average_value
                    scipp
                    Variable
                    ()
                    float32
                    mm
                    -5.0
                  • duration
                    scipp
                    Variable
                    ()
                    float32
                    s
                    0.0
                  • effective_value
                    scipp
                    Variable
                    ()
                    float32
                    mm
                    -5.0
                  • maximum_value
                    scipp
                    Variable
                    ()
                    float32
                    mm
                    -5.0
                  • minimum_value
                    scipp
                    Variable
                    ()
                    float32
                    mm
                    -5.0
                  • requested_value
                    scipp
                    Variable
                    ()
                    float32
                    mm
                    -5.0
                  • time
                    scipp
                    Variable
                    ()
                    datetime64
                    ns
                    2011-08-12T15:50:16.784000000
                  • value
                    scipp
                    Variable
                    ()
                    float32
                    mm
                    -5.0
              • scipp
                DataGroup
                ()
                  • average_value
                    scipp
                    Variable
                    ()
                    float32
                    mm
                    -10.0
                  • duration
                    scipp
                    Variable
                    ()
                    float32
                    s
                    0.0
                  • effective_value
                    scipp
                    Variable
                    ()
                    float32
                    mm
                    -10.0
                  • maximum_value
                    scipp
                    Variable
                    ()
                    float32
                    mm
                    -10.0
                  • minimum_value
                    scipp
                    Variable
                    ()
                    float32
                    mm
                    -10.0
                  • requested_value
                    scipp
                    Variable
                    ()
                    float32
                    mm
                    -10.0
                  • time
                    scipp
                    Variable
                    ()
                    datetime64
                    ns
                    2011-08-12T15:50:16.784000000
                  • value
                    scipp
                    Variable
                    ()
                    float32
                    mm
                    -10.0
              • x_pixel_offset
                scipp
                Variable
                ()
                float32
                m
                0.0
              • y_pixel_offset
                scipp
                Variable
                ()
                float32
                m
                0.0
          • scipp
            DataGroup
            (dim_0: None,
             x_pixel_offset: 154,
             y_pixel_offset: 7)
              • local_name
                str
                ()
                F2
              • scipp
                DataGroup
                (dim_0: None)
                  • scipp
                    DataGroup
                    (dim_0: 6)
                      • value
                        scipp
                        Variable
                        (dim_0: 6)
                        float32
                        0.07520324, 0.0008634576, ..., 0.95087516, -0.024099652
                  • scipp
                    DataGroup
                    (dim_0: 3)
                      • description
                        str
                        ()
                        x,y,z
                      • shape
                        str
                        ()
                        nxbox
                      • size
                        scipp
                        Variable
                        (dim_0: 3)
                        float32
                        m
                        0.77, 0.3801, nan
                  • scipp
                    DataGroup
                    (dim_0: 3)
                      • distance
                        scipp
                        Variable
                        (dim_0: 3)
                        float32
                        m
                        3.2050142, -0.8542655, 0.67503774
              • total_counts
                int32
                ()
                456601
              • data_x_y
                scipp
                DataArray
                (x_pixel_offset: 154,
                 y_pixel_offset: 7)
                int32
                0, 0, ..., 0, 0
              • events
                scipp
                DataArray
                (x_pixel_offset: 154,
                 y_pixel_offset: 7)
                DataArrayView
                binned data [len=0, len=0, ..., len=0, len=0]
          • scipp
            DataGroup
            (dim_0: None,
             x_pixel_offset: 154,
             y_pixel_offset: 7)
              • local_name
                str
                ()
                F3
              • scipp
                DataGroup
                (dim_0: None)
                  • scipp
                    DataGroup
                    (dim_0: 6)
                      • value
                        scipp
                        Variable
                        (dim_0: 6)
                        float32
                        0.07206946, 0.0019221402, ..., 0.9885856, -0.012752413
                  • scipp
                    DataGroup
                    (dim_0: 3)
                      • description
                        str
                        ()
                        x,y,z
                      • shape
                        str
                        ()
                        nxbox
                      • size
                        scipp
                        Variable
                        (dim_0: 3)
                        float32
                        m
                        0.77, 0.3801, nan
                  • scipp
                    DataGroup
                    (dim_0: 3)
                      • distance
                        scipp
                        Variable
                        (dim_0: 3)
                        float32
                        m
                        3.3054664, -0.42925474, 0.66754323
              • total_counts
                int32
                ()
                484446
              • data_x_y
                scipp
                DataArray
                (x_pixel_offset: 154,
                 y_pixel_offset: 7)
                int32
                0, 0, ..., 0, 0
              • events
                scipp
                DataArray
                (x_pixel_offset: 154,
                 y_pixel_offset: 7)
                DataArrayView
                binned data [len=0, len=0, ..., len=0, len=0]
          • scipp
            DataGroup
            (dim_0: None,
             x_pixel_offset: 154,
             y_pixel_offset: 7)
              • local_name
                str
                ()
                F4
              • scipp
                DataGroup
                (dim_0: None)
                  • scipp
                    DataGroup
                    (dim_0: 6)
                      • value
                        scipp
                        Variable
                        (dim_0: 6)
                        float32
                        0.07762421, 0.0025745311, ..., 0.9999957, -0.0026736327
                  • scipp
                    DataGroup
                    (dim_0: 3)
                      • description
                        str
                        ()
                        x,y,z
                      • shape
                        str
                        ()
                        nxbox
                      • size
                        scipp
                        Variable
                        (dim_0: 3)
                        float32
                        m
                        0.77, 0.3801, nan
                  • scipp
                    DataGroup
                    (dim_0: 3)
                      • distance
                        scipp
                        Variable
                        (dim_0: 3)
                        float32
                        m
                        3.3375163, 0.007599, 0.6648235
              • total_counts
                int32
                ()
                465038
              • data_x_y
                scipp
                DataArray
                (x_pixel_offset: 154,
                 y_pixel_offset: 7)
                int32
                0, 0, ..., 0, 0
              • events
                scipp
                DataArray
                (x_pixel_offset: 154,
                 y_pixel_offset: 7)
                DataArrayView
                binned data [len=0, len=0, ..., len=0, len=0]
          • scipp
            DataGroup
            (dim_0: None,
             x_pixel_offset: 154,
             y_pixel_offset: 7)
              • local_name
                str
                ()
                F5
              • scipp
                DataGroup
                (dim_0: None)
                  • scipp
                    DataGroup
                    (dim_0: 6)
                      • value
                        scipp
                        Variable
                        (dim_0: 6)
                        float32
                        0.074737966, 0.0007595541, ..., 0.9876911, 0.010942041
                  • scipp
                    DataGroup
                    (dim_0: 3)
                      • description
                        str
                        ()
                        x,y,z
                      • shape
                        str
                        ()
                        nxbox
                      • size
                        scipp
                        Variable
                        (dim_0: 3)
                        float32
                        m
                        0.77, 0.3801, nan
                  • scipp
                    DataGroup
                    (dim_0: 3)
                      • distance
                        scipp
                        Variable
                        (dim_0: 3)
                        float32
                        m
                        3.3034072, 0.44297725, 0.6675825
              • total_counts
                int32
                ()
                597687
              • data_x_y
                scipp
                DataArray
                (x_pixel_offset: 154,
                 y_pixel_offset: 7)
                int32
                0, 0, ..., 0, 0
              • events
                scipp
                DataArray
                (x_pixel_offset: 154,
                 y_pixel_offset: 7)
                DataArrayView
                binned data [len=0, len=0, ..., len=0, len=0]
          • scipp
            DataGroup
            (dim_0: None,
             x_pixel_offset: 154,
             y_pixel_offset: 7)
              • local_name
                str
                ()
                F6
              • scipp
                DataGroup
                (dim_0: None)
                  • scipp
                    DataGroup
                    (dim_0: 6)
                      • value
                        scipp
                        Variable
                        (dim_0: 6)
                        float32
                        0.07553149, -0.0007277964, ..., 0.95065147, 0.02412432
                  • scipp
                    DataGroup
                    (dim_0: 3)
                      • description
                        str
                        ()
                        x,y,z
                      • shape
                        str
                        ()
                        nxbox
                      • size
                        scipp
                        Variable
                        (dim_0: 3)
                        float32
                        m
                        0.77, 0.3801, nan
                  • scipp
                    DataGroup
                    (dim_0: 3)
                      • distance
                        scipp
                        Variable
                        (dim_0: 3)
                        float32
                        m
                        3.2015195, 0.86776173, 0.67536724
              • total_counts
                int32
                ()
                619400
              • data_x_y
                scipp
                DataArray
                (x_pixel_offset: 154,
                 y_pixel_offset: 7)
                int32
                0, 0, ..., 0, 0
              • events
                scipp
                DataArray
                (x_pixel_offset: 154,
                 y_pixel_offset: 7)
                DataArrayView
                binned data [len=0, len=0, ..., len=0, len=0]
          • scipp
            DataGroup
            (dim_0: None,
             x_pixel_offset: 154,
             y_pixel_offset: 7)
              • local_name
                str
                ()
                G3
              • scipp
                DataGroup
                (dim_0: None)
                  • scipp
                    DataGroup
                    (dim_0: 6)
                      • value
                        scipp
                        Variable
                        (dim_0: 6)
                        float32
                        -0.12487066, -0.005911149, ..., 0.9997881, 0.008326013
                  • scipp
                    DataGroup
                    (dim_0: 3)
                      • description
                        str
                        ()
                        x,y,z
                      • shape
                        str
                        ()
                        nxbox
                      • size
                        scipp
                        Variable
                        (dim_0: 3)
                        float32
                        m
                        0.77, 0.3801, nan
                  • scipp
                    DataGroup
                    (dim_0: 3)
                      • distance
                        scipp
                        Variable
                        (dim_0: 3)
                        float32
                        m
                        3.1319537, -0.41684926, 1.4719385
              • total_counts
                int32
                ()
                835910
              • data_x_y
                scipp
                DataArray
                (x_pixel_offset: 154,
                 y_pixel_offset: 7)
                int32
                0, 0, ..., 0, 0
              • events
                scipp
                DataArray
                (x_pixel_offset: 154,
                 y_pixel_offset: 7)
                DataArrayView
                binned data [len=0, len=0, ..., len=0, len=0]
          • scipp
            DataGroup
            (dim_0: None,
             x_pixel_offset: 154,
             y_pixel_offset: 7)
              • local_name
                str
                ()
                G4
              • scipp
                DataGroup
                (dim_0: None)
                  • scipp
                    DataGroup
                    (dim_0: 6)
                      • value
                        scipp
                        Variable
                        (dim_0: 6)
                        float32
                        -0.11986005, -0.005193665, ..., 0.99983066, 0.0030392138
                  • scipp
                    DataGroup
                    (dim_0: 3)
                      • description
                        str
                        ()
                        x,y,z
                      • shape
                        str
                        ()
                        nxbox
                      • size
                        scipp
                        Variable
                        (dim_0: 3)
                        float32
                        m
                        0.77, 0.3801, nan
                  • scipp
                    DataGroup
                    (dim_0: 3)
                      • distance
                        scipp
                        Variable
                        (dim_0: 3)
                        float32
                        m
                        3.1185687, -0.0002555, 1.470097
              • total_counts
                int32
                ()
                719846
              • data_x_y
                scipp
                DataArray
                (x_pixel_offset: 154,
                 y_pixel_offset: 7)
                int32
                0, 0, ..., 0, 0
              • events
                scipp
                DataArray
                (x_pixel_offset: 154,
                 y_pixel_offset: 7)
                DataArrayView
                binned data [len=0, len=0, ..., len=0, len=0]
          • scipp
            DataGroup
            (dim_0: None,
             x_pixel_offset: 154,
             y_pixel_offset: 7)
              • local_name
                str
                ()
                H3
              • scipp
                DataGroup
                (dim_0: None)
                  • scipp
                    DataGroup
                    (dim_0: 6)
                      • value
                        scipp
                        Variable
                        (dim_0: 6)
                        float32
                        -0.34058982, -0.007132651, ..., 0.99986297, 0.0016174228
                  • scipp
                    DataGroup
                    (dim_0: 3)
                      • description
                        str
                        ()
                        x,y,z
                      • shape
                        str
                        ()
                        nxbox
                      • size
                        scipp
                        Variable
                        (dim_0: 3)
                        float32
                        m
                        0.77, 0.3801, nan
                  • scipp
                    DataGroup
                    (dim_0: 3)
                      • distance
                        scipp
                        Variable
                        (dim_0: 3)
                        float32
                        m
                        2.9351792, -0.41630125, 2.2435923
              • total_counts
                int32
                ()
                605641
              • data_x_y
                scipp
                DataArray
                (x_pixel_offset: 154,
                 y_pixel_offset: 7)
                int32
                0, 0, ..., 0, 0
              • events
                scipp
                DataArray
                (x_pixel_offset: 154,
                 y_pixel_offset: 7)
                DataArrayView
                binned data [len=0, len=0, ..., len=0, len=0]
          • scipp
            DataGroup
            (dim_0: None,
             x_pixel_offset: 154,
             y_pixel_offset: 7)
              • local_name
                str
                ()
                H4
              • scipp
                DataGroup
                (dim_0: None)
                  • scipp
                    DataGroup
                    (dim_0: 6)
                      • value
                        scipp
                        Variable
                        (dim_0: 6)
                        float32
                        -0.3371856, -0.005633195, ..., 0.9998946, 0.0007914557
                  • scipp
                    DataGroup
                    (dim_0: 3)
                      • description
                        str
                        ()
                        x,y,z
                      • shape
                        str
                        ()
                        nxbox
                      • size
                        scipp
                        Variable
                        (dim_0: 3)
                        float32
                        m
                        0.77, 0.3801, nan
                  • scipp
                    DataGroup
                    (dim_0: 3)
                      • distance
                        scipp
                        Variable
                        (dim_0: 3)
                        float32
                        m
                        2.9297032, -0.00782325, 2.243953
              • total_counts
                int32
                ()
                719502
              • data_x_y
                scipp
                DataArray
                (x_pixel_offset: 154,
                 y_pixel_offset: 7)
                int32
                0, 0, ..., 0, 0
              • events
                scipp
                DataArray
                (x_pixel_offset: 154,
                 y_pixel_offset: 7)
                DataArrayView
                binned data [len=0, len=0, ..., len=0, len=0]
          • scipp
            DataGroup
            (dim_0: None,
             x_pixel_offset: 154,
             y_pixel_offset: 7)
              • local_name
                str
                ()
                I4
              • scipp
                DataGroup
                (dim_0: None)
                  • scipp
                    DataGroup
                    (dim_0: 6)
                      • value
                        scipp
                        Variable
                        (dim_0: 6)
                        float32
                        -0.52433485, -0.0075674476, ..., 0.9999132, 0.0120967375
                  • scipp
                    DataGroup
                    (dim_0: 3)
                      • description
                        str
                        ()
                        x,y,z
                      • shape
                        str
                        ()
                        nxbox
                      • size
                        scipp
                        Variable
                        (dim_0: 3)
                        float32
                        m
                        0.77, 0.3801, nan
                  • scipp
                    DataGroup
                    (dim_0: 3)
                      • distance
                        scipp
                        Variable
                        (dim_0: 3)
                        float32
                        m
                        2.5749183, -0.0123765, 2.939976
              • total_counts
                int32
                ()
                619712
              • data_x_y
                scipp
                DataArray
                (x_pixel_offset: 154,
                 y_pixel_offset: 7)
                int32
                0, 0, ..., 0, 0
              • events
                scipp
                DataArray
                (x_pixel_offset: 154,
                 y_pixel_offset: 7)
                DataArrayView
                binned data [len=0, len=0, ..., len=0, len=0]
          • scipp
            DataGroup
            (dim_0: None,
             x_pixel_offset: 154,
             y_pixel_offset: 7,
             event_time_zero: 330473,
             event: 513380)
              • local_name
                str
                ()
                J4
              • scipp
                DataGroup
                (dim_0: None)
                  • scipp
                    DataGroup
                    (dim_0: 6)
                      • value
                        scipp
                        Variable
                        (dim_0: 6)
                        float32
                        -0.68827075, 0.0023438812, ..., 0.99987054, -0.012655793
                  • scipp
                    DataGroup
                    (dim_0: 3)
                      • description
                        str
                        ()
                        x,y,z
                      • shape
                        str
                        ()
                        nxbox
                      • size
                        scipp
                        Variable
                        (dim_0: 3)
                        float32
                        m
                        0.77, 0.3801, nan
                  • scipp
                    DataGroup
                    (dim_0: 3)
                      • distance
                        scipp
                        Variable
                        (dim_0: 3)
                        float32
                        m
                        2.078632, -0.0137955, 3.5672722
              • total_counts
                int32
                ()
                513380
              • data_x_y
                scipp
                DataArray
                (x_pixel_offset: 154,
                 y_pixel_offset: 7)
                int32
                0, 0, ..., 0, 0
              • scipp
                DataGroup
                (event_time_zero: 330473,
                 event: 513380)
                  • event_index
                    scipp
                    Variable
                    (event_time_zero: 330473)
                    int64
                    0, 0, ..., 9223372036854775807, 9223372036854775807
                  • event_time_offset
                    scipp
                    Variable
                    (event: 513380)
                    float32
                    µs
                    5906.3, 6189.3, ..., 10358.8, 11654.9
                  • event_time_zero
                    scipp
                    Variable
                    (event_time_zero: 330473)
                    datetime64
                    ns
                    2011-08-12T15:50:17.000000000, 2011-08-12T15:50:17.016659999, ..., 2011-08-12T17:22:05.085449218, 2011-08-12T17:22:05.102050781
                  • event_id
                    scipp
                    Variable
                    (event: 513380)
                    int32
                    230254, 231027, ..., 230834, 230571
          • scipp
            DataGroup
            (dim_0: None,
             x_pixel_offset: 154,
             y_pixel_offset: 7)
              • local_name
                str
                ()
                B2
              • scipp
                DataGroup
                (dim_0: None)
                  • scipp
                    DataGroup
                    (dim_0: 6)
                      • value
                        scipp
                        Variable
                        (dim_0: 6)
                        float32
                        0.91311646, -0.0018039594, ..., 0.9504342, -0.2832085
                  • scipp
                    DataGroup
                    (dim_0: 3)
                      • description
                        str
                        ()
                        x,y,z
                      • shape
                        str
                        ()
                        nxbox
                      • size
                        scipp
                        Variable
                        (dim_0: 3)
                        float32
                        m
                        0.77, 0.3801, nan
                  • scipp
                    DataGroup
                    (dim_0: 3)
                      • distance
                        scipp
                        Variable
                        (dim_0: 3)
                        float32
                        m
                        1.544676, -0.8569665, -1.9281462
              • total_counts
                int32
                ()
                1383144
              • data_x_y
                scipp
                DataArray
                (x_pixel_offset: 154,
                 y_pixel_offset: 7)
                int32
                0, 0, ..., 0, 0
              • events
                scipp
                DataArray
                (x_pixel_offset: 154,
                 y_pixel_offset: 7)
                DataArrayView
                binned data [len=0, len=0, ..., len=0, len=0]
          • scipp
            DataGroup
            (dim_0: None,
             x_pixel_offset: 154,
             y_pixel_offset: 7)
              • local_name
                str
                ()
                B3
              • scipp
                DataGroup
                (dim_0: None)
                  • scipp
                    DataGroup
                    (dim_0: 6)
                      • value
                        scipp
                        Variable
                        (dim_0: 6)
                        float32
                        0.91298234, -0.0015865297, ..., 0.98713416, -0.14533475
                  • scipp
                    DataGroup
                    (dim_0: 3)
                      • description
                        str
                        ()
                        x,y,z
                      • shape
                        str
                        ()
                        nxbox
                      • size
                        scipp
                        Variable
                        (dim_0: 3)
                        float32
                        m
                        0.77, 0.3801, nan
                  • scipp
                    DataGroup
                    (dim_0: 3)
                      • distance
                        scipp
                        Variable
                        (dim_0: 3)
                        float32
                        m
                        1.586625, -0.43086874, -2.0230145
              • total_counts
                int32
                ()
                1003546
              • data_x_y
                scipp
                DataArray
                (x_pixel_offset: 154,
                 y_pixel_offset: 7)
                int32
                0, 0, ..., 0, 0
              • events
                scipp
                DataArray
                (x_pixel_offset: 154,
                 y_pixel_offset: 7)
                DataArrayView
                binned data [len=0, len=0, ..., len=0, len=0]
          • scipp
            DataGroup
            (dim_0: None,
             x_pixel_offset: 154,
             y_pixel_offset: 7)
              • local_name
                str
                ()
                B4
              • scipp
                DataGroup
                (dim_0: None)
                  • scipp
                    DataGroup
                    (dim_0: 6)
                      • value
                        scipp
                        Variable
                        (dim_0: 6)
                        float32
                        0.912612, -4.732385e-05, ..., 0.99999857, 0.0015598646
                  • scipp
                    DataGroup
                    (dim_0: 3)
                      • description
                        str
                        ()
                        x,y,z
                      • shape
                        str
                        ()
                        nxbox
                      • size
                        scipp
                        Variable
                        (dim_0: 3)
                        float32
                        m
                        0.77, 0.3801, nan
                  • scipp
                    DataGroup
                    (dim_0: 3)
                      • distance
                        scipp
                        Variable
                        (dim_0: 3)
                        float32
                        m
                        1.599787, 0.004278, -2.0524123
              • total_counts
                int32
                ()
                1123324
              • data_x_y
                scipp
                DataArray
                (x_pixel_offset: 154,
                 y_pixel_offset: 7)
                int32
                0, 0, ..., 0, 0
              • events
                scipp
                DataArray
                (x_pixel_offset: 154,
                 y_pixel_offset: 7)
                DataArrayView
                binned data [len=0, len=0, ..., len=0, len=0]
          • scipp
            DataGroup
            (dim_0: None,
             x_pixel_offset: 154,
             y_pixel_offset: 7)
              • local_name
                str
                ()
                C2
              • scipp
                DataGroup
                (dim_0: None)
                  • scipp
                    DataGroup
                    (dim_0: 6)
                      • value
                        scipp
                        Variable
                        (dim_0: 6)
                        float32
                        0.7532727, -0.0017466473, ..., 0.94824696, -0.2380973
                  • scipp
                    DataGroup
                    (dim_0: 3)
                      • description
                        str
                        ()
                        x,y,z
                      • shape
                        str
                        ()
                        nxbox
                      • size
                        scipp
                        Variable
                        (dim_0: 3)
                        float32
                        m
                        0.77, 0.3801, nan
                  • scipp
                    DataGroup
                    (dim_0: 3)
                      • distance
                        scipp
                        Variable
                        (dim_0: 3)
                        float32
                        m
                        2.1918738, -0.84933674, -1.435612
              • total_counts
                int32
                ()
                991345
              • data_x_y
                scipp
                DataArray
                (x_pixel_offset: 154,
                 y_pixel_offset: 7)
                int32
                0, 0, ..., 0, 0
              • events
                scipp
                DataArray
                (x_pixel_offset: 154,
                 y_pixel_offset: 7)
                DataArrayView
                binned data [len=0, len=0, ..., len=0, len=0]
          • scipp
            DataGroup
            (dim_0: None,
             x_pixel_offset: 154,
             y_pixel_offset: 7)
              • local_name
                str
                ()
                C3
              • scipp
                DataGroup
                (dim_0: None)
                  • scipp
                    DataGroup
                    (dim_0: 6)
                      • value
                        scipp
                        Variable
                        (dim_0: 6)
                        float32
                        0.7523526, -0.0001120215, ..., 0.9868775, -0.12141007
                  • scipp
                    DataGroup
                    (dim_0: 3)
                      • description
                        str
                        ()
                        x,y,z
                      • shape
                        str
                        ()
                        nxbox
                      • size
                        scipp
                        Variable
                        (dim_0: 3)
                        float32
                        m
                        0.77, 0.3801, nan
                  • scipp
                    DataGroup
                    (dim_0: 3)
                      • distance
                        scipp
                        Variable
                        (dim_0: 3)
                        float32
                        m
                        2.2594852, -0.4253265, -1.5125445
              • total_counts
                int32
                ()
                1050733
              • data_x_y
                scipp
                DataArray
                (x_pixel_offset: 154,
                 y_pixel_offset: 7)
                int32
                0, 0, ..., 0, 0
              • events
                scipp
                DataArray
                (x_pixel_offset: 154,
                 y_pixel_offset: 7)
                DataArrayView
                binned data [len=0, len=0, ..., len=0, len=0]
          • scipp
            DataGroup
            (dim_0: None,
             x_pixel_offset: 154,
             y_pixel_offset: 7)
              • local_name
                str
                ()
                C4
              • scipp
                DataGroup
                (dim_0: None)
                  • scipp
                    DataGroup
                    (dim_0: 6)
                      • value
                        scipp
                        Variable
                        (dim_0: 6)
                        float32
                        0.7523935, -0.0016688275, ..., 0.99998444, -0.0029054708
                  • scipp
                    DataGroup
                    (dim_0: 3)
                      • description
                        str
                        ()
                        x,y,z
                      • shape
                        str
                        ()
                        nxbox
                      • size
                        scipp
                        Variable
                        (dim_0: 3)
                        float32
                        m
                        0.77, 0.3801, nan
                  • scipp
                    DataGroup
                    (dim_0: 3)
                      • distance
                        scipp
                        Variable
                        (dim_0: 3)
                        float32
                        m
                        2.283286, 0.011741, -1.5391445
              • total_counts
                int32
                ()
                933319
              • data_x_y
                scipp
                DataArray
                (x_pixel_offset: 154,
                 y_pixel_offset: 7)
                int32
                0, 0, ..., 0, 0
              • events
                scipp
                DataArray
                (x_pixel_offset: 154,
                 y_pixel_offset: 7)
                DataArrayView
                binned data [len=0, len=0, ..., len=0, len=0]
          • scipp
            DataGroup
            (dim_0: None,
             x_pixel_offset: 154,
             y_pixel_offset: 7)
              • local_name
                str
                ()
                D2
              • scipp
                DataGroup
                (dim_0: None)
                  • scipp
                    DataGroup
                    (dim_0: 6)
                      • value
                        scipp
                        Variable
                        (dim_0: 6)
                        float32
                        0.5424301, 0.0032140214, ..., 0.9512337, -0.16988519
                  • scipp
                    DataGroup
                    (dim_0: 3)
                      • description
                        str
                        ()
                        x,y,z
                      • shape
                        str
                        ()
                        nxbox
                      • size
                        scipp
                        Variable
                        (dim_0: 3)
                        float32
                        m
                        0.77, 0.3801, nan
                  • scipp
                    DataGroup
                    (dim_0: 3)
                      • distance
                        scipp
                        Variable
                        (dim_0: 3)
                        float32
                        m
                        2.712514, -0.8528865, -0.8270292
              • total_counts
                int32
                ()
                1145925
              • data_x_y
                scipp
                DataArray
                (x_pixel_offset: 154,
                 y_pixel_offset: 7)
                int32
                0, 0, ..., 0, 0
              • events
                scipp
                DataArray
                (x_pixel_offset: 154,
                 y_pixel_offset: 7)
                DataArrayView
                binned data [len=0, len=0, ..., len=0, len=0]
          • scipp
            DataGroup
            (dim_0: None,
             x_pixel_offset: 154,
             y_pixel_offset: 7)
              • local_name
                str
                ()
                D3
              • scipp
                DataGroup
                (dim_0: None)
                  • scipp
                    DataGroup
                    (dim_0: 6)
                      • value
                        scipp
                        Variable
                        (dim_0: 6)
                        float32
                        0.54071504, -0.0031628278, ..., 0.9870752, -0.084011525
                  • scipp
                    DataGroup
                    (dim_0: 3)
                      • description
                        str
                        ()
                        x,y,z
                      • shape
                        str
                        ()
                        nxbox
                      • size
                        scipp
                        Variable
                        (dim_0: 3)
                        float32
                        m
                        0.77, 0.3801, nan
                  • scipp
                    DataGroup
                    (dim_0: 3)
                      • distance
                        scipp
                        Variable
                        (dim_0: 3)
                        float32
                        m
                        2.7984772, -0.4272105, -0.8828877
              • total_counts
                int32
                ()
                602001
              • data_x_y
                scipp
                DataArray
                (x_pixel_offset: 154,
                 y_pixel_offset: 7)
                int32
                0, 0, ..., 0, 0
              • events
                scipp
                DataArray
                (x_pixel_offset: 154,
                 y_pixel_offset: 7)
                DataArrayView
                binned data [len=0, len=0, ..., len=0, len=0]
          • scipp
            DataGroup
            (dim_0: None,
             x_pixel_offset: 154,
             y_pixel_offset: 7)
              • local_name
                str
                ()
                D4
              • scipp
                DataGroup
                (dim_0: None)
                  • scipp
                    DataGroup
                    (dim_0: 6)
                      • value
                        scipp
                        Variable
                        (dim_0: 6)
                        float32
                        0.54180133, -0.0009649804, ..., 0.9999995, 0.0009414952
                  • scipp
                    DataGroup
                    (dim_0: 3)
                      • description
                        str
                        ()
                        x,y,z
                      • shape
                        str
                        ()
                        nxbox
                      • size
                        scipp
                        Variable
                        (dim_0: 3)
                        float32
                        m
                        0.77, 0.3801, nan
                  • scipp
                    DataGroup
                    (dim_0: 3)
                      • distance
                        scipp
                        Variable
                        (dim_0: 3)
                        float32
                        m
                        2.828899, 0.00748275, -0.9024227
              • total_counts
                int32
                ()
                1123669
              • data_x_y
                scipp
                DataArray
                (x_pixel_offset: 154,
                 y_pixel_offset: 7)
                int32
                0, 0, ..., 0, 0
              • events
                scipp
                DataArray
                (x_pixel_offset: 154,
                 y_pixel_offset: 7)
                DataArrayView
                binned data [len=0, len=0, ..., len=0, len=0]
          • scipp
            DataGroup
            (dim_0: None,
             x_pixel_offset: 154,
             y_pixel_offset: 7,
             event_time_zero: 330473,
             event: 663792)
              • local_name
                str
                ()
                E2
              • scipp
                DataGroup
                (dim_0: None)
                  • scipp
                    DataGroup
                    (dim_0: 6)
                      • value
                        scipp
                        Variable
                        (dim_0: 6)
                        float32
                        0.30577186, 0.0016155625, ..., 0.9530574, -0.09404948
                  • scipp
                    DataGroup
                    (dim_0: 3)
                      • description
                        str
                        ()
                        x,y,z
                      • shape
                        str
                        ()
                        nxbox
                      • size
                        scipp
                        Variable
                        (dim_0: 3)
                        float32
                        m
                        0.77, 0.3801, nan
                  • scipp
                    DataGroup
                    (dim_0: 3)
                      • distance
                        scipp
                        Variable
                        (dim_0: 3)
                        float32
                        m
                        3.0537205, -0.8558485, -0.10468375
              • total_counts
                int32
                ()
                663792
              • data_x_y
                scipp
                DataArray
                (x_pixel_offset: 154,
                 y_pixel_offset: 7)
                int32
                0, 0, ..., 0, 0
              • scipp
                DataGroup
                (event_time_zero: 330473,
                 event: 663792)
                  • event_index
                    scipp
                    Variable
                    (event_time_zero: 330473)
                    int64
                    0, 0, ..., 663790, 9223372036854775807
                  • event_time_offset
                    scipp
                    Variable
                    (event: 663792)
                    float32
                    µs
                    8883.5, 9103.0, ..., 7131.6, 7331.1
                  • event_time_zero
                    scipp
                    Variable
                    (event_time_zero: 330473)
                    datetime64
                    ns
                    2011-08-12T15:50:17.000000000, 2011-08-12T15:50:17.016659999, ..., 2011-08-12T17:22:05.085449218, 2011-08-12T17:22:05.102050781
                  • event_id
                    scipp
                    Variable
                    (event: 663792)
                    int32
                    102537, 102886, ..., 102960, 102948
          • scipp
            DataGroup
            (dim_0: None,
             x_pixel_offset: 154,
             y_pixel_offset: 7)
              • local_name
                str
                ()
                E3
              • scipp
                DataGroup
                (dim_0: None)
                  • scipp
                    DataGroup
                    (dim_0: 6)
                      • value
                        scipp
                        Variable
                        (dim_0: 6)
                        float32
                        0.30549735, -0.002963881, ..., 0.9888769, -0.04263911
                  • scipp
                    DataGroup
                    (dim_0: 3)
                      • description
                        str
                        ()
                        x,y,z
                      • shape
                        str
                        ()
                        nxbox
                      • size
                        scipp
                        Variable
                        (dim_0: 3)
                        float32
                        m
                        0.77, 0.3801, nan
                  • scipp
                    DataGroup
                    (dim_0: 3)
                      • distance
                        scipp
                        Variable
                        (dim_0: 3)
                        float32
                        m
                        3.1493595, -0.42939225, -0.13501576
              • total_counts
                int32
                ()
                644580
              • data_x_y
                scipp
                DataArray
                (x_pixel_offset: 154,
                 y_pixel_offset: 7)
                int32
                0, 0, ..., 0, 0
              • events
                scipp
                DataArray
                (x_pixel_offset: 154,
                 y_pixel_offset: 7)
                DataArrayView
                binned data [len=0, len=0, ..., len=0, len=0]
          • scipp
            DataGroup
            (dim_0: None,
             x_pixel_offset: 154,
             y_pixel_offset: 7,
             event_time_zero: 330473,
             event: 624439)
              • local_name
                str
                ()
                E4
              • scipp
                DataGroup
                (dim_0: None)
                  • scipp
                    DataGroup
                    (dim_0: 6)
                      • value
                        scipp
                        Variable
                        (dim_0: 6)
                        float32
                        0.30450308, -0.0036800236, ..., 0.99995583, 0.006138266
                  • scipp
                    DataGroup
                    (dim_0: 3)
                      • description
                        str
                        ()
                        x,y,z
                      • shape
                        str
                        ()
                        nxbox
                      • size
                        scipp
                        Variable
                        (dim_0: 3)
                        float32
                        m
                        0.77, 0.3801, nan
                  • scipp
                    DataGroup
                    (dim_0: 3)
                      • distance
                        scipp
                        Variable
                        (dim_0: 3)
                        float32
                        m
                        3.1805677, 0.00451375, -0.146255
              • total_counts
                int32
                ()
                624439
              • data_x_y
                scipp
                DataArray
                (x_pixel_offset: 154,
                 y_pixel_offset: 7)
                int32
                0, 0, ..., 0, 0
              • scipp
                DataGroup
                (event_time_zero: 330473,
                 event: 624439)
                  • event_index
                    scipp
                    Variable
                    (event_time_zero: 330473)
                    int64
                    0, 0, ..., 624438, 9223372036854775807
                  • event_time_offset
                    scipp
                    Variable
                    (event: 624439)
                    float32
                    µs
                    8164.1, 4931.2, ..., 6524.7, 14206.1
                  • event_time_zero
                    scipp
                    Variable
                    (event_time_zero: 330473)
                    datetime64
                    ns
                    2011-08-12T15:50:17.000000000, 2011-08-12T15:50:17.016659999, ..., 2011-08-12T17:22:05.085449218, 2011-08-12T17:22:05.102050781
                  • event_id
                    scipp
                    Variable
                    (event: 624439)
                    int32
                    105088, 105821, ..., 105403, 105275
          • beamline
            str
            ()
            11A
          • scipp
            DataGroup
            ()
              • distance
                scipp
                Variable
                ()
                float64
                m
                6.647418
          • scipp
            DataGroup
            ()
              • distance
                scipp
                Variable
                ()
                float64
                m
                7.899603
          • scipp
            DataGroup
            ()
              • distance
                scipp
                Variable
                ()
                float64
                m
                49.975666
          • scipp
            DataGroup
            ()
              • distance
                scipp
                Variable
                ()
                float32
                m
                -60.0
              • poison_depth
                scipp
                Variable
                ()
                float32
                cm
                2.5
              • poison_material
                str
                ()
                Gd
              • temperature
                scipp
                Variable
                ()
                float32
                K
                20.0
              • type
                str
                ()
                H2, supercritical
          • name
            str
            ()
            POWGEN
          • scipp
            DataGroup
            (dim_0: None)
              • azimuthal_angle
                scipp
                Variable
                ()
                float32
                rad
                0.0
              • bend_angle_x
                scipp
                Variable
                ()
                string
                deg
                0
              • bend_angle_y
                scipp
                Variable
                ()
                string
                deg
                0
              • coating_material
                str
                ()
                Ni/Ti
              • distance
                scipp
                Variable
                ()
                float32
                m
                -25.5
              • external_material
                str
                ()
                stainless steel
              • interior_atmosphere
                str
                ()
                vacuum
              • m_value
                str
                ()
                2.0
              • scipp
                DataGroup
                (dim_0: None)
                  • scipp
                    DataGroup
                    (dim_0: 6)
                      • value
                        scipp
                        Variable
                        (dim_0: 6)
                        float32
                        1.0, 0.0, ..., 1.0, 0.0
                  • scipp
                    DataGroup
                    (dim_0: 3)
                      • description
                        str
                        ()
                        x,y,z
                      • shape
                        str
                        ()
                        nxbox
                      • size
                        scipp
                        Variable
                        (dim_0: 3)
                        float32
                        m
                        0.014, 0.086, nan
                  • scipp
                    DataGroup
                    (dim_0: 3)
                      • distance
                        scipp
                        Variable
                        (dim_0: 3)
                        float32
                        m
                        0.0, 0.0, -25.5
              • polar_angle
                scipp
                Variable
                ()
                float32
                rad
                3.1415927
              • substrate_material
                str
                ()
                borofloat glass
              • substrate_thickness_max
                scipp
                Variable
                ()
                string
                mm
                11
              • substrate_thickness_min
                scipp
                Variable
                ()
                string
                mm
                9
              • x_pixel_offset
                scipp
                Variable
                ()
                float32
                m
                0.0
              • y_pixel_offset
                scipp
                Variable
                ()
                float32
                m
                0.0
          • scipp
            DataGroup
            (dim_0: None)
              • azimuthal_angle
                scipp
                Variable
                ()
                float32
                rad
                0.0
              • bend_angle_x
                scipp
                Variable
                ()
                string
                deg
                0
              • bend_angle_y
                scipp
                Variable
                ()
                string
                deg
                0
              • coating_material
                str
                ()
                Ni/Ti
              • distance
                scipp
                Variable
                ()
                float32
                m
                -47.5
              • external_material
                str
                ()
                stainless steel
              • interior_atmosphere
                str
                ()
                vacuum
              • m_value
                str
                ()
                2.0
              • scipp
                DataGroup
                (dim_0: None)
                  • scipp
                    DataGroup
                    (dim_0: 6)
                      • value
                        scipp
                        Variable
                        (dim_0: 6)
                        float32
                        1.0, 0.0, ..., 1.0, 0.0
                  • scipp
                    DataGroup
                    (dim_0: 3)
                      • description
                        str
                        ()
                        x,y,z
                      • shape
                        str
                        ()
                        nxbox
                      • size
                        scipp
                        Variable
                        (dim_0: 3)
                        float32
                        m
                        0.014, 0.0725, nan
                  • scipp
                    DataGroup
                    (dim_0: 3)
                      • distance
                        scipp
                        Variable
                        (dim_0: 3)
                        float32
                        m
                        0.0, 0.0, -47.5
              • polar_angle
                scipp
                Variable
                ()
                float32
                rad
                3.1415927
              • substrate_material
                str
                ()
                borofloat glass
              • substrate_thickness_max
                scipp
                Variable
                ()
                string
                mm
                11
              • substrate_thickness_min
                scipp
                Variable
                ()
                string
                mm
                9
              • x_pixel_offset
                scipp
                Variable
                ()
                float32
                m
                0.0
              • y_pixel_offset
                scipp
                Variable
                ()
                float32
                m
                0.0
      • scipp
        DataGroup
        (time_of_flight: 200001)
          • mode
            str
            ()
            monitor
          • data
            scipp
            DataArray
            (time_of_flight: 200001)
            int32
            25, 10, ..., 0, 0
      • notes
        str
        ()
        NONE
      • proton_charge
        scipp
        Variable
        ()
        float64
        pC
        4219034050530.0
      • raw_frames
        int32
        ()
        330473
      • run_number
        str
        ()
        4844
      • scipp
        DataGroup
        ()
          • changer_position
            str
            ()
            NONE
          • holder
            str
            ()
            NONE
          • identifier
            str
            ()
            NONE
          • name
            str
            ()
            LaB6
          • nature
            str
            ()
            NONE
      • start_time
        str
        ()
        2011-08-12T11:50:17-04:00
      • title
        str
        ()
        diamond cw0.533 4.22e12 60Hz [10x30]
      • total_counts
        int32
        ()
        17926980
      • total_uncounted_counts
        int32
        ()
        0
      • scipp
        DataGroup
        ()
          • facility_user_id
            str
            ()
            HPJ
          • name
            str
            ()
            HPJ
          • role
            str
            ()
            E
      • scipp
        DataGroup
        ()
          • facility_user_id
            str
            ()
            3AH
          • name
            str
            ()
            3AH
          • role
            str
            ()
            P
      • scipp
        DataGroup
        ()
          • facility_user_id
            str
            ()
            OG6
          • name
            str
            ()
            OG6
          • role
            str
            ()
            E
      • scipp
        DataGroup
        ()
          • facility_user_id
            str
            ()
            2IH
          • name
            str
            ()
            2IH
          • role
            str
            ()
            E

snx.load supports selecting part of a file to load:

[3]:
bank102 = snx.load(filename, root='entry/bank102')
bank102
[3]:
Show/Hide data repr Show/Hide attributes
scipp.DataArray (6.09 KB)
    • x_pixel_offset: 154
    • y_pixel_offset: 7
    • x_pixel_offset
      (x_pixel_offset)
      float32
      m
      -0.3825, -0.3775, ..., 0.3775, 0.3825
      Values:
      array([-0.3825, -0.3775, -0.3725, -0.3675, -0.3625, -0.3575, -0.3525, -0.3475, -0.3425, -0.3375, -0.3325, -0.3275, -0.3225, -0.3175, -0.3125, -0.3075, -0.3025, -0.2975, -0.2925, -0.2875, -0.2825, -0.2775, -0.2725, -0.2675, -0.2625, -0.2575, -0.2525, -0.2475, -0.2425, -0.2375, -0.2325, -0.2275, -0.2225, -0.2175, -0.2125, -0.2075, -0.2025, -0.1975, -0.1925, -0.1875, -0.1825, -0.1775, -0.1725, -0.1675, -0.1625, -0.1575, -0.1525, -0.1475, -0.1425, -0.1375, -0.1325, -0.1275, -0.1225, -0.1175, -0.1125, -0.1075, -0.1025, -0.0975, -0.0925, -0.0875, -0.0825, -0.0775, -0.0725, -0.0675, -0.0625, -0.0575, -0.0525, -0.0475, -0.0425, -0.0375, -0.0325, -0.0275, -0.0225, -0.0175, -0.0125, -0.0075, -0.0025, 0.0025, 0.0075, 0.0125, 0.0175, 0.0225, 0.0275, 0.0325, 0.0375, 0.0425, 0.0475, 0.0525, 0.0575, 0.0625, 0.0675, 0.0725, 0.0775, 0.0825, 0.0875, 0.0925, 0.0975, 0.1025, 0.1075, 0.1125, 0.1175, 0.1225, 0.1275, 0.1325, 0.1375, 0.1425, 0.1475, 0.1525, 0.1575, 0.1625, 0.1675, 0.1725, 0.1775, 0.1825, 0.1875, 0.1925, 0.1975, 0.2025, 0.2075, 0.2125, 0.2175, 0.2225, 0.2275, 0.2325, 0.2375, 0.2425, 0.2475, 0.2525, 0.2575, 0.2625, 0.2675, 0.2725, 0.2775, 0.2825, 0.2875, 0.2925, 0.2975, 0.3025, 0.3075, 0.3125, 0.3175, 0.3225, 0.3275, 0.3325, 0.3375, 0.3425, 0.3475, 0.3525, 0.3575, 0.3625, 0.3675, 0.3725, 0.3775, 0.3825], dtype=float32)
    • y_pixel_offset
      (y_pixel_offset)
      float32
      m
      -0.1629, -0.1086, ..., 0.1086, 0.1629
      Values:
      array([-0.1629, -0.1086, -0.0543, 0. , 0.0543, 0.1086, 0.1629], dtype=float32)
    • (x_pixel_offset, y_pixel_offset)
      int32
      0, 0, ..., 0, 0
      Values:
      array([[ 0, 0, 0, ..., 0, 0, 0], [340, 259, 191, ..., 118, 110, 94], [464, 527, 401, ..., 193, 160, 151], ..., [ 0, 0, 0, ..., 0, 0, 0], [ 0, 0, 0, ..., 0, 0, 0], [ 0, 0, 0, ..., 0, 0, 0]], dtype=int32)

This is a simpler and less powerful version of the interface described below.

Opening files#

It is often useful to only load part of a file or inspecting the file structure without loading any data. ScippNexus provides an interface that is similar to h5py for this purpose.

We first need to open the file using snx.File. Wherever possible this should be done using a context manager as follows:

[4]:
import scippnexus as snx

with snx.File(filename) as f:
    print(list(f.keys()))
['entry']

Unfortunately working with a context manager in a Jupyter Notebook is cumbersome, so for the following we open the file directly instead:

[5]:
f = snx.File(filename)

Loading groups and datasets#

This proton_charge group we “navigated” to above is an NXlog, which typically contains 1-D data with a time axis. Since ScippNexus knows about NXlog, it knows how to identify its shape:

[9]:
proton_charge.shape
[9]:
(330473,)

Note:

This is in contrast to plain HDF5 where groups do not have a shape. Note that not all NeXus classes have a defined shape.

We read the NXlog from the file using the slicing notation. To read the entire group, use ellipses (or an empty tuple):

[10]:
proton_charge[...]
[10]:
Show/Hide data repr Show/Hide attributes
scipp.DataArray (5.04 MB)
    • time: 330473
    • average_value
      ()
      float64
      pC
      12766652.799260454
      σ = 5061670.635363746
      Values:
      array(12766652.79926045)

      Variances (σ²):
      array(2.56205096e+13)
    • description
      ()
      string
      description
      Values:
      'description'
    • duration
      ()
      float32
      s
      5508.0
      Values:
      array(5508., dtype=float32)
    • maximum_value
      ()
      float64
      pC
      15146700.0
      Values:
      array(15146700.)
    • minimum_value
      ()
      float64
      pC
      0.0
      Values:
      array(0.)
    • time
      (time)
      datetime64
      ns
      2011-08-12T15:50:17.000000000, 2011-08-12T15:50:17.016659999, ..., 2011-08-12T17:22:05.085449218, 2011-08-12T17:22:05.102050781
      Values:
      array(['2011-08-12T15:50:17.000000000', '2011-08-12T15:50:17.016659999', '2011-08-12T15:50:17.033321000', ..., '2011-08-12T17:22:05.068359375', '2011-08-12T17:22:05.085449218', '2011-08-12T17:22:05.102050781'], dtype='datetime64[ns]')
    • (time)
      float64
      pC
      1.484e+07, 1.484e+07, ..., 1.487e+07, 1.484e+07
      Values:
      array([14843360., 14843360., 14787820., ..., 14809180., 14873260., 14839090.])

Above, ScippNexus automatically dealt with:

  • Loading the data field (signal value dataset and its 'units' attribute).

  • Identifying the dimension labels (here: 'time').

  • Other fields in the group were loaded as coordinates, including:

    • Units of the fields.

    • Uncertainties of the fields (here for 'average_value').

This structure is compatible with a scipp.DataArray and is returned as such.

We may also load an individual field instead of an entire group. A field corresponds to a scipp.Variable, i.e., similar to how h5py represents datasets as NumPy arrays but with an added unit and dimension labels (if applicable). For example, we may load only the 'value' dataset:

[11]:
proton_charge['value'][...]
[11]:
Show/Hide data repr Show/Hide attributes
scipp.Variable (2.52 MB)
    • (time: 330473)
      float64
      pC
      1.484e+07, 1.484e+07, ..., 1.487e+07, 1.484e+07
      Values:
      array([14843360., 14843360., 14787820., ..., 14809180., 14873260., 14839090.])

Attributes of datasets or groups are accessed just like in h5py:

[12]:
proton_charge['value'].attrs['units']
[12]:
'picoCoulombs'

A subset of the group (and its datasets) can be loaded by selecting only a slice. We can also plot this directly using the plot method of scipp.DataArray:

[13]:
proton_charge['time', 193000:197000].plot()
[13]:
../_images/user-guide_quick-start-guide_30_0.svg

As another example, consider the following NXdata group:

[14]:
bank = f['entry/bank103']
print(bank.shape, bank.dims)
(154, 7) ('x_pixel_offset', 'y_pixel_offset')

This can be loaded and plotted as above. In this case the resulting data array is 2-D:

[15]:
da = bank[...]
da
[15]:
Show/Hide data repr Show/Hide attributes
scipp.DataArray (6.09 KB)
    • x_pixel_offset: 154
    • y_pixel_offset: 7
    • x_pixel_offset
      (x_pixel_offset)
      float32
      m
      -0.3825, -0.3775, ..., 0.3775, 0.3825
      Values:
      array([-0.3825, -0.3775, -0.3725, -0.3675, -0.3625, -0.3575, -0.3525, -0.3475, -0.3425, -0.3375, -0.3325, -0.3275, -0.3225, -0.3175, -0.3125, -0.3075, -0.3025, -0.2975, -0.2925, -0.2875, -0.2825, -0.2775, -0.2725, -0.2675, -0.2625, -0.2575, -0.2525, -0.2475, -0.2425, -0.2375, -0.2325, -0.2275, -0.2225, -0.2175, -0.2125, -0.2075, -0.2025, -0.1975, -0.1925, -0.1875, -0.1825, -0.1775, -0.1725, -0.1675, -0.1625, -0.1575, -0.1525, -0.1475, -0.1425, -0.1375, -0.1325, -0.1275, -0.1225, -0.1175, -0.1125, -0.1075, -0.1025, -0.0975, -0.0925, -0.0875, -0.0825, -0.0775, -0.0725, -0.0675, -0.0625, -0.0575, -0.0525, -0.0475, -0.0425, -0.0375, -0.0325, -0.0275, -0.0225, -0.0175, -0.0125, -0.0075, -0.0025, 0.0025, 0.0075, 0.0125, 0.0175, 0.0225, 0.0275, 0.0325, 0.0375, 0.0425, 0.0475, 0.0525, 0.0575, 0.0625, 0.0675, 0.0725, 0.0775, 0.0825, 0.0875, 0.0925, 0.0975, 0.1025, 0.1075, 0.1125, 0.1175, 0.1225, 0.1275, 0.1325, 0.1375, 0.1425, 0.1475, 0.1525, 0.1575, 0.1625, 0.1675, 0.1725, 0.1775, 0.1825, 0.1875, 0.1925, 0.1975, 0.2025, 0.2075, 0.2125, 0.2175, 0.2225, 0.2275, 0.2325, 0.2375, 0.2425, 0.2475, 0.2525, 0.2575, 0.2625, 0.2675, 0.2725, 0.2775, 0.2825, 0.2875, 0.2925, 0.2975, 0.3025, 0.3075, 0.3125, 0.3175, 0.3225, 0.3275, 0.3325, 0.3375, 0.3425, 0.3475, 0.3525, 0.3575, 0.3625, 0.3675, 0.3725, 0.3775, 0.3825], dtype=float32)
    • y_pixel_offset
      (y_pixel_offset)
      float32
      m
      -0.1629, -0.1086, ..., 0.1086, 0.1629
      Values:
      array([-0.1629, -0.1086, -0.0543, 0. , 0.0543, 0.1086, 0.1629], dtype=float32)
    • (x_pixel_offset, y_pixel_offset)
      int32
      0, 0, ..., 0, 0
      Values:
      array([[0, 0, 0, ..., 0, 0, 0], [0, 0, 0, ..., 0, 0, 0], [0, 0, 0, ..., 0, 0, 0], ..., [0, 0, 0, ..., 0, 0, 0], [0, 0, 0, ..., 0, 0, 0], [0, 0, 0, ..., 0, 0, 0]], dtype=int32)
[16]:
da.plot()
[16]:
../_images/user-guide_quick-start-guide_35_0.svg

Writing to files#

See application definitions section for documentation about how to write to Nexus files.