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

SaveCalFile v1

../_images/ImageNotFound.png

Enable screenshots using DOCS_SCREENSHOTS in CMake

Summary

Saves a 5-column ASCII .cal file from up to 3 workspaces: a GroupingWorkspace, OffsetsWorkspace and/or MaskWorkspace.

See Also

SaveDiffCal, ReadGroupsFromFile, CreateDummyCalFile, CreateCalFileByNames, AlignDetectors, DiffractionFocussing, LoadCalFile, MergeCalFiles

Properties

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).

Description

This algorithm saves an ARIEL-style 5-column ASCII .cal file. The full description can be found here.

LoadCalFile v1

Categories: AlgorithmIndex | DataHandling\Text | Diffraction\DataHandling\CalFiles

Source

C++ header: SaveCalFile.h

C++ source: SaveCalFile.cpp