Volume II: NeXus Reference Documentation

Id: 984:1037M, Thu Jan 26 13:27:13 GMT 2012

Ray Osborn

Argonne National Laboratory

Mark Koennecke

Paul Scherrer Institut

Przemek Klosowski

U. of Maryland and NIST

Frederick Akeroyd

Rutherford Appleton Laboratory

Peter F. Peterson

Spallation Neutron Source

Pete R. Jemian

Advanced Photon Source

Stuart I. Campbell

Oak Ridge National Laboratory

Tobias Richter

Diamond Light Source Ltd.

This version of the NeXus documentation is still in draft. Expected release is fall-2011.

The NeXus manual is licensed under the terms of the GNU Free Documentation License version 1.3. See the FDL license file included with the source of this manual or refer to http://www.gnu.org/licenses/fdl-1.3.txt for more details.

The examples in the NeXus manual are licensed under the terms of the GNU Lesser General Public License version 3. See the LGPL license file included with the source of this manual or refer to http://www.gnu.org/licenses/lgpl-3.0.txt for more details.

2011

Revision History
2009PFP

Started conversion from the old NeXus mediawiki documentation.

Revision initial draft2010 springPRJ

Most of the content from the old NeXus mediawiki documentation is included. Some new wiki content has been introduced but should be easy to identify for inclusion in the manual.

Revision draft2010-11PRJ

Nearly complete but still much finishing work remains. The description of dimensions and the description of the coordinate system needs major revision and improvement. More examples are needed. The manual is now divided into two volumes. Volume I is the User Manual, Volume II is the Reference Documentation. Much of the NXDL chapter in Volume II is autogenerated from the nxdl.xsd Schema and the NXDL source files.

Initial release of NXDL, manual, and next release of NAPI (compatibility release) expected in mid-2011.

Revision 1.0b2011-11PRJ

Preparing manual for initial release. Also preparing to convert manual source from DocBook to Sphinx for next release of manual.


Table of Contents

1. NAPI: The NeXus Application Programming Interface
Purpose of API
Core API
C and C++ Interface
Fortran 77 Interface
Fortran 90 Interface
Java Interface
Python Interface
IDL Interface
Utility API
List of F90 Utility Routines
Building Programs
Reporting Bugs in the NeXus API
2. NXDL: The NeXus Definition Language
Introduction
NXDL Elements and Data Types
NXDL element: attribute
NXDL element: definition
NXDL element: dimensions
NXDL element: doc
NXDL element: enumeration
NXDL element: field
NXDL element: group
NXDL element: link
NXDL element: symbols
Common internal data types that define the NXDL language
Data Types allowed in NXDL specifications
Unit Categories allowed in NXDL specifications
Historical notes about the Development of NXDL
3. NeXus classes
Overview of NeXus classes
NeXus Base Classes
NXaperture
NXattenuator
NXbeam
NXbeam_stop
NXbending_magnet
NXcapillary
NXcharacterization
NXcollection
NXcollimator
NXcrystal
NXdata
NXdetector
NXdetector_group
NXdisk_chopper
NXentry
NXenvironment
NXevent_data
NXfermi_chopper
NXfilter
NXflipper
NXgeometry
NXguide
NXinsertion_device
NXinstrument
NXlog
NXmirror
NXmoderator
NXmonitor
NXmonochromator
NXnote
NXobject
NXorientation
NXparameters
NXpolarizer
NXpositioner
NXprocess
NXroot
NXsample
NXsensor
NXshape
NXsource
NXsubentry
NXtranslation
NXuser
NXvelocity_selector
NXxraylens
NeXus Application Classes
NXarchive
NXdirecttof
NXfluo
NXindirecttof
NXiqproc
NXlauetof
NXmonopd
NXrefscan
NXreftof
NXsas
NXsastof
NXscan
NXspe
NXsqom
NXtas
NXtofnpd
NXtofraw
NXtofsingle
NXtomo
NXtomophase
NXtomoproc
NXxas
NXxasproc
NXxbase
NXxeuler
NXxkappa
NXxlaue
NXxlaueplate
NXxnb
NXxrot
NeXus Contributed Classes
NXbeamline
NXelectrostatic_kicker
NXmagnetic_kicker
NXquadrupole_magnet
NXsai_controller
NXseparator
NXsnsevent
NXsnshisto
NXsolenoid_magnet
NXspin_rotator
NXtechnical_data
4. Examples of writing and reading NeXus data files
Code Examples that use the NAPI
Example NeXus programs using NAPI
Code Examples that do not use the NAPI
Example NeXus C programs using native HDF5 commands
Python Examples using h5py
Viewing 2-D Data from LRMECS
A. Licenses
FDL: GNU Free Documentation License
LGPL: GNU Lesser Gnu Public License
Index

