NeXus classes#
Overview#
NeXus provides a substantial number of base class definitions. At this point ScippNexus supports only a very limited number of these. Furthermore, not all features of each class definition are implemented. The class of a group is read from the group’s 'NX_class' attribute.
The following table gives an overview of the most important supported classes. There are roughly two categories of classes, those that contain data and can be read as a scipp.DataArray (for example NXdata), and those that mostly serve as groups for nested classes (for example NXentry containing NXdata):
NeXus class |
read as |
comment |
NeXus specification |
|---|---|---|---|
scipp.DataArray |
|||
scipp.DataGroup wrapping scipp.DataArray |
|||
scipp.DataGroup |
|||
scipp.DataGroup |
|||
scipp.DataArray |
|||
scipp.DataGroup |
|||
scipp.DataArray |
|||
scipp.DataGroup wrapping scipp.DataArray |
|||
scipp.DataGroup |
|||
scipp.DataGroup |
|||
scipp.DataGroup |
|||
scipp.DataGroup |
Any class that is not explicitly supported will be loaded as a scipp.DataGroup as well.
For the examples below we use a file from the ScippNexus sample data:
[1]:
from scippnexus import data
import scippnexus as snx
filename = data.get_path('PG3_4844_event.nxs')
f = snx.File(filename)
Base class: NXobject#
Base of all other NeXus classes. Provides a generic group-like interface. That is, this is equivalent to a dictionary of fields and/or other groups.
NeXus classes that group other information but cannot be read as a data array provide this interface. Such groups will be loaded as scipp.DataGroup when loaded:
[2]:
tree = f['entry/instrument'][()]
tree
/home/runner/work/scippnexus/scippnexus/.tox/docs/lib/python3.11/site-packages/scippnexus/base.py:392: 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.11/site-packages/scippnexus/base.py:392: 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.11/site-packages/scippnexus/base.py:392: 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]:
- scippDataGroup(dim_0: None)
- azimuthal_anglescippVariable()float32rad0.0
- bend_angle_xscippVariable()stringdeg0
- bend_angle_yscippVariable()stringdeg0
- coating_materialstr()Ni/Ti
- distancescippVariable()float32m-54.5
- external_materialstr()stainless steel
- scippDataGroup()
- average_valuescippVariable()float32mm-55.463
- durationscippVariable()float32s0.0
- effective_valuescippVariable()float32mm-55.463
- maximum_valuescippVariable()float32mm-55.463
- minimum_valuescippVariable()float32mm-55.463
- requested_valuescippVariable()float32mm-55.463
- timescippVariable()datetime64ns2011-08-12T15:50:16.784000000
- valuescippVariable()float32mm-55.463
- interior_atmospherestr()vacuum
- m_valuestr()2.0
- scippDataGroup(dim_0: None)
- scippDataGroup(dim_0: 6)
- valuescippVariable(dim_0: 6)float321.0, 0.0, ..., 1.0, 0.0
- scippDataGroup(dim_0: 3)
- descriptionstr()x,y,z
- shapestr()nxbox
- sizescippVariable(dim_0: 3)float32m0.014, 0.0515, nan
- scippDataGroup(dim_0: 3)
- distancescippVariable(dim_0: 3)float32m0.0, 0.0, -54.5
- polar_anglescippVariable()float32rad3.1415927
- substrate_materialstr()borofloat glass
- substrate_thickness_maxscippVariable()stringmm11
- substrate_thickness_minscippVariable()stringmm9
- scippDataGroup()
- average_valuefloat32()2.0
- durationscippVariable()float32s0.0
- effective_valuefloat32()2.0
- maximum_valuefloat32()2.0
- minimum_valuefloat32()2.0
- requested_valuescippVariable()float32N2.0
- timescippVariable()datetime64ns2011-08-12T15:50:16.800000000
- valuefloat32()2.0
- x_pixel_offsetscippVariable()float32m0.0
- y_pixel_offsetscippVariable()float32m0.0
- scippDataGroup(dim_0: None)
- azimuthal_anglescippVariable()float32rad0.0
- bend_angle_xscippVariable()stringdeg0
- bend_angle_yscippVariable()stringdeg0
- coating_materialstr()Ni/Ti
- distancescippVariable()float32m-54.5
- external_materialstr()stainless steel
- scippDataGroup()
- average_valuescippVariable()float32mm-55.463
- durationscippVariable()float32s0.0
- effective_valuescippVariable()float32mm-55.463
- maximum_valuescippVariable()float32mm-55.463
- minimum_valuescippVariable()float32mm-55.463
- requested_valuescippVariable()float32mm-55.463
- timescippVariable()datetime64ns2011-08-12T15:50:16.784000000
- valuescippVariable()float32mm-55.463
- interior_atmospherestr()vacuum
- m_valuestr()0.0
- scippDataGroup(dim_0: None)
- scippDataGroup(dim_0: 6)
- valuescippVariable(dim_0: 6)float321.0, 0.0, ..., 1.0, 0.0
- scippDataGroup(dim_0: 3)
- descriptionstr()x,y,z
- shapestr()nxbox
- sizescippVariable(dim_0: 3)float32m0.014, 0.0515, nan
- scippDataGroup(dim_0: 3)
- distancescippVariable(dim_0: 3)float32m0.0, 0.0, -54.5
- polar_anglescippVariable()float32rad3.1415927
- substrate_materialstr()borofloat glass
- substrate_thickness_maxscippVariable()stringmm11
- substrate_thickness_minscippVariable()stringmm9
- scippDataGroup()
- average_valuefloat32()2.0
- durationscippVariable()float32s0.0
- effective_valuefloat32()2.0
- maximum_valuefloat32()2.0
- minimum_valuefloat32()2.0
- requested_valuescippVariable()float32N2.0
- timescippVariable()datetime64ns2011-08-12T15:50:16.800000000
- valuefloat32()2.0
- x_pixel_offsetscippVariable()float32m0.0
- y_pixel_offsetscippVariable()float32m0.0
- scippDataGroup()
- frequencyscippVariable()float32Hz60.0
- namestr()Spallation Neutron Source
- probestr()neutron
- typestr()Spallation Neutron Source
- SNSdetector_calibration_idstr()139
- SNSgeometry_file_namestr()PG3_geom_2011_02_25.xml
- SNSnxtranslatestr()0.3.0
- SNStranslation_servicestr()3.2.3
- scippDataGroup(dim_0: None)
- scippDataGroup()
- average_valuescippVariable()float32mm0.0
- durationscippVariable()float32s0.0
- effective_valuescippVariable()float32mm0.0
- maximum_valuescippVariable()float32mm0.0
- minimum_valuescippVariable()float32mm0.0
- requested_valuescippVariable()float32mm0.0
- timescippVariable()datetime64ns2011-08-12T15:50:16.800000000
- valuescippVariable()float32mm0.0
- scippDataGroup()
- average_valuefloat32()0.0
- durationscippVariable()float32s0.0
- effective_valuefloat32()0.0
- maximum_valuefloat32()0.0
- minimum_valuefloat32()0.0
- requested_valuescippVariable()float32N0.0
- timescippVariable()datetime64ns2011-08-12T15:50:16.800000000
- valuefloat32()0.0
- scippDataGroup()
- average_valuescippVariable()float32mm10.0
- durationscippVariable()float32s0.0
- effective_valuescippVariable()float32mm10.0
- maximum_valuescippVariable()float32mm10.0
- minimum_valuescippVariable()float32mm10.0
- requested_valuescippVariable()float32mm10.0
- timescippVariable()datetime64ns2011-08-12T15:50:16.800000000
- valuescippVariable()float32mm10.0
- scippDataGroup()
- average_valuescippVariable()float32mm5.0
- durationscippVariable()float32s0.0
- effective_valuescippVariable()float32mm5.0
- maximum_valuescippVariable()float32mm5.0
- minimum_valuescippVariable()float32mm5.0
- requested_valuescippVariable()float32mm5.0
- timescippVariable()datetime64ns2011-08-12T15:50:16.800000000
- valuescippVariable()float32mm5.0
- scippDataGroup()
- average_valuefloat32()0.0
- durationscippVariable()float32s0.0
- effective_valuefloat32()0.0
- maximum_valuefloat32()0.0
- minimum_valuefloat32()0.0
- requested_valuescippVariable()float32N0.0
- timescippVariable()datetime64ns2011-08-12T15:50:16.800000000
- valuefloat32()0.0
- scippDataGroup()
- average_valuescippVariable()float32mm30.0
- durationscippVariable()float32s0.0
- effective_valuescippVariable()float32mm30.0
- maximum_valuescippVariable()float32mm30.0
- minimum_valuescippVariable()float32mm30.0
- requested_valuescippVariable()float32mm30.0
- timescippVariable()datetime64ns2011-08-12T15:50:16.816000000
- valuescippVariable()float32mm30.0
- azimuthal_anglescippVariable()float32rad0.0
- distancescippVariable()float32m-1.0
- scippDataGroup(dim_0: None)
- scippDataGroup(dim_0: 6)
- valuescippVariable(dim_0: 6)float321.0, 0.0, ..., 1.0, 0.0
- scippDataGroup(dim_0: 3)
- descriptionstr()x,y,z
- shapestr()nxbox
- sizescippVariable(dim_0: 3)float32m0.01, 0.03, nan
- scippDataGroup(dim_0: 3)
- distancescippVariable(dim_0: 3)float32m0.0, 0.0, -1.0
- polar_anglescippVariable()float32rad3.1415927
- scippDataGroup()
- average_valuescippVariable()float32mm20.0
- durationscippVariable()float32s0.0
- effective_valuescippVariable()float32mm20.0
- maximum_valuescippVariable()float32mm20.0
- minimum_valuescippVariable()float32mm20.0
- requested_valuescippVariable()float32mm20.0
- timescippVariable()datetime64ns2011-08-12T15:50:16.784000000
- valuescippVariable()float32mm20.0
- scippDataGroup()
- average_valuescippVariable()float32mm5.0
- durationscippVariable()float32s0.0
- effective_valuescippVariable()float32mm5.0
- maximum_valuescippVariable()float32mm5.0
- minimum_valuescippVariable()float32mm5.0
- requested_valuescippVariable()float32mm5.0
- timescippVariable()datetime64ns2011-08-12T15:50:16.800000000
- valuescippVariable()float32mm5.0
- scippDataGroup()
- average_valuescippVariable()float32mm-5.0
- durationscippVariable()float32s0.0
- effective_valuescippVariable()float32mm-5.0
- maximum_valuescippVariable()float32mm-5.0
- minimum_valuescippVariable()float32mm-5.0
- requested_valuescippVariable()float32mm-5.0
- timescippVariable()datetime64ns2011-08-12T15:50:16.784000000
- valuescippVariable()float32mm-5.0
- scippDataGroup()
- average_valuescippVariable()float32mm-10.0
- durationscippVariable()float32s0.0
- effective_valuescippVariable()float32mm-10.0
- maximum_valuescippVariable()float32mm-10.0
- minimum_valuescippVariable()float32mm-10.0
- requested_valuescippVariable()float32mm-10.0
- timescippVariable()datetime64ns2011-08-12T15:50:16.784000000
- valuescippVariable()float32mm-10.0
- x_pixel_offsetscippVariable()float32m0.0
- y_pixel_offsetscippVariable()float32m0.0
- scippDataGroup(dim_0: None,
 x_pixel_offset: 154,
 y_pixel_offset: 7)- local_namestr()F2
