\(\renewcommand\AA{\unicode{x212B}}\)
SNSAppendGeometryToNexus v1¶
Warning
The algorithm ‘AppendGeometryToSNSNexus’ is deprecated on 2021-09-14.Please use ‘SNSAppendGeometryToNexus’ instead.
Summary¶
Appends the resolved instrument geometry (detectors and monitors for now) to a SNS ADARA NeXus file.
See Also¶
This algorithm is also known as: AppendGeometryToSNSNexus
Properties¶
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). |
Description¶
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.
Usage¶
This a currently a Proof of Concept algorithm. If it matures into normal use a usage example must be added.
Categories: AlgorithmIndex | DataHandling\DataAcquisition
Source¶
C++ header: SNSAppendGeometryToNexus.h
C++ source: SNSAppendGeometryToNexus.cpp