2.2.3. View a NeXus HDF5 file with punx treeΒΆ
The punx tree
tool [1] provided as part of punx
[2] can be used
to print the content of an HDF5 file. As an example we show the result
of the command punx tree simple3D.h5
on the result of HDF5 in Python with NAPI
1simple3D.h5:NeXus data file
2 @NeXus_version = 4.1.0
3 @file_name = simple3D.h5
4 @HDF5_Version = 1.6.6
5 @file_time = 2011-11-18 17:26:27+0100
6 entry:NXentry
7 @NX_class = NXentry
8 data:NXdata
9 @NX_class = NXdata
10 test:NX_INT32[2,3,4] = __array
11 @signal = 1
12 __array = [
13 [
14 [0, 1, 2, 3]
15 [4, 5, 6, 7]
16 [8, 9, 10, 11]
17 ]
18 [
19 [12, 13, 14, 15]
20 [16, 17, 18, 19]
21 [20, 21, 22, 23]
22 ]
23 ]