- scippDataGroup(dim_0: None)
- scippDataGroup(dim_0: 6)
- valuescippVariable(dim_0: 6)float320.07520324, 0.0008634576, ..., 0.95087516, -0.024099652
- scippDataGroup(dim_0: 3)
- descriptionstr()x,y,z
- shapestr()nxbox
- sizescippVariable(dim_0: 3)float32m0.77, 0.3801, nan
- scippDataGroup(dim_0: 3)
- distancescippVariable(dim_0: 3)float32m3.2050142, -0.8542655, 0.67503774
- total_countsint32()456601
- data_x_yscippDataArray(x_pixel_offset: 154,
 y_pixel_offset: 7)int320, 0, ..., 0, 0 - eventsscippDataArray(x_pixel_offset: 154,
 y_pixel_offset: 7)float32countsbinned data [len=0, len=0, ..., len=0, len=0]
- scippDataGroup(dim_0: None,
 x_pixel_offset: 154,
 y_pixel_offset: 7)- local_namestr()F3
- scippDataGroup(dim_0: None)
- scippDataGroup(dim_0: 6)
- valuescippVariable(dim_0: 6)float320.07206946, 0.0019221402, ..., 0.9885856, -0.012752413
- scippDataGroup(dim_0: 3)
- descriptionstr()x,y,z
- shapestr()nxbox
- sizescippVariable(dim_0: 3)float32m0.77, 0.3801, nan
- scippDataGroup(dim_0: 3)
- distancescippVariable(dim_0: 3)float32m3.3054664, -0.42925474, 0.66754323
- total_countsint32()484446
- data_x_yscippDataArray(x_pixel_offset: 154,
 y_pixel_offset: 7)int320, 0, ..., 0, 0 - eventsscippDataArray(x_pixel_offset: 154,
 y_pixel_offset: 7)float32countsbinned data [len=0, len=0, ..., len=0, len=0]
- scippDataGroup(dim_0: None,
 x_pixel_offset: 154,
 y_pixel_offset: 7)- local_namestr()F4
- scippDataGroup(dim_0: None)
- scippDataGroup(dim_0: 6)
- valuescippVariable(dim_0: 6)float320.07762421, 0.0025745311, ..., 0.9999957, -0.0026736327
- scippDataGroup(dim_0: 3)
- descriptionstr()x,y,z
- shapestr()nxbox
- sizescippVariable(dim_0: 3)float32m0.77, 0.3801, nan
- scippDataGroup(dim_0: 3)
- distancescippVariable(dim_0: 3)float32m3.3375163, 0.007599, 0.6648235
- total_countsint32()465038
- data_x_yscippDataArray(x_pixel_offset: 154,
 y_pixel_offset: 7)int320, 0, ..., 0, 0 - eventsscippDataArray(x_pixel_offset: 154,
 y_pixel_offset: 7)float32countsbinned data [len=0, len=0, ..., len=0, len=0]
- scippDataGroup(dim_0: None,
 x_pixel_offset: 154,
 y_pixel_offset: 7)- local_namestr()F5
- scippDataGroup(dim_0: None)
- scippDataGroup(dim_0: 6)
- valuescippVariable(dim_0: 6)float320.074737966, 0.0007595541, ..., 0.9876911, 0.010942041
- scippDataGroup(dim_0: 3)
- descriptionstr()x,y,z
- shapestr()nxbox
- sizescippVariable(dim_0: 3)float32m0.77, 0.3801, nan
- scippDataGroup(dim_0: 3)
- distancescippVariable(dim_0: 3)float32m3.3034072, 0.44297725, 0.6675825
- total_countsint32()597687
- data_x_yscippDataArray(x_pixel_offset: 154,
 y_pixel_offset: 7)int320, 0, ..., 0, 0 - eventsscippDataArray(x_pixel_offset: 154,
 y_pixel_offset: 7)float32countsbinned data [len=0, len=0, ..., len=0, len=0]
- scippDataGroup(dim_0: None,
 x_pixel_offset: 154,
 y_pixel_offset: 7)- local_namestr()F6
- scippDataGroup(dim_0: None)
- scippDataGroup(dim_0: 6)
- valuescippVariable(dim_0: 6)float320.07553149, -0.0007277964, ..., 0.95065147, 0.02412432
- scippDataGroup(dim_0: 3)
- descriptionstr()x,y,z
- shapestr()nxbox
- sizescippVariable(dim_0: 3)float32m0.77, 0.3801, nan
- scippDataGroup(dim_0: 3)
- distancescippVariable(dim_0: 3)float32m3.2015195, 0.86776173, 0.67536724
- total_countsint32()619400
- data_x_yscippDataArray(x_pixel_offset: 154,
 y_pixel_offset: 7)int320, 0, ..., 0, 0 - eventsscippDataArray(x_pixel_offset: 154,
 y_pixel_offset: 7)float32countsbinned data [len=0, len=0, ..., len=0, len=0]
- scippDataGroup(dim_0: None,
 x_pixel_offset: 154,
 y_pixel_offset: 7)- local_namestr()G3
- scippDataGroup(dim_0: None)
- scippDataGroup(dim_0: 6)
- valuescippVariable(dim_0: 6)float32-0.12487066, -0.005911149, ..., 0.9997881, 0.008326013
- scippDataGroup(dim_0: 3)
- descriptionstr()x,y,z
- shapestr()nxbox
- sizescippVariable(dim_0: 3)float32m0.77, 0.3801, nan
- scippDataGroup(dim_0: 3)
- distancescippVariable(dim_0: 3)float32m3.1319537, -0.41684926, 1.4719385
- total_countsint32()835910
- data_x_yscippDataArray(x_pixel_offset: 154,
 y_pixel_offset: 7)int320, 0, ..., 0, 0 - eventsscippDataArray(x_pixel_offset: 154,
 y_pixel_offset: 7)float32countsbinned data [len=0, len=0, ..., len=0, len=0]