List of Figures

2.1. Graphical representation of the NXDL attribute element
2.2. Graphical representation of the NXDL definition element
2.3. Graphical representation of the NXDL dimensions element
2.4. Graphical representation of the NXDL doc element
2.5. Graphical representation of the NXDL enumeration element
2.6. Graphical representation of the NXDL field element
2.7. Graphical representation of the NXDL group element
2.8. Graphical representation of the NXDL link element
2.9. Graphical representation of the NXDL symbols element
4.1. plot of our mr_scan
4.2. Simple Example
4.3. h5py example showing linking in a NeXus file
4.4. NeXus validation of our HDF5 file
4.5. plot of our mr_scan using NeXpy
4.6. LRMECS lrcs3701 data: HDFview
4.7. LRMECS lrcs3701 data: HDFview Open As dialog
4.8. LRMECS lrcs3701 data: HDFview Image
4.9. LRMECS lrcs3701 data: IgorPro install HDF5 Browser
4.10. LRMECS lrcs3701 data: IgorPro HDFBrowser dialog
4.11. LRMECS lrcs3701 data: IgorPro HDFBrowser dialog
4.12. LRMECS lrcs3701 data: IgorPro Image

List of Tables

1.1. Conversion of data types from C to F90
1.2. F90 parameters from NXmodule used in defining variables
1.3. List of F90 Utility Routines
2.1. Data Types allowed in NXDL specifications
2.2. Unit Types allowed in NXDL specifications
3.1. Example Tabular representation of a NeXus class
3.2. Default values for occurences
3.3. NXaperture
3.4. NXattenuator
3.5. NXbeam
3.6. NXbeam_stop
3.7. NXbending_magnet
3.8. NXcapillary
3.9. top-level (definition) attributes
3.10. NXcharacterization
3.11. NXcollection
3.12. NXcollimator
3.13. NXcrystal
3.14. NXdata
3.15. NXdetector
3.16. NXdetector: NXdetector/efficiency:NXdata
3.17. NXdetector_group
3.18. NXdisk_chopper
3.19. top-level (definition) attributes
3.20. NXentry
3.21. NXenvironment
3.22. NXevent_data
3.23. NXfermi_chopper
3.24. NXfilter
3.25. NXflipper
3.26. NXgeometry
3.27. NXguide
3.28. NXguide: NXguide/reflectivity:NXdata
3.29. NXinsertion_device
3.30. NXinstrument
3.31. NXlog
3.32. NXmirror
3.33. NXmoderator
3.34. NXmonitor
3.35. NXmonochromator
3.36. NXnote
3.37. NXorientation
3.38. NXparameters
3.39. NXpolarizer
3.40. NXpositioner
3.41. NXprocess
3.42. top-level (definition) attributes
3.43. NXroot
3.44. NXsample
3.45. NXsensor
3.46. NXshape
3.47. NXsource
3.48. NXsource: NXsource/bunch_pattern:NXdata
3.49. top-level (definition) attributes
3.50. NXsubentry
3.51. NXtranslation
3.52. NXuser
3.53. NXvelocity_selector
3.54. NXxraylens
3.55. NXarchive
3.56. NXarchive: NXarchive/entry:NXentry
3.57. NXarchive: entry:NXentry/user:NXuser
3.58. NXarchive: entry:NXentry/instrument:NXinstrument
3.59. NXarchive: instrument:NXinstrument/NXsource
3.60. NXarchive: entry:NXentry/sample:NXsample
3.61. NXdirecttof
3.62. NXdirecttof: NXdirecttof/entry:NXentry
3.63. NXdirecttof: entry:NXentry/NXinstrument
3.64. NXdirecttof: NXinstrument/fermi_chopper:NXfermi_chopper
3.65. NXfluo
3.66. NXfluo: NXfluo/entry:NXentry
3.67. NXfluo: entry:NXentry/NXinstrument
3.68. NXfluo: NXinstrument/NXsource
3.69. NXfluo: NXinstrument/monochromator:NXmonochromator
3.70. NXfluo: NXinstrument/fluorescence:NXdetector
3.71. NXfluo: entry:NXentry/NXsample
3.72. NXfluo: entry:NXentry/NXmonitor
3.73. NXindirecttof
3.74. NXindirecttof: NXindirecttof/entry:NXentry
3.75. NXindirecttof: entry:NXentry/NXinstrument
3.76. NXindirecttof: NXinstrument/analyser:NXmonochromator
3.77. NXiqproc
3.78. NXiqproc: NXiqproc/NXentry
3.79. NXiqproc: NXentry/instrument:NXinstrument
3.80. NXiqproc: instrument:NXinstrument/NXsource
3.81. NXiqproc: NXentry/NXsample
3.82. NXiqproc: NXentry/reduction:NXprocess
3.83. NXiqproc: reduction:NXprocess/input:NXparameters
3.84. NXiqproc: NXentry/NXdata
3.85. NXlauetof
3.86. NXlauetof: NXlauetof/entry:NXentry
3.87. NXlauetof: entry:NXentry/instrument:NXinstrument
3.88. NXlauetof: instrument:NXinstrument/detector:NXdetector
3.89. NXlauetof: entry:NXentry/sample:NXsample
3.90. NXlauetof: entry:NXentry/control:NXmonitor
3.91. NXmonopd
3.92. NXmonopd: NXmonopd/entry:NXentry
3.93. NXmonopd: entry:NXentry/NXinstrument
3.94. NXmonopd: NXinstrument/NXsource
3.95. NXmonopd: NXinstrument/NXcrystal
3.96. NXmonopd: NXinstrument/NXdetector
3.97. NXmonopd: entry:NXentry/NXsample
3.98. NXmonopd: entry:NXentry/NXmonitor
3.99. NXrefscan
3.100. NXrefscan: NXrefscan/entry:NXentry
3.101. NXrefscan: entry:NXentry/instrument:NXinstrument
3.102. NXrefscan: instrument:NXinstrument/NXsource
3.103. NXrefscan: instrument:NXinstrument/monochromator:NXmonochromator
3.104. NXrefscan: instrument:NXinstrument/NXdetector
3.105. NXrefscan: entry:NXentry/sample:NXsample
3.106. NXrefscan: entry:NXentry/control:NXmonitor
3.107. NXreftof
3.108. NXreftof: NXreftof/entry:NXentry
3.109. NXreftof: entry:NXentry/instrument:NXinstrument
3.110. NXreftof: instrument:NXinstrument/chopper:NXdisk_chopper
3.111. NXreftof: instrument:NXinstrument/detector:NXdetector
3.112. NXreftof: entry:NXentry/sample:NXsample
3.113. NXreftof: entry:NXentry/control:NXmonitor
3.114. NXsas
3.115. NXsas: NXsas/NXentry
3.116. NXsas: NXentry/instrument:NXinstrument
3.117. NXsas: instrument:NXinstrument/source:NXsource
3.118. NXsas: instrument:NXinstrument/monochromator:NXmonochromator
3.119. NXsas: instrument:NXinstrument/collimator:NXcollimator
3.120. NXsas: collimator:NXcollimator/geometry:NXgeometry
3.121. NXsas: geometry:NXgeometry/shape:NXshape
3.122. NXsas: instrument:NXinstrument/detector:NXdetector
3.123. NXsas: NXentry/sample:NXsample
3.124. NXsas: NXentry/control:NXmonitor
3.125. NXsastof
3.126. NXsastof: NXsastof/NXentry
3.127. NXsastof: NXentry/instrument:NXinstrument
3.128. NXsastof: instrument:NXinstrument/source:NXsource
3.129. NXsastof: instrument:NXinstrument/collimator:NXcollimator
3.130. NXsastof: collimator:NXcollimator/geometry:NXgeometry
3.131. NXsastof: geometry:NXgeometry/shape:NXshape
3.132. NXsastof: instrument:NXinstrument/detector:NXdetector
3.133. NXsastof: NXentry/sample:NXsample
3.134. NXsastof: NXentry/control:NXmonitor
3.135. NXscan
3.136. NXscan: NXscan/NXentry
3.137. NXscan: NXentry/NXinstrument
3.138. NXscan: NXinstrument/NXdetector
3.139. NXscan: NXentry/NXsample
3.140. NXscan: NXentry/NXmonitor
3.141. NXspe
3.142. NXspe: NXspe/NXentry
3.143. NXspe: NXentry/NXSPE_info:NXcollection
3.144. NXspe: NXentry/data:NXdata
3.145. NXspe: NXentry/NXinstrument
3.146. NXspe: NXinstrument/NXfermi_chopper
3.147. NXspe: NXentry/NXsample
3.148. NXsqom
3.149. NXsqom: NXsqom/NXentry
3.150. NXsqom: NXentry/instrument:NXinstrument
3.151. NXsqom: instrument:NXinstrument/NXsource
3.152. NXsqom: NXentry/NXsample
3.153. NXsqom: NXentry/reduction:NXprocess
3.154. NXsqom: reduction:NXprocess/input:NXparameters
3.155. NXsqom: NXentry/NXdata
3.156. NXtas
3.157. NXtas: NXtas/entry:NXentry
3.158. NXtas: entry:NXentry/NXinstrument
3.159. NXtas: NXinstrument/NXsource
3.160. NXtas: NXinstrument/monochromator:NXcrystal
3.161. NXtas: NXinstrument/analyser:NXcrystal
3.162. NXtas: NXinstrument/NXdetector
3.163. NXtas: entry:NXentry/NXsample
3.164. NXtas: entry:NXentry/NXmonitor
3.165. NXtofnpd
3.166. NXtofnpd: NXtofnpd/entry:NXentry
3.167. NXtofnpd: entry:NXentry/user:NXuser
3.168. NXtofnpd: entry:NXentry/NXinstrument
3.169. NXtofnpd: NXinstrument/detector:NXdetector
3.170. NXtofnpd: entry:NXentry/NXsample
3.171. NXtofnpd: entry:NXentry/NXmonitor
3.172. NXtofraw
3.173. NXtofraw: NXtofraw/entry:NXentry
3.174. NXtofraw: entry:NXentry/user:NXuser
3.175. NXtofraw: entry:NXentry/instrument:NXinstrument
3.176. NXtofraw: instrument:NXinstrument/detector:NXdetector
3.177. NXtofraw: entry:NXentry/NXsample
3.178. NXtofraw: entry:NXentry/NXmonitor
3.179. NXtofsingle
3.180. NXtofsingle: NXtofsingle/entry:NXentry
3.181. NXtofsingle: entry:NXentry/user:NXuser
3.182. NXtofsingle: entry:NXentry/NXinstrument
3.183. NXtofsingle: NXinstrument/detector:NXdetector
3.184. NXtofsingle: entry:NXentry/NXsample
3.185. NXtofsingle: entry:NXentry/NXmonitor
3.186. NXtomo
3.187. NXtomo: NXtomo/entry:NXentry
3.188. NXtomo: entry:NXentry/instrument:NXinstrument
3.189. NXtomo: instrument:NXinstrument/NXsource
3.190. NXtomo: instrument:NXinstrument/bright_field:NXdetector
3.191. NXtomo: instrument:NXinstrument/dark_field:NXdetector
3.192. NXtomo: instrument:NXinstrument/sample:NXdetector
3.193. NXtomo: entry:NXentry/sample:NXsample
3.194. NXtomo: entry:NXentry/control:NXmonitor
3.195. NXtomophase
3.196. NXtomophase: NXtomophase/entry:NXentry
3.197. NXtomophase: entry:NXentry/instrument:NXinstrument
3.198. NXtomophase: instrument:NXinstrument/NXsource
3.199. NXtomophase: instrument:NXinstrument/bright_field:NXdetector
3.200. NXtomophase: instrument:NXinstrument/dark_field:NXdetector
3.201. NXtomophase: instrument:NXinstrument/sample:NXdetector
3.202. NXtomophase: entry:NXentry/sample:NXsample
3.203. NXtomophase: entry:NXentry/control:NXmonitor
3.204. NXtomoproc
3.205. NXtomoproc: NXtomoproc/entry:NXentry
3.206. NXtomoproc: entry:NXentry/NXinstrument
3.207. NXtomoproc: NXinstrument/NXsource
3.208. NXtomoproc: entry:NXentry/NXsample
3.209. NXtomoproc: entry:NXentry/reconstruction:NXprocess
3.210. NXtomoproc: reconstruction:NXprocess/parameters:NXparameters
3.211. NXtomoproc: entry:NXentry/data:NXdata
3.212. NXxas
3.213. NXxas: NXxas/NXentry
3.214. NXxas: NXentry/NXinstrument
3.215. NXxas: NXinstrument/NXsource
3.216. NXxas: NXinstrument/monochromator:NXmonochromator
3.217. NXxas: NXinstrument/incoming_beam:NXdetector
3.218. NXxas: NXinstrument/absorbed_beam:NXdetector
3.219. NXxas: NXentry/NXsample
3.220. NXxas: NXentry/NXmonitor
3.221. NXxasproc
3.222. NXxasproc: NXxasproc/NXentry
3.223. NXxasproc: NXentry/NXsample
3.224. NXxasproc: NXentry/XAS_data_reduction:NXprocess
3.225. NXxasproc: XAS_data_reduction:NXprocess/parameters:NXparameters
3.226. NXxasproc: NXentry/NXdata
3.227. NXxbase
3.228. NXxbase: NXxbase/entry:NXentry
3.229. NXxbase: entry:NXentry/instrument:NXinstrument
3.230. NXxbase: instrument:NXinstrument/source:NXsource
3.231. NXxbase: instrument:NXinstrument/monochromator:NXmonochromator
3.232. NXxbase: instrument:NXinstrument/detector:NXdetector
3.233. NXxbase: entry:NXentry/sample:NXsample
3.234. NXxbase: entry:NXentry/control:NXmonitor
3.235. NXxeuler
3.236. NXxeuler: NXxeuler/entry:NXentry
3.237. NXxeuler: entry:NXentry/instrument:NXinstrument
3.238. NXxeuler: instrument:NXinstrument/detector:NXdetector
3.239. NXxeuler: entry:NXentry/sample:NXsample
3.240. NXxkappa
3.241. NXxkappa: NXxkappa/entry:NXentry
3.242. NXxkappa: entry:NXentry/instrument:NXinstrument
3.243. NXxkappa: instrument:NXinstrument/detector:NXdetector
3.244. NXxkappa: entry:NXentry/sample:NXsample
3.245. NXxlaue
3.246. NXxlaue: NXxlaue/entry:NXentry
3.247. NXxlaue: entry:NXentry/instrument:NXinstrument
3.248. NXxlaue: instrument:NXinstrument/source:NXsource
3.249. NXxlaue: source:NXsource/distribution:NXdata
3.250. NXxlaueplate
3.251. NXxlaueplate: NXxlaueplate/entry:NXentry
3.252. NXxlaueplate: entry:NXentry/instrument:NXinstrument
3.253. NXxlaueplate: instrument:NXinstrument/detector:NXdetector
3.254. NXxnb
3.255. NXxnb: NXxnb/entry:NXentry
3.256. NXxnb: entry:NXentry/instrument:NXinstrument
3.257. NXxnb: instrument:NXinstrument/detector:NXdetector
3.258. NXxnb: entry:NXentry/sample:NXsample
3.259. NXxrot
3.260. NXxrot: NXxrot/entry:NXentry
3.261. NXxrot: entry:NXentry/instrument:NXinstrument
3.262. NXxrot: instrument:NXinstrument/detector:NXdetector
3.263. NXxrot: instrument:NXinstrument/attenuator:NXattenuator
3.264. NXxrot: entry:NXentry/sample:NXsample
3.265. NXbeamline
3.266. NXelectrostatic_kicker
3.267. NXelectrostatic_kicker: NXelectrostatic_kicker/read_current:NXlog
3.268. NXelectrostatic_kicker: NXelectrostatic_kicker/read_voltage:NXlog
3.269. NXmagnetic_kicker
3.270. NXmagnetic_kicker: NXmagnetic_kicker/read_current:NXlog
3.271. NXmagnetic_kicker: NXmagnetic_kicker/read_voltage:NXlog
3.272. NXquadrupole_magnet
3.273. NXquadrupole_magnet: NXquadrupole_magnet/read_current:NXlog
3.274. NXquadrupole_magnet: NXquadrupole_magnet/read_voltage:NXlog
3.275. NXsai_controller
3.276. NXseparator
3.277. NXseparator: NXseparator/read_Bfield_current:NXlog
3.278. NXseparator: NXseparator/read_Bfield_voltage:NXlog
3.279. NXseparator: NXseparator/read_Efield_current:NXlog
3.280. NXseparator: NXseparator/read_Efield_voltage:NXlog
3.281. NXsnsevent
3.282. NXsnsevent: NXsnsevent/NXentry
3.283. NXsnsevent: NXentry/DASlogs:NXcollection
3.284. NXsnsevent: DASlogs:NXcollection/NXlog
3.285. NXsnsevent: DASlogs:NXcollection/NXpositioner
3.286. NXsnsevent: NXentry/SNSHistoTool:NXnote
3.287. NXsnsevent: NXentry/instrument:NXinstrument
3.288. NXsnsevent: instrument:NXinstrument/SNS:NXsource
3.289. NXsnsevent: instrument:NXinstrument/NXdetector
3.290. NXsnsevent: NXdetector/origin:NXgeometry
3.291. NXsnsevent: origin:NXgeometry/orientation:NXorientation
3.292. NXsnsevent: origin:NXgeometry/shape:NXshape
3.293. NXsnsevent: origin:NXgeometry/translation:NXtranslation
3.294. NXsnsevent: instrument:NXinstrument/NXdisk_chopper
3.295. NXsnsevent: instrument:NXinstrument/moderator:NXmoderator
3.296. NXsnsevent: instrument:NXinstrument/NXaperture
3.297. NXsnsevent: NXaperture/origin:NXgeometry
3.298. NXsnsevent: origin:NXgeometry/orientation:NXorientation
3.299. NXsnsevent: origin:NXgeometry/shape:NXshape
3.300. NXsnsevent: origin:NXgeometry/translation:NXtranslation
3.301. NXsnsevent: instrument:NXinstrument/NXattenuator
3.302. NXsnsevent: instrument:NXinstrument/NXcrystal
3.303. NXsnsevent: NXcrystal/origin:NXgeometry
3.304. NXsnsevent: origin:NXgeometry/orientation:NXorientation
3.305. NXsnsevent: origin:NXgeometry/shape:NXshape
3.306. NXsnsevent: origin:NXgeometry/translation:NXtranslation
3.307. NXsnsevent: NXentry/NXmonitor
3.308. NXsnsevent: NXentry/sample:NXsample
3.309. NXsnsevent: NXentry/NXuser
3.310. NXsnshisto
3.311. NXsnshisto: NXsnshisto/NXentry
3.312. NXsnshisto: NXentry/DASlogs:NXcollection
3.313. NXsnshisto: DASlogs:NXcollection/NXlog
3.314. NXsnshisto: DASlogs:NXcollection/NXpositioner
3.315. NXsnshisto: NXentry/SNSHistoTool:NXnote
3.316. NXsnshisto: NXentry/instrument:NXinstrument
3.317. NXsnshisto: instrument:NXinstrument/SNS:NXsource
3.318. NXsnshisto: instrument:NXinstrument/NXdetector
3.319. NXsnshisto: NXdetector/origin:NXgeometry
3.320. NXsnshisto: origin:NXgeometry/orientation:NXorientation
3.321. NXsnshisto: origin:NXgeometry/shape:NXshape
3.322. NXsnshisto: origin:NXgeometry/translation:NXtranslation
3.323. NXsnshisto: instrument:NXinstrument/NXdisk_chopper
3.324. NXsnshisto: instrument:NXinstrument/NXfermi_chopper
3.325. NXsnshisto: instrument:NXinstrument/moderator:NXmoderator
3.326. NXsnshisto: instrument:NXinstrument/NXaperture
3.327. NXsnshisto: NXaperture/origin:NXgeometry
3.328. NXsnshisto: origin:NXgeometry/orientation:NXorientation
3.329. NXsnshisto: origin:NXgeometry/shape:NXshape
3.330. NXsnshisto: origin:NXgeometry/translation:NXtranslation
3.331. NXsnshisto: instrument:NXinstrument/NXattenuator
3.332. NXsnshisto: instrument:NXinstrument/NXcrystal
3.333. NXsnshisto: NXcrystal/origin:NXgeometry
3.334. NXsnshisto: origin:NXgeometry/orientation:NXorientation
3.335. NXsnshisto: origin:NXgeometry/shape:NXshape
3.336. NXsnshisto: origin:NXgeometry/translation:NXtranslation
3.337. NXsnshisto: NXentry/NXmonitor
3.338. NXsnshisto: NXentry/sample:NXsample
3.339. NXsnshisto: NXentry/NXuser
3.340. NXsolenoid_magnet
3.341. NXsolenoid_magnet: NXsolenoid_magnet/read_current:NXlog
3.342. NXsolenoid_magnet: NXsolenoid_magnet/read_voltage:NXlog
3.343. NXspin_rotator
3.344. NXspin_rotator: NXspin_rotator/read_Bfield_current:NXlog
3.345. NXspin_rotator: NXspin_rotator/read_Bfield_voltage:NXlog
3.346. NXspin_rotator: NXspin_rotator/read_Efield_current:NXlog
3.347. NXspin_rotator: NXspin_rotator/read_Efield_voltage:NXlog
3.348. NXtechnical_data
4.1. NeXus Data Model

