Table of Contents
Saves a 5-column ASCII .cal file from up to 3 workspaces: a GroupingWorkspace, OffsetsWorkspace and/or MaskWorkspace.
Name | Direction | Type | Default | Description |
---|---|---|---|---|
GroupingWorkspace | Input | GroupingWorkspace | Optional: An GroupingWorkspace workspace giving the grouping info. | |
OffsetsWorkspace | Input | OffsetsWorkspace | Optional: An OffsetsWorkspace workspace giving the detector calibration values. | |
MaskWorkspace | Input | MaskWorkspace | Optional: An Workspace workspace giving which detectors are masked. | |
Filename | Input | string | Mandatory | Path to the .cal file that will be created. Allowed extensions: [‘.cal’] |
OffsetPrecision | Input | number | 7 | Precision of offsets (between 7 and 11 decimal). |
This algorithm saves an ARIEL-style 5-column ASCII .cal file. Here is an excerpt:
# Calibration file for instrument POWGEN written on 2014-02-14T18:46:31.610072000.
# Format: number UDET offset select group
0 -1 0.0000000 1 0
1 110000 0.0001250 1 1
2 110001 0.0003750 1 1
3 110002 -0.0020000 1 1
4 110003 0.0000000 0 1
5 110004 0.0000000 0 1
The format is
Categories: Algorithms | DataHandling | Text | Diffraction