- scippDataGroup(dim_0: None,
 x_pixel_offset: 154,
 y_pixel_offset: 7)- local_namestr()G4
- scippDataGroup(dim_0: None)
- scippDataGroup(dim_0: 6)
- valuescippVariable(dim_0: 6)float32-0.11986005, -0.005193665, ..., 0.99983066, 0.0030392138
- scippDataGroup(dim_0: 3)
- descriptionstr()x,y,z
- shapestr()nxbox
- sizescippVariable(dim_0: 3)float32m0.77, 0.3801, nan
- scippDataGroup(dim_0: 3)
- distancescippVariable(dim_0: 3)float32m3.1185687, -0.0002555, 1.470097
- total_countsint32()719846
- data_x_yscippDataArray(x_pixel_offset: 154,
 y_pixel_offset: 7)int320, 0, ..., 0, 0 - eventsscippDataArray(x_pixel_offset: 154,
 y_pixel_offset: 7)float32countsbinned data [len=0, len=0, ..., len=0, len=0]
- scippDataGroup(dim_0: None,
 x_pixel_offset: 154,
 y_pixel_offset: 7)- local_namestr()H3
- scippDataGroup(dim_0: None)
- scippDataGroup(dim_0: 6)
- valuescippVariable(dim_0: 6)float32-0.34058982, -0.007132651, ..., 0.99986297, 0.0016174228
- scippDataGroup(dim_0: 3)
- descriptionstr()x,y,z
- shapestr()nxbox
- sizescippVariable(dim_0: 3)float32m0.77, 0.3801, nan
- scippDataGroup(dim_0: 3)
- distancescippVariable(dim_0: 3)float32m2.9351792, -0.41630125, 2.2435923
- total_countsint32()605641
- data_x_yscippDataArray(x_pixel_offset: 154,
 y_pixel_offset: 7)int320, 0, ..., 0, 0 - eventsscippDataArray(x_pixel_offset: 154,
 y_pixel_offset: 7)float32countsbinned data [len=0, len=0, ..., len=0, len=0]
- scippDataGroup(dim_0: None,
 x_pixel_offset: 154,
 y_pixel_offset: 7)- local_namestr()H4
- scippDataGroup(dim_0: None)
- scippDataGroup(dim_0: 6)
- valuescippVariable(dim_0: 6)float32-0.3371856, -0.005633195, ..., 0.9998946, 0.0007914557
- scippDataGroup(dim_0: 3)
- descriptionstr()x,y,z
- shapestr()nxbox
- sizescippVariable(dim_0: 3)float32m0.77, 0.3801, nan
- scippDataGroup(dim_0: 3)
- distancescippVariable(dim_0: 3)float32m2.9297032, -0.00782325, 2.243953
- total_countsint32()719502
- data_x_yscippDataArray(x_pixel_offset: 154,
 y_pixel_offset: 7)int320, 0, ..., 0, 0 - eventsscippDataArray(x_pixel_offset: 154,
 y_pixel_offset: 7)float32countsbinned data [len=0, len=0, ..., len=0, len=0]
- scippDataGroup(dim_0: None,
 x_pixel_offset: 154,
 y_pixel_offset: 7)- local_namestr()I4
- scippDataGroup(dim_0: None)
- scippDataGroup(dim_0: 6)
- valuescippVariable(dim_0: 6)float32-0.52433485, -0.0075674476, ..., 0.9999132, 0.0120967375
- scippDataGroup(dim_0: 3)
- descriptionstr()x,y,z
- shapestr()nxbox
- sizescippVariable(dim_0: 3)float32m0.77, 0.3801, nan
- scippDataGroup(dim_0: 3)
- distancescippVariable(dim_0: 3)float32m2.5749183, -0.0123765, 2.939976
- total_countsint32()619712
- data_x_yscippDataArray(x_pixel_offset: 154,
 y_pixel_offset: 7)int320, 0, ..., 0, 0 - eventsscippDataArray(x_pixel_offset: 154,
 y_pixel_offset: 7)float32countsbinned data [len=0, len=0, ..., len=0, len=0]
- scippDataGroup(dim_0: None,
 x_pixel_offset: 154,
 y_pixel_offset: 7,
 event_time_zero: 330473,
 event: 513380)- local_namestr()J4
- scippDataGroup(dim_0: None)
- scippDataGroup(dim_0: 6)
- valuescippVariable(dim_0: 6)float32-0.68827075, 0.0023438812, ..., 0.99987054, -0.012655793
- scippDataGroup(dim_0: 3)
- descriptionstr()x,y,z
- shapestr()nxbox
- sizescippVariable(dim_0: 3)float32m0.77, 0.3801, nan
- scippDataGroup(dim_0: 3)
- distancescippVariable(dim_0: 3)float32m2.078632, -0.0137955, 3.5672722
- total_countsint32()513380
- data_x_yscippDataArray(x_pixel_offset: 154,
 y_pixel_offset: 7)int320, 0, ..., 0, 0 - scippDataGroup(event_time_zero: 330473,
 event: 513380)- event_indexscippVariable(event_time_zero: 330473)int640, 0, ..., 9223372036854775807, 9223372036854775807
- event_time_offsetscippVariable(event: 513380)float32µs5906.3, 6189.3, ..., 10358.8, 11654.9
- event_time_zeroscippVariable(event_time_zero: 330473)datetime64ns2011-08-12T15:50:17.000000000, 2011-08-12T15:50:17.016659999, ..., 2011-08-12T17:22:05.085449218, 2011-08-12T17:22:05.102050781
- event_idscippVariable(event: 513380)int32230254, 231027, ..., 230834, 230571
- scippDataGroup(dim_0: None,
 x_pixel_offset: 154,
 y_pixel_offset: 7)- local_namestr()B2
- scippDataGroup(dim_0: None)
- scippDataGroup(dim_0: 6)
- valuescippVariable(dim_0: 6)float320.91311646, -0.0018039594, ..., 0.9504342, -0.2832085
- scippDataGroup(dim_0: 3)
- descriptionstr()x,y,z
- shapestr()nxbox
- sizescippVariable(dim_0: 3)float32m0.77, 0.3801, nan
- scippDataGroup(dim_0: 3)
- distancescippVariable(dim_0: 3)float32m1.544676, -0.8569665, -1.9281462
- total_countsint32()1383144
- data_x_yscippDataArray(x_pixel_offset: 154,
 y_pixel_offset: 7)int320, 0, ..., 0, 0 - eventsscippDataArray(x_pixel_offset: 154,
 y_pixel_offset: 7)float32countsbinned data [len=0, len=0, ..., len=0, len=0]
- scippDataGroup(dim_0: None,
 x_pixel_offset: 154,
 y_pixel_offset: 7)- local_namestr()B3
- scippDataGroup(dim_0: None)
- scippDataGroup(dim_0: 6)
- valuescippVariable(dim_0: 6)float320.91298234, -0.0015865297, ..., 0.98713416, -0.14533475
- scippDataGroup(dim_0: 3)
- descriptionstr()x,y,z
- shapestr()nxbox
- sizescippVariable(dim_0: 3)float32m0.77, 0.3801, nan
- scippDataGroup(dim_0: 3)
- distancescippVariable(dim_0: 3)float32m1.586625, -0.43086874, -2.0230145
- total_countsint32()1003546
- data_x_yscippDataArray(x_pixel_offset: 154,
 y_pixel_offset: 7)int320, 0, ..., 0, 0 - eventsscippDataArray(x_pixel_offset: 154,
 y_pixel_offset: 7)float32countsbinned data [len=0, len=0, ..., len=0, len=0]
- scippDataGroup(dim_0: None,
 x_pixel_offset: 154,
 y_pixel_offset: 7)- local_namestr()B4