List of Examples

1.1. line required for use with F90 API
1.2. UNIX example shell script to start jnexus.jar
1.3. Windows 32 example batch file to start jnexus.jar
1.4. fragment for opening and closing
1.5. fragment for writing and reading
1.6. String writing
1.7. String reading
1.8. C API signature of getinfo()
1.9. Java API signature of getinfo()
1.10. vGroup search
1.11. attribute search
1.12. configure NeXus source to build IDL bindings
1.13. line required for use with F90 API
1.14. use nxbuild to build simple programs
1.15. building and running a simple NeXus program
1.16. use of pkg-config to build simple programs
2.1. simple documentation in NXDL
3.1. Example fragment of a NeXus XML data file
3.2. Basic structure of NXaperture
3.3. Basic structure of NXattenuator
3.4. Basic structure of NXbeam
3.5. Basic structure of NXbeam_stop
3.6. Basic structure of NXbending_magnet
3.7. Basic structure of NXcapillary
3.8. Basic structure of NXcharacterization
3.9. Basic structure of NXcollection
3.10. Basic structure of NXcollimator
3.11. Basic structure of NXcrystal
3.12. Basic structure of NXdata
3.13. Basic structure of NXdetector
3.14. Basic structure of NXdetector_group
3.15. Basic structure of NXdisk_chopper
3.16. Basic structure of NXentry
3.17. Basic structure of NXenvironment
3.18. Basic structure of NXevent_data
3.19. Basic structure of NXfermi_chopper
3.20. Basic structure of NXfilter
3.21. Basic structure of NXflipper
3.22. Basic structure of NXgeometry
3.23. Basic structure of NXguide
3.24. Basic structure of NXinsertion_device
3.25. Basic structure of NXinstrument
3.26. Basic structure of NXlog
3.27. Basic structure of NXmirror
3.28. Basic structure of NXmoderator
3.29. Basic structure of NXmonitor
3.30. Basic structure of NXmonochromator
3.31. Basic structure of NXnote
3.32. Basic structure of NXobject
3.33. Basic structure of NXorientation
3.34. Basic structure of NXparameters
3.35. Basic structure of NXpolarizer
3.36. Basic structure of NXpositioner
3.37. Basic structure of NXprocess
3.38. Basic structure of NXroot
3.39. Basic structure of NXsample
3.40. Basic structure of NXsensor
3.41. Basic structure of NXshape
3.42. Basic structure of NXsource
3.43. Basic structure of NXsubentry
3.44. Basic structure of NXtranslation
3.45. Basic structure of NXuser
3.46. Basic structure of NXvelocity_selector
3.47. Basic structure of NXxraylens
3.48. Basic structure of NXarchive
3.49. Basic structure of NXdirecttof
3.50. Basic structure of NXfluo
3.51. Basic structure of NXindirecttof
3.52. Basic structure of NXiqproc
3.53. Basic structure of NXlauetof
3.54. Basic structure of NXmonopd
3.55. Basic structure of NXrefscan
3.56. Basic structure of NXreftof
3.57. Basic structure of NXsas
3.58. Basic structure of NXsastof
3.59. Basic structure of NXscan
3.60. Basic structure of NXspe
3.61. Basic structure of NXsqom
3.62. Basic structure of NXtas
3.63. Basic structure of NXtofnpd
3.64. Basic structure of NXtofraw
3.65. Basic structure of NXtofsingle
3.66. Basic structure of NXtomo
3.67. Basic structure of NXtomophase
3.68. Basic structure of NXtomoproc
3.69. Basic structure of NXxas
3.70. Basic structure of NXxasproc
3.71. Basic structure of NXxbase
3.72. Basic structure of NXxeuler
3.73. Basic structure of NXxkappa
3.74. Basic structure of NXxlaue
3.75. Basic structure of NXxlaueplate
3.76. Basic structure of NXxnb
3.77. Basic structure of NXxrot
3.78. Basic structure of NXbeamline
3.79. Basic structure of NXelectrostatic_kicker
3.80. Basic structure of NXmagnetic_kicker
3.81. Basic structure of NXquadrupole_magnet
3.82. Basic structure of NXsai_controller
3.83. Basic structure of NXseparator
3.84. Basic structure of NXsnsevent
3.85. Basic structure of NXsnshisto
3.86. Basic structure of NXsolenoid_magnet
3.87. Basic structure of NXspin_rotator
3.88. Basic structure of NXtechnical_data
4.1. NAPI C Example: write simple NeXus file
4.2. NAPI F77 Example: write simple NeXus file
4.3. NAPI F90 Example: write simple NeXus file
4.4. NAPI Python Example: write simple NeXus file
4.5. NAPI Python Example: h5dump output of NeXus HDF5 file
4.6. NAPI Python Example: h5toText output of NeXus HDF5 file
4.7. Writing a simple NeXus file using native HDF5 commands
4.8. Reading a simple NeXus file using native HDF5 commands
4.9. two-column data for our mr_scan
4.10. BasicWriter.py: Write a NeXus HDF5 file using Python with h5py
4.11. BasicReader.py: Read a NeXus HDF5 file using Python with h5py
4.12. Output from BasicReader.py
4.13. LRMECS lrcs3701 data: h5dump output