AppendGeometryToSNSNexus v1

../_images/AppendGeometryToSNSNexus-v1_dlg.png

AppendGeometryToSNSNexus dialog.

Summary

Appends the resolved instrument geometry (detectors and monitors for now) to a SNS ADARA NeXus file.

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: Algorithm Index | DataHandling\DataAcquisition

Source

C++ source: AppendGeometryToSNSNexus.cpp (last modified: 2018-10-05)

C++ header: AppendGeometryToSNSNexus.h (last modified: 2018-10-05)