- scippDataGroup(dim_0: None)
- scippDataGroup(dim_0: 6)
- valuescippVariable(dim_0: 6)float320.912612, -4.732385e-05, ..., 0.99999857, 0.0015598646
- scippDataGroup(dim_0: 3)
- descriptionstr()x,y,z
- shapestr()nxbox
- sizescippVariable(dim_0: 3)float32m0.77, 0.3801, nan
- scippDataGroup(dim_0: 3)
- distancescippVariable(dim_0: 3)float32m1.599787, 0.004278, -2.0524123
- total_countsint32()1123324
- data_x_yscippDataArray(x_pixel_offset: 154,
 y_pixel_offset: 7)int320, 0, ..., 0, 0 - eventsscippDataArray(x_pixel_offset: 154,
 y_pixel_offset: 7)float32countsbinned data [len=0, len=0, ..., len=0, len=0]
- scippDataGroup(dim_0: None,
 x_pixel_offset: 154,
 y_pixel_offset: 7)- local_namestr()C2
- scippDataGroup(dim_0: None)
- scippDataGroup(dim_0: 6)
- valuescippVariable(dim_0: 6)float320.7532727, -0.0017466473, ..., 0.94824696, -0.2380973
- scippDataGroup(dim_0: 3)
- descriptionstr()x,y,z
- shapestr()nxbox
- sizescippVariable(dim_0: 3)float32m0.77, 0.3801, nan
- scippDataGroup(dim_0: 3)
- distancescippVariable(dim_0: 3)float32m2.1918738, -0.84933674, -1.435612
- total_countsint32()991345
- data_x_yscippDataArray(x_pixel_offset: 154,
 y_pixel_offset: 7)int320, 0, ..., 0, 0 - eventsscippDataArray(x_pixel_offset: 154,
 y_pixel_offset: 7)float32countsbinned data [len=0, len=0, ..., len=0, len=0]
- scippDataGroup(dim_0: None,
 x_pixel_offset: 154,
 y_pixel_offset: 7)- local_namestr()C3
- scippDataGroup(dim_0: None)
- scippDataGroup(dim_0: 6)
- valuescippVariable(dim_0: 6)float320.7523526, -0.0001120215, ..., 0.9868775, -0.12141007
- scippDataGroup(dim_0: 3)
- descriptionstr()x,y,z
- shapestr()nxbox
- sizescippVariable(dim_0: 3)float32m0.77, 0.3801, nan
- scippDataGroup(dim_0: 3)
- distancescippVariable(dim_0: 3)float32m2.2594852, -0.4253265, -1.5125445
- total_countsint32()1050733
- data_x_yscippDataArray(x_pixel_offset: 154,
 y_pixel_offset: 7)int320, 0, ..., 0, 0 - eventsscippDataArray(x_pixel_offset: 154,
 y_pixel_offset: 7)float32countsbinned data [len=0, len=0, ..., len=0, len=0]
- scippDataGroup(dim_0: None,
 x_pixel_offset: 154,
 y_pixel_offset: 7)- local_namestr()C4
- scippDataGroup(dim_0: None)
- scippDataGroup(dim_0: 6)
- valuescippVariable(dim_0: 6)float320.7523935, -0.0016688275, ..., 0.99998444, -0.0029054708
- scippDataGroup(dim_0: 3)
- descriptionstr()x,y,z
- shapestr()nxbox
- sizescippVariable(dim_0: 3)float32m0.77, 0.3801, nan
- scippDataGroup(dim_0: 3)
- distancescippVariable(dim_0: 3)float32m2.283286, 0.011741, -1.5391445
- total_countsint32()933319
- data_x_yscippDataArray(x_pixel_offset: 154,
 y_pixel_offset: 7)int320, 0, ..., 0, 0 - eventsscippDataArray(x_pixel_offset: 154,
 y_pixel_offset: 7)float32countsbinned data [len=0, len=0, ..., len=0, len=0]
- scippDataGroup(dim_0: None,
 x_pixel_offset: 154,
 y_pixel_offset: 7)- local_namestr()D2
- scippDataGroup(dim_0: None)
- scippDataGroup(dim_0: 6)
- valuescippVariable(dim_0: 6)float320.5424301, 0.0032140214, ..., 0.9512337, -0.16988519
- scippDataGroup(dim_0: 3)
- descriptionstr()x,y,z
- shapestr()nxbox
- sizescippVariable(dim_0: 3)float32m0.77, 0.3801, nan
- scippDataGroup(dim_0: 3)
- distancescippVariable(dim_0: 3)float32m2.712514, -0.8528865, -0.8270292
- total_countsint32()1145925
- data_x_yscippDataArray(x_pixel_offset: 154,
 y_pixel_offset: 7)int320, 0, ..., 0, 0 - eventsscippDataArray(x_pixel_offset: 154,
 y_pixel_offset: 7)float32countsbinned data [len=0, len=0, ..., len=0, len=0]
- scippDataGroup(dim_0: None,
 x_pixel_offset: 154,
 y_pixel_offset: 7)- local_namestr()D3
- scippDataGroup(dim_0: None)
- scippDataGroup(dim_0: 6)
- valuescippVariable(dim_0: 6)float320.54071504, -0.0031628278, ..., 0.9870752, -0.084011525
- scippDataGroup(dim_0: 3)
- descriptionstr()x,y,z
- shapestr()nxbox
- sizescippVariable(dim_0: 3)float32m0.77, 0.3801, nan
- scippDataGroup(dim_0: 3)
- distancescippVariable(dim_0: 3)float32m2.7984772, -0.4272105, -0.8828877
- total_countsint32()602001
- data_x_yscippDataArray(x_pixel_offset: 154,
 y_pixel_offset: 7)int320, 0, ..., 0, 0 - eventsscippDataArray(x_pixel_offset: 154,
 y_pixel_offset: 7)float32countsbinned data [len=0, len=0, ..., len=0, len=0]
- scippDataGroup(dim_0: None,
 x_pixel_offset: 154,
 y_pixel_offset: 7)- local_namestr()D4
- scippDataGroup(dim_0: None)
- scippDataGroup(dim_0: 6)
- valuescippVariable(dim_0: 6)float320.54180133, -0.0009649804, ..., 0.9999995, 0.0009414952
- scippDataGroup(dim_0: 3)
- descriptionstr()x,y,z
- shapestr()nxbox
- sizescippVariable(dim_0: 3)float32m0.77, 0.3801, nan
- scippDataGroup(dim_0: 3)
- distancescippVariable(dim_0: 3)float32m2.828899, 0.00748275, -0.9024227
- total_countsint32()1123669
- data_x_yscippDataArray(x_pixel_offset: 154,
 y_pixel_offset: 7)int320, 0, ..., 0, 0 - eventsscippDataArray(x_pixel_offset: 154,
 y_pixel_offset: 7)float32countsbinned data [len=0, len=0, ..., len=0, len=0]
- scippDataGroup(dim_0: None,
 x_pixel_offset: 154,
 y_pixel_offset: 7,
 event_time_zero: 330473,
 event: 663792)- local_namestr()E2
- scippDataGroup(dim_0: None)
- scippDataGroup(dim_0: 6)
- valuescippVariable(dim_0: 6)float320.30577186, 0.0016155625, ..., 0.9530574, -0.09404948
- scippDataGroup(dim_0: 3)
- descriptionstr()x,y,z
- shapestr()nxbox
- sizescippVariable(dim_0: 3)float32m0.77, 0.3801, nan
- scippDataGroup(dim_0: 3)
- distancescippVariable(dim_0: 3)float32m3.0537205, -0.8558485, -0.10468375
- total_countsint32()663792
- data_x_yscippDataArray(x_pixel_offset: 154,
 y_pixel_offset: 7)int320, 0, ..., 0, 0 - scippDataGroup(event_time_zero: 330473,
 event: 663792)- event_indexscippVariable(event_time_zero: 330473)int640, 0, ..., 663790, 9223372036854775807
- event_time_offsetscippVariable(event: 663792)float32µs8883.5, 9103.0, ..., 7131.6, 7331.1
- event_time_zeroscippVariable(event_time_zero: 330473)datetime64ns2011-08-12T15:50:17.000000000, 2011-08-12T15:50:17.016659999, ..., 2011-08-12T17:22:05.085449218, 2011-08-12T17:22:05.102050781
- event_idscippVariable(event: 663792)int32102537, 102886, ..., 102960, 102948
- scippDataGroup(dim_0: None,
 x_pixel_offset: 154,
 y_pixel_offset: 7)- local_namestr()E3
