Table of Contents
Name | Direction | Type | Default | Description |
---|---|---|---|---|
InputWorkspace | Input | Workspace | Mandatory | Workspace to save |
OutputFilename | Input | string | Mandatory | Name of the savefile. Allowed extensions: [‘.h5’] |
NXentry | Input | string | Overrides the NXentry name from the workspace name | |
DataType | Input | string | float32 | All data saved will be converted to this type. Allowed values: [‘float32’, ‘float64’] |
Compression | Input | string | gzip | Algorithm for compressing data. Allowed values: [‘gzip’, ‘lzf’, ‘None’] |
WriteMomentumTransfer | Input | boolean | True | Add the momentum transfer (Q) axis to the file |
ProtonChargeUnits | Input | string | uA.hour | Allowed values: [‘uA.hour’, ‘C’, ‘pC’] |
Append | Input | boolean | False |
The file created by this algorithm saves a single workspace in a single NXentry of a NeXus file. The x-axes are saved in time-of-flight, d-spacing, and (optionally) momentum transfer. The file is formated to support the rules for NXdata, NXdetector, and simple plotting. Fields that appear to be in the file twice are actually hard links to the same object. The format of the file (for a workspace with a single spectrum is described with the tree (starting inside the NXentry)
A description of the NeXus coordinate system contains images describing the coordinates.
Categories: Algorithms | DataHandling\Nexus
Python: SaveNexusPD.py (last modified: 2017-09-06)