\(\renewcommand\AA{\unicode{x212B}}\)

SaveDiffCal v1

../_images/SaveDiffCal-v1_dlg.png

SaveDiffCal dialog.

Summary

Saves a calibration file for powder diffraction

Properties

Name Direction Type Default Description
CalibrationWorkspace Input TableWorkspace Mandatory An output workspace.
GroupingWorkspace Input GroupingWorkspace   Optional: A GroupingWorkspace giving the grouping info.
MaskWorkspace Input MaskWorkspace   Optional: A MaskWorkspace giving which detectors are masked.
Filename Input string Mandatory Path to the .h5 file that will be created. Allowed extensions: [‘.h5’]

Description

This algorithm saves a diffraction calibration workspace, MaskWorkspace, and GroupingWorkspace to a HDF5 file.

The hierarchy of the HDF5 file is as follows:

calibration
detid
dasid (only if present in CalibrationWorkspace)
difa
tzero
group
use (“0” if detector is not successfully calibrated, “1” otherwise)
offset (only if present in CalibrationWorkspace)
instrument
name
instrument_source (absolute path to the instrument definition file)

Categories: AlgorithmIndex | DataHandling\Instrument | Diffraction\DataHandling

Source

C++ header: SaveDiffCal.h (last modified: 2021-03-31)

C++ source: SaveDiffCal.cpp (last modified: 2021-03-31)