- scippDataGroup(dim_0: None)
- scippDataGroup(dim_0: 6)
- valuescippVariable(dim_0: 6)float320.30549735, -0.002963881, ..., 0.9888769, -0.04263911
- scippDataGroup(dim_0: 3)
- descriptionstr()x,y,z
- shapestr()nxbox
- sizescippVariable(dim_0: 3)float32m0.77, 0.3801, nan
- scippDataGroup(dim_0: 3)
- distancescippVariable(dim_0: 3)float32m3.1493595, -0.42939225, -0.13501576
- total_countsint32()644580
- data_x_yscippDataArray(x_pixel_offset: 154,
 y_pixel_offset: 7)int320, 0, ..., 0, 0 - eventsscippDataArray(x_pixel_offset: 154,
 y_pixel_offset: 7)float32countsbinned data [len=0, len=0, ..., len=0, len=0]
- scippDataGroup(dim_0: None,
 x_pixel_offset: 154,
 y_pixel_offset: 7,
 event_time_zero: 330473,
 event: 624439)- local_namestr()E4
- scippDataGroup(dim_0: None)
- scippDataGroup(dim_0: 6)
- valuescippVariable(dim_0: 6)float320.30450308, -0.0036800236, ..., 0.99995583, 0.006138266
- scippDataGroup(dim_0: 3)
- descriptionstr()x,y,z
- shapestr()nxbox
- sizescippVariable(dim_0: 3)float32m0.77, 0.3801, nan
- scippDataGroup(dim_0: 3)
- distancescippVariable(dim_0: 3)float32m3.1805677, 0.00451375, -0.146255
- total_countsint32()624439
- data_x_yscippDataArray(x_pixel_offset: 154,
 y_pixel_offset: 7)int320, 0, ..., 0, 0 - scippDataGroup(event_time_zero: 330473,
 event: 624439)- event_indexscippVariable(event_time_zero: 330473)int640, 0, ..., 624438, 9223372036854775807
- event_time_offsetscippVariable(event: 624439)float32µs8164.1, 4931.2, ..., 6524.7, 14206.1
- event_time_zeroscippVariable(event_time_zero: 330473)datetime64ns2011-08-12T15:50:17.000000000, 2011-08-12T15:50:17.016659999, ..., 2011-08-12T17:22:05.085449218, 2011-08-12T17:22:05.102050781
- event_idscippVariable(event: 624439)int32105088, 105821, ..., 105403, 105275
- beamlinestr()11A
- scippDataGroup()
- distancescippVariable()float64m6.647418
- scippDataGroup()
- distancescippVariable()float64m7.899603
- scippDataGroup()
- distancescippVariable()float64m49.975666
- scippDataGroup()
- distancescippVariable()float32m-60.0
- poison_depthscippVariable()float32cm2.5
- poison_materialstr()Gd
- temperaturescippVariable()float32K20.0
- typestr()H2, supercritical
- namestr()POWGEN
- scippDataGroup(dim_0: None)
- azimuthal_anglescippVariable()float32rad0.0
- bend_angle_xscippVariable()stringdeg0
- bend_angle_yscippVariable()stringdeg0
- coating_materialstr()Ni/Ti
- distancescippVariable()float32m-25.5
- external_materialstr()stainless steel
- interior_atmospherestr()vacuum
- m_valuestr()2.0
- scippDataGroup(dim_0: None)
- scippDataGroup(dim_0: 6)
- valuescippVariable(dim_0: 6)float321.0, 0.0, ..., 1.0, 0.0
- scippDataGroup(dim_0: 3)
- descriptionstr()x,y,z
- shapestr()nxbox
- sizescippVariable(dim_0: 3)float32m0.014, 0.086, nan
- scippDataGroup(dim_0: 3)
- distancescippVariable(dim_0: 3)float32m0.0, 0.0, -25.5
- polar_anglescippVariable()float32rad3.1415927
- substrate_materialstr()borofloat glass
- substrate_thickness_maxscippVariable()stringmm11
- substrate_thickness_minscippVariable()stringmm9
- x_pixel_offsetscippVariable()float32m0.0
- y_pixel_offsetscippVariable()float32m0.0
- scippDataGroup(dim_0: None)
- azimuthal_anglescippVariable()float32rad0.0
- bend_angle_xscippVariable()stringdeg0
- bend_angle_yscippVariable()stringdeg0
- coating_materialstr()Ni/Ti
- distancescippVariable()float32m-47.5
- external_materialstr()stainless steel
- interior_atmospherestr()vacuum
- m_valuestr()2.0
- scippDataGroup(dim_0: None)
- scippDataGroup(dim_0: 6)
- valuescippVariable(dim_0: 6)float321.0, 0.0, ..., 1.0, 0.0
- scippDataGroup(dim_0: 3)
- descriptionstr()x,y,z
- shapestr()nxbox
- sizescippVariable(dim_0: 3)float32m0.014, 0.0725, nan
- scippDataGroup(dim_0: 3)
- distancescippVariable(dim_0: 3)float32m0.0, 0.0, -47.5
- polar_anglescippVariable()float32rad3.1415927
- substrate_materialstr()borofloat glass
- substrate_thickness_maxscippVariable()stringmm11
- substrate_thickness_minscippVariable()stringmm9
- x_pixel_offsetscippVariable()float32m0.0
- y_pixel_offsetscippVariable()float32m0.0
NXdata#
Provides multi-dimensional labeled data. See the NeXus format NXdata base class definition for details. Can be read as a data array using positional indexing.
Example:
[3]:
data = f['entry/bank103']
data
[3]:
<scippnexus.base.Group at 0x7f5e700ca2d0>
[4]:
data['x_pixel_offset', :10]
[4]:
- x_pixel_offset: 10
- y_pixel_offset: 7
- x_pixel_offset(x_pixel_offset)float32m-0.3825, -0.3775, ..., -0.3425, -0.3375
Values:
array([-0.3825, -0.3775, -0.3725, -0.3675, -0.3625, -0.3575, -0.3525, -0.3475, -0.3425, -0.3375], dtype=float32) - y_pixel_offset(y_pixel_offset)float32m-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)int320, 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, 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)
NXdetector#
Provides data for a detector. See the NeXus format NXdetector base class definition for details. NXdetector contains data and coords similar to NXdata as well as additional fields that are not readily inserted into a scipp.DataArray. Therefore, NXdetector can be read as a scipp.DataGroup wrapping a scipp.DataArray using positional indexing. The “signal” field and associated coordinates are combined
into a scipp.DataArray and the remaining fields are added as fields to the scipp.DataGroup. In the output, the scipp.DataArray has the same name as the “signal” dataset in the NeXus file. The underlying data may be dense data or event data.
Example:
[5]:
detector = f['entry/instrument/bank102']
detector
[5]:
<scippnexus.base.Group at 0x7f5e5c67c590>
[6]:
det = detector[...]
det
[6]:
- local_namestr()F2
- scippDataGroup(dim_0: None)
- scippDataGroup(dim_0: 6)
- valuescippVariable(dim_0: 6)float320.07520324, 0.0008634576, ..., 0.95087516, -0.024099652
- scippDataGroup(dim_0: 3)
- descriptionstr()x,y,z
- shapestr()nxbox
- sizescippVariable(dim_0: 3)float32m0.77, 0.3801, nan
- scippDataGroup(dim_0: 3)
- distancescippVariable(dim_0: 3)float32m3.2050142, -0.8542655, 0.67503774
- total_countsint32()456601
- data_x_yscippDataArray(x_pixel_offset: 154,
 y_pixel_offset: 7)int320, 0, ..., 0, 0 - eventsscippDataArray(x_pixel_offset: 154,
 y_pixel_offset: 7)float32countsbinned data [len=0, len=0, ..., len=0, len=0]
