\(\renewcommand\AA{\unicode{x212B}}\)
Table of Contents
Appends the resolved instrument geometry (detectors and monitors for now) to a SNS ADARA NeXus file.
Name | Direction | Type | Default | Description |
---|---|---|---|---|
Filename | Input | string | Mandatory | The name of the NeXus file to append geometry to. Allowed extensions: [‘.nxs’, ‘.h5’] |
MakeCopy | Input | boolean | True | Copy the NeXus file first before appending (optional, default True). |
This algorithm is intended to append the geometry information into a raw NeXus file. It is initially for use only at the SNS, as it is needed for the currently upgrade program. But there is nothing preventing it being used elsewhere.
The algorithm takes the geometry information in the IDF together with the log values in a given NeXus file and calculates the resolved positions of all the detectors and then writes this into the NeXus file specified.
This a currently a Proof of Concept algorithm. If it matures into normal use a usage example must be added.
Categories: AlgorithmIndex | DataHandling\DataAcquisition
C++ header: AppendGeometryToSNSNexus.h (last modified: 2020-03-25)
C++ source: AppendGeometryToSNSNexus.cpp (last modified: 2020-08-03)