NeXus
From reflectometry.org
[NeXus] is many different file formats under one name.
There are two NeXus formats planned for reflectometry:
- TOFNREF for time-of-flight neutron reflectometry
- MONOREF for monochromatic X-ray and neutron reflectometry
Format definitions for particular measurements are composed of an Instrument, a Sample, Monitor, Data and a set of environment Logs. The instrument itself is composed of classes describing components such as polarizer, attenuator, beam stop, aperature and detector. The goal is to standardization of the names and locations for information relevant to reduction, so that for example, the distance between sample and detector can be stored and retrieved no matter which instrument the data was used to acquire the data. Eventually software will be able to support reduction and analysis of instruments around the world.
The storage format for a NeXus file may be in HDF4, HDF5 or XML. The NeXus C API hides the details of the backend storage. There are bindings to multiple languages such as IDL and Python.