In this example both dense data (“data_x”) and event data (“events”) are present:
[7]:
det['data_x_y']
[7]:
- x_pixel_offset: 154
- y_pixel_offset: 7
- azimuthal_angle(x_pixel_offset, y_pixel_offset)float32rad-0.3123652, -0.2958419, ..., -0.22583345, -0.20972791
Values:
array([[-0.3123652 , -0.2958419 , -0.27932844, ..., -0.24636689, -0.22993654, -0.21355148], [-0.3123288 , -0.2958073 , -0.27929565, ..., -0.24633776, -0.22990927, -0.21352607], [-0.31229237, -0.29577267, -0.27926287, ..., -0.24630865, -0.229882 , -0.21350066], ..., [-0.30695337, -0.29069847, -0.2744558 , ..., -0.24204123, -0.2258862 , -0.20977707], [-0.3069181 , -0.29066497, -0.27442405, ..., -0.24201305, -0.22585982, -0.20975249], [-0.3068829 , -0.29063147, -0.27439234, ..., -0.24198489, -0.22583345, -0.20972791]], shape=(154, 7), dtype=float32) - distance(x_pixel_offset, y_pixel_offset)float32m3.2983806, 3.2987897, ..., 3.5141585, 3.518735
Values:
array([[3.2983806, 3.2987897, 3.3000927, ..., 3.305374 , 3.3093479, 3.314207 ], [3.299189 , 3.2995982, 3.3009007, ..., 3.3061805, 3.3101537, 3.3150117], [3.300005 , 3.300414 , 3.301716 , ..., 3.3069947, 3.310967 , 3.3158238], ..., [3.500146 , 3.5005317, 3.5017593, ..., 3.506737 , 3.510483 , 3.5150642], [3.501986 , 3.5023715, 3.5035987, ..., 3.5085735, 3.5123177, 3.5168965], [3.5038323, 3.5042174, 3.505444 , ..., 3.5104163, 3.5141585, 3.518735 ]], shape=(154, 7), dtype=float32) - pixel_id(x_pixel_offset, y_pixel_offset)int32127500, 127501, ..., 128576, 128577
Values:
array([[127500, 127501, 127502, ..., 127504, 127505, 127506], [127507, 127508, 127509, ..., 127511, 127512, 127513], [127514, 127515, 127516, ..., 127518, 127519, 127520], ..., [128557, 128558, 128559, ..., 128561, 128562, 128563], [128564, 128565, 128566, ..., 128568, 128569, 128570], [128571, 128572, 128573, ..., 128575, 128576, 128577]], shape=(154, 7), dtype=int32) - polar_angle(x_pixel_offset, y_pixel_offset)float32rad1.4804635, 1.4808731, ..., 1.266226, 1.2670246
Values:
array([[1.4804635, 1.4808731, 1.4813068, ..., 1.4822451, 1.4827487, 1.4832746], [1.4789683, 1.4793779, 1.4798121, ..., 1.4807527, 1.481258 , 1.4817859], [1.4774736, 1.4778835, 1.4783182, ..., 1.479261 , 1.479768 , 1.480298 ], ..., [1.2659944, 1.266421 , 1.2669227, ..., 1.2681499, 1.2688735, 1.2696692], [1.2646669, 1.2650936, 1.2655957, ..., 1.2668242, 1.267549 , 1.2683462], [1.2633408, 1.2637675, 1.2642701, ..., 1.2655001, 1.266226 , 1.2670246]], shape=(154, 7), dtype=float32) - x_pixel_offset(x_pixel_offset)float32m-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)float32m-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)int320, 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]], shape=(154, 7), dtype=int32)
[8]:
det['events']
[8]:
- x_pixel_offset: 154
- y_pixel_offset: 7
- azimuthal_angle(x_pixel_offset, y_pixel_offset)float32rad-0.3123652, -0.2958419, ..., -0.22583345, -0.20972791
Values:
array([[-0.3123652 , -0.2958419 , -0.27932844, ..., -0.24636689, -0.22993654, -0.21355148], [-0.3123288 , -0.2958073 , -0.27929565, ..., -0.24633776, -0.22990927, -0.21352607], [-0.31229237, -0.29577267, -0.27926287, ..., -0.24630865, -0.229882 , -0.21350066], ..., [-0.30695337, -0.29069847, -0.2744558 , ..., -0.24204123, -0.2258862 , -0.20977707], [-0.3069181 , -0.29066497, -0.27442405, ..., -0.24201305, -0.22585982, -0.20975249], [-0.3068829 , -0.29063147, -0.27439234, ..., -0.24198489, -0.22583345, -0.20972791]], shape=(154, 7), dtype=float32) - distance(x_pixel_offset, y_pixel_offset)float32m3.2983806, 3.2987897, ..., 3.5141585, 3.518735
Values:
array([[3.2983806, 3.2987897, 3.3000927, ..., 3.305374 , 3.3093479, 3.314207 ], [3.299189 , 3.2995982, 3.3009007, ..., 3.3061805, 3.3101537, 3.3150117], [3.300005 , 3.300414 , 3.301716 , ..., 3.3069947, 3.310967 , 3.3158238], ..., [3.500146 , 3.5005317, 3.5017593, ..., 3.506737 , 3.510483 , 3.5150642], [3.501986 , 3.5023715, 3.5035987, ..., 3.5085735, 3.5123177, 3.5168965], [3.5038323, 3.5042174, 3.505444 , ..., 3.5104163, 3.5141585, 3.518735 ]], shape=(154, 7), dtype=float32) - pixel_id(x_pixel_offset, y_pixel_offset)int32127500, 127501, ..., 128576, 128577
Values:
array([[127500, 127501, 127502, ..., 127504, 127505, 127506], [127507, 127508, 127509, ..., 127511, 127512, 127513], [127514, 127515, 127516, ..., 127518, 127519, 127520], ..., [128557, 128558, 128559, ..., 128561, 128562, 128563], [128564, 128565, 128566, ..., 128568, 128569, 128570], [128571, 128572, 128573, ..., 128575, 128576, 128577]], shape=(154, 7), dtype=int32) - polar_angle(x_pixel_offset, y_pixel_offset)float32rad1.4804635, 1.4808731, ..., 1.266226, 1.2670246
Values:
array([[1.4804635, 1.4808731, 1.4813068, ..., 1.4822451, 1.4827487, 1.4832746], [1.4789683, 1.4793779, 1.4798121, ..., 1.4807527, 1.481258 , 1.4817859], [1.4774736, 1.4778835, 1.4783182, ..., 1.479261 , 1.479768 , 1.480298 ], ..., [1.2659944, 1.266421 , 1.2669227, ..., 1.2681499, 1.2688735, 1.2696692], [1.2646669, 1.2650936, 1.2655957, ..., 1.2668242, 1.267549 , 1.2683462], [1.2633408, 1.2637675, 1.2642701, ..., 1.2655001, 1.266226 , 1.2670246]], shape=(154, 7), dtype=float32) - x_pixel_offset(x_pixel_offset)float32m-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)float32m-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)float32countsbinned data [len=0, len=0, ..., len=0, len=0]
dim='event', content=DataArray( dims=(event: 456601), data=float32[counts], coords={'event_time_offset':float32[µs], 'event_time_zero':datetime64[ns]})
If the underlying data is event data, the underlying event data can be selected using the special event_time_zero dimension. This dimension is present in the underlying NXevent_data group, but not preserved after loading and binning by pixels due to the prohibitive size. For example, we can select the first 1000 pulses and load data for all pixels:
[9]:
detector['event_time_zero', :1000]
[9]:
- local_namestr()F2
- scippDataGroup(dim_0: None)
- scippDataGroup(dim_0: 6)
- valuescippVariable(dim_0: 6)float320.07520324, 0.0008634576, ..., 0.95087516, -0.024099652
- scippDataGroup(dim_0: 3)
- descriptionstr()x,y,z
- shapestr()nxbox
- sizescippVariable(dim_0: 3)float32m0.77, 0.3801, nan
- scippDataGroup(dim_0: 3)
- distancescippVariable(dim_0: 3)float32m3.2050142, -0.8542655, 0.67503774
- total_countsint32()456601
- data_x_yscippDataArray(x_pixel_offset: 154,
 y_pixel_offset: 7)int320, 0, ..., 0, 0 - eventsscippDataArray(x_pixel_offset: 154,
 y_pixel_offset: 7)float32countsbinned data [len=0, len=0, ..., len=0, len=0]
Note:
Selecting a range of events allows for loading only a potentially very small section of the underlying event data and can thus be very fast.
In contrast, e.g., selecting a small range of pixels in presence of underlying event data is not fast, since the events for all pixels are stored in the order as they arrive in the acquisition system and the entire NXevent_data group must be loaded.
NXevent_data#
Provides event data in raw format as produced by the acquisition system, i.e., not grouped into detector pixels. See the NeXus format NXevent_data base class definition for details. Can be read as a data array using slicing syntax.
Example:
[10]:
event_data = f['entry/bank102_events']
event_data[...]
[10]:
- event_time_zero: 330473
- event_time_zero(event_time_zero)datetime64ns2011-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'], shape=(330473,), dtype='datetime64[ns]')
- (event_time_zero)float32countsbinned data [len=0, len=3, ..., len=3, len=2]
dim='event', content=DataArray( dims=(event: 456601), data=float32[counts], coords={'event_time_offset':float32[µs], 'event_id':int32})
In some cases the event data fields may be contained directly within an NXdetector. The event data can also be accessed from there: (This example only shows one of several datasets that comprise event data.)
[11]:
f['entry/instrument/bank102']['event_time_offset'][:1000]
[11]:
- (dim_0: 1000)float32µs6027.5, 7976.1, ..., 6038.0, 6455.1
Values:
array([ 6027.5, 7976.1, 13263.2, 9394.9, 4696.7, 7877.7, 8106.8, 2753.6, 8054.7, 8407.5, 11811.7, 15047.9, 7582.1, 14384. , 3212.2, 4766.3, 11546.7, 9895. , 8935.7, 9295.1, 11529.6, 7419.7, 8306. , 14444.5, 6480.5, 9137.6, 9952.6, 7280.8, 5431.2, 8256. , 6058.7, 15442.8, 16012.7, 3758.3, 9257. , 14239.2, 4771.5, 14213.7, 14223. , 1630.8, 2514.7, 14507.7, 10904.8, 14284. , 5110.6, 11344.6, 12207.3, 12492.9, 2024.4, 8262.9, 9636.8, 5830.7, 9281.3, 6031.4, 13900.8, 8586. , 9695. , 12156.9, 13495.1, 6871.8, 10879.2, 13134.4, 13284.8, 10006.3, 8160.4, 8390.2, 6772.9, 9764. , 15018.1, 10150.6, 6416.3, 2681.9, 14990.1, 10018.7, 9026. , 2624.1, 7333.5, 12767.8, 15870. , 12269.5, 8180.3, 10547.8, 6726.1, 10425.7, 5714.8, 10343.4, 119.8, 5926.9, 6203.4, 14593. , 14867.2, 5155.1, 5833.8, 6635.2, 5919.1, 11575.5, 10014.3, 14899.1, 4528.4, 9682.1, 10676.1, 3484.2, 9757.4, 3162.5, 4546. , 7213.2, 10009.5, 15673.1, 3436.2, 9548.8, 13160.6, 13178.1, 16093.2, 16096.1, 16133.4, 8795.2, 14758.3, 14214.5, 5114.1, 5438.5, 9229.5, 5309.4, 7906.5, 9447. , 5435.3, 12566.1, 14855.8, 3526.1, 13066.9, 14486.3, 3210.6, 6185.3, 10484.9, 14899.5, 7957.2, 14558.3, 10035.4, 13586. , 16262.2, 11055.1, 12413.8, 16052.8, 10454.1, 11405.9, 15364.2, 6331.8, 16294.2, 2316.7, 9410. , 11617.5, 11904.1, 12331.6, 12681. , 12130.9, 14080.1, 7042.5, 4893.4, 11601.7, 2588. , 12423.7, 14941.5, 16098.1, 2228.8, 11531.5, 15103.1, 4597.7, 11328.1, 12268.4, 16149.9, 5622. , 3675.1, 11323.6, 9779.5, 11909.5, 8159.4, 7806.6, 8057.9, 7564.3, 8832.6, 15166.1, 7811.2, 11515.5, 13047.9, 14680.8, 8848.4, 13510.1, 14176.8, 6328.2, 7314.4, 13073.1, 4271.9, 6508.8, 11043.2, 14995.5, 15934.8, 4652.7, 4576.9, 15115. , 11548.2, 3042.1, 6015.9, 13476.9, 15355.3, 15649.4, 9754.3, 12472. , 13398.4, 8178.7, 11544.7, 10342.6, 15730.2, 6216.8, 7749. , 11150.8, 5599.1, 13545.9, 8436.3, 6085.4, 10448.6, 11733.6, 6153. , 13326.8, 5975.2, 9202.3, 2523.9, 2988.4, 6308.7, 11959.4, 8064.9, 14165.6, 2784.1, 5666.1, 5840.3, 15128.7, 4617.5, 8971.6, 3337.6, 8740.6, 10427.2, 12269.5, 11625.7, 14414.3, 15414.6, 6907.2, 8666.7, 7194.7, 15964.7, 15312.5, 13217.4, 12611.3, 3361.7, 8114.4, 11449.1, 15992.5, 16303.5, 2683.8, 5979.9, 8343.4, 9939.2, 9247. , 11683.8, 7709.1, 10080.6, 10266.4, 12132.9, 12499.7, 7354.3, 11409.8, 2138.4, 4743.1, 11424. , 5511.1, 10255.4, 10807.5, 15303.4, 5910.4, 8827.4, 15478.2, 15801.6, 16062.8, 4340.7, 8496.5, 10660.7, 12650.8, 14282.5, 5823.1, 8346.7, 9278.8, 4400.7, 14402.5, 13417.1, 7052.9, 7879.3, 9725.4, 10492.9, 10978.5, 15542.1, 14392.8, 12534.9, 12862.7, 2080.1, 14094.5, 7126.9, 7407.6, 10492.2, 6233.9, 10265.8, 11319.7, 13782.5, 14778.7, 11152.7, 7336.2, 8183.1, 8487.7, 14629.6, 12232. , 2430.5, 11268.2, 15354.3, 10889.7, 11971. , 6803.2, 9817.7, 6743.8, 9171.4, 12193.7, 6384.6, 12512.9, 6276.7, 7075.3, 9246.6, 6819.5, 8063.3, 14973.9, 7842.7, 13434.3, 15310.1, 5157.6, 5719.5, 5770.8, 13169.5, 15030.9, 2929.3, 3153.4, 7192.1, 4143.6, 9590.5, 8243.1, 11330. , 1538.9, 2081.5, 3502.1, 5595.1, 11621.4, 14769.5, 3263.5, 11293.7, 2347.6, 10237.5, 2769.3, 5077.4, 6754.4, 7981.2, 8328.3, 11373.8, 13652.9, 10676.1, 15154. , 4816.3, 9481.4, 4699.5, 9983.7, 12894.6, 8982.8, 12630.7, 12926.2, 15693.1, 6504.9, 7135.8, 12498.8, 12729.5, 14977.1, 10059.4, 10126.9, 10452.7, 14096.6, 14353. , 9847.9, 14181.2, 6642.4, 8406.3, 12886.2, 15283.2, 15549.8, 13512. , 14602.1, 12594.1, 16031. , 5102.9, 15868. , 15283.3, 6056.7, 5588.2, 6504.4, 15612.7, 7032.4, 10730.7, 6198.5, 12264. , 13800.6, 13983. , 6800.6, 11876.9, 15208.3, 9957.6, 11108.4, 11921.9, 9051.1, 14915.2, 14990.8, 3560.1, 8919.3, 15041.4, 4664.4, 12477. , 12768.3, 7588.7, 7773.1, 15580.5, 2354. , 15610.6, 15800.4, 4971.4, 4998.6, 9512.4, 4801.3, 13900.9, 6721. , 15174.8, 9325.8, 10651.3, 11047.6, 13840.9, 4319.3, 9988.3, 12381. , 15908.9, 12420.4, 14324.8, 9038.2, 13660.2, 11786.6, 15667.4, 6063.1, 6822.7, 7849.5, 12223.2, 2872.5, 3553.8, 12500.4, 2946.4, 14039.4, 8304.2, 3487.1, 6387. , 14028.2, 14271.3, 9173. , 7871.5, 12937.7, 6057.8, 15012.4, 15371.9, 15897.8, 4061.8, 6480.8, 12731.2, 6327.4, 13249.4, 13277.1, 13303.1, 13311. , 14185.1, 5042.8, 10204.3, 8431.4, 8492.1, 1686.1, 3132.2, 7326.7, 5828.9, 10913.3, 12350.8, 5279.7, 10973.9, 6673.7, 3845.7, 4085.4, 7877.5, 11075.5, 12168.6, 14479.6, 6148.4, 7951.3, 12300.2, 11570.8, 14204.2, 10245.8, 7745.9, 10691.7, 13076.1, 5344.4, 6292.2, 8210.6, 11015.5, 11763.5, 11948.9, 7672.9, 9660.3, 11767.9, 15491.6, 15696.9, 10885.2, 6690.1, 7341.9, 12791.7, 13991.1, 1555.5, 6965.7, 8533.6, 5032. , 9672. , 10018.9, 3511.2, 12713.8, 9912.7, 15657.4, 4313. , 7056.3, 6152.4, 10218.5, 15916.4, 5997.4, 11020.5, 10179.1, 11414.2, 9206.2, 8660.7, 14621.7, 12577.1, 14731.7, 9019.2, 9878.9, 11500.1, 3236.5, 7074.4, 8308.9, 12021.7, 12225.3, 15975.2, 9170.4, 9182.4, 10123.4, 9683.8, 13998.4, 3846.1, 10455.4, 11034.1, 15212.7, 5667.9, 8982.9, 5252.9, 7829.3, 2531.1, 15354.3, 9599.8, 8154.1, 10304. , 12495.7, 8536. , 12081.1, 4871.2, 12961. , 9137.2, 2970.1, 7940.7, 8731.6, 11708.8, 14464.8, 15896.5, 12588. , 10811.3, 14306.5, 4000.9, 4593.9, 15117.2, 11266.7, 12080.1, 4119.9, 14994.7, 9352.6, 5878.7, 6870.5, 11589.3, 7180.7, 12652.2, 8741.8, 14460.1, 5113.1, 6842.2, 15217.6, 1930.2, 8470.9, 9459.3, 5479.8, 5433.4, 9428.6, 15948.5, 7619.1, 12915.2, 16229.3, 3215.5, 8914.4, 2062.9, 5801. , 14484.6, 1253. , 13331.6, 13765.2, 3714.4, 14115.8, 10703.2, 8862.8, 11093.9, 15806. , 11930. , 15886.1, 4325.7, 7293. , 1284.9, 16367.8, 6051.9, 7906.8, 8264.7, 8568.2, 9575.4, 6366.5, 3659.7, 13423.8, 9952.6, 12868.9, 6048.5, 12129.3, 14789.7, 6751.7, 8319.1, 5811.7, 13082.5, 15138.1, 3227.3, 4830.7, 13222.9, 8507.7, 3397.5, 9355. , 12164.4, 3155.2, 11422.3, 15068.9, 5995.1, 2898.6, 8146.9, 10325.2, 13965.2, 14276.7, 14318.4, 15537.1, 7664.8, 10831.5, 9470.1, 10382.4, 11225.9, 14576.6, 4110.7, 8785.4, 14584.9, 3145.3, 6612.4, 7608.9, 11019.2, 5134.6, 9223.4, 11986.7, 12152.8, 8673.9, 15449.5, 11761.5, 15039.8, 3137.7, 5390.4, 15379.6, 11193.4, 5215.2, 6785.3, 8906.7, 3073.9, 1082.1, 12213.3, 10617.7, 11004. , 7128. , 8786.9, 13178.6, 2503.5, 3568.6, 12742.2, 6365.1, 6504.4, 11706.7, 4739.6, 8098.3, 11116.9, 5153.2, 8344.2, 15980.7, 10528. , 12831.2, 13989.6, 8341.8, 6257.5, 10306.1, 15761.8, 12203.5, 10241. , 13179.1, 7715.7, 9345.8, 14088.9, 10778.2, 4177.8, 15671. , 5983.8, 8542.7, 15458.9, 6748.4, 6944.5, 11504.3, 13657.3, 15724.1, 6951.9, 8600.9, 14463.7, 11084.4, 12352.3, 13016.2, 11445.6, 5786.4, 15340. , 5201.8, 6805.2, 11060.2, 14053.7, 5370.7, 9927.7, 4712.7, 5416.9, 15030.1, 5839. , 7236.9, 13360.3, 14997.5, 8685.2, 11792.1, 4963.8, 9507.2, 12490.2, 967.9, 8889.8, 10162.5, 16210.5, 2598.9, 8068.5, 14595.9, 4479.6, 7314.7, 12930.1, 15639.9, 4631. , 1658.5, 13042.4, 8229.3, 9459.6, 11420.4, 11152.3, 15426.6, 12598.1, 13925.1, 16166.3, 4118.9, 10047.3, 13551.3, 14256.7, 7443. , 11434.1, 6619.5, 8229.1, 3384.8, 6852.5, 13915.5, 7591.9, 10743.7, 15494.5, 15157.9, 10637.8, 14151.9, 8916.5, 12747.6, 6429.1, 9487.7, 7901.3, 10236.3, 9113.7, 8184.5, 10997.5, 11872.7, 9406.9, 14607.3, 16450.8, 9733.7, 6644.4, 14539.6, 11575. , 4595.7, 6401.7, 9501.2, 15848.5, 5935.3, 9922.9, 12987.8, 6512.2, 11509.3, 7247.3, 7958.9, 4657.2, 11407.6, 16463.1, 9735.3, 11703.9, 16247.2, 10565. , 14804.6, 7219.1, 11836.9, 7011. , 9922.9, 7014. , 11196.4, 3319.1, 9861.1, 14639.3, 5594.5, 11523. , 6274.2, 10220.3, 8733.7, 4044.7, 8934.7, 3910.9, 6105.3, 11335.8, 5066.8, 1902.5, 9244.4, 14641.4, 4912.7, 8178.5, 13090.6, 15146.1, 8967.8, 15035.4, 11248.9, 13995.1, 3843. , 11535.3, 9716.2, 2858.8, 11889. , 3668.6, 9266.9, 11200.2, 5631. , 9850.4, 11794.4, 13668.4, 6588.9, 7268.7, 11166.2, 13298.3, 14548.3, 10318.6, 6427.8, 6682.9, 10534.1, 12181.1, 14406.5, 572.9, 11681.4, 6919.3, 8221. , 9790. , 9960.8, 8772.4, 11630.9, 3870.3, 14740.1, 9462.1, 13513. , 6609.4, 11949.2, 10360.2, 11486.3, 12330.5, 11048. , 11808.4, 8500.8, 12123.8, 13317. , 15329.8, 9109. , 5730.5, 6480.1, 8161.3, 13142.5, 12643.2, 13062.9, 7586.4, 14653.7, 10405.7, 5770. , 4852.5, 6304.1, 9763.8, 8338.5, 8605.7, 10689.3, 12438.7, 8255.8, 9686. , 10613.1, 11396.9, 4635.7, 11444.3, 15623.1, 9013.8, 11157.2, 14719.5, 4964.8, 6287.2, 2199.5, 4512.8, 8377.8, 9657.2, 12307.3, 13953.3, 15414.5, 7520.4, 14717. , 6350.3, 12372.2, 1853.1, 1859.5, 4753. , 11255.5, 10883.7, 9280.2, 8434.2, 10413.5, 15171.7, 4251. , 5864.6, 12412.9, 4283.8, 10639.2, 12183.5, 1549.5, 7133.3, 1540.5, 7090. , 13156.5, 15584.9, 2684.3, 10597.5, 12726.2, 1974.2, 14335. , 7871.3, 11191.4, 13759.5, 6038. , 6455.1], dtype=float32)
NXlog#
Provides a time-series log. See the NeXus format NXlog base class definition for details. Can be read as a data array using positional indexing.
Example:
[12]:
proton_charge = f['/entry/DASlogs/proton_charge']
proton_charge
[12]:
<scippnexus.base.Group at 0x7f5e5c2f4650>
[13]:
proton_charge[...]
[13]:
- time: 330473
- average_value()float64pC12766652.799260454σ = 5061670.635363746
Values:
array(12766652.79926045)
Variances (σ²):
array(2.56205096e+13) - description()stringdescription
Values:
'description' - duration()float32s5508.0
Values:
array(5508., dtype=float32) - maximum_value()float64pC15146700.0
Values:
array(15146700.) - minimum_value()float64pC0.0
Values:
array(0.) - time(time)datetime64ns2011-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'], shape=(330473,), dtype='datetime64[ns]')
- (time)float64pC1.484e+07, 1.484e+07, ..., 1.487e+07, 1.484e+07
Values:
array([14843360., 14843360., 14787820., ..., 14809180., 14873260., 14839090.], shape=(330473,))
NXmonitor#
Provides data for a beam monitor. See the NeXus format NXmonitor base class definition for details. Can be read as a scipp.DataGroup holding a scipp.DataArray using positional indexing, similar to NXdetector.
Example:
[14]:
monitor = f['entry/monitor1']
mon = monitor[...]
mon
[14]:
- modestr()monitor
- datascippDataArray(time_of_flight: 200001)int3225, 10, ..., 0, 0
[15]:
mon['data']
[15]:
- time_of_flight: 200001
- distance()float64m-1.0
Values:
array(-1.) - time_of_flight(time_of_flight [bin-edge])float32µs0.0, 1.0, ..., 200000.0, 200001.0
Values:
array([0.00000e+00, 1.00000e+00, 2.00000e+00, ..., 1.99999e+05, 2.00000e+05, 2.00001e+05], shape=(200002,), dtype=float32)
- (time_of_flight)int3225, 10, ..., 0, 0
Values:
array([25, 10, 12, ..., 0, 0, 0], shape=(200001,), dtype=int32)