SaveReflCustomAscii v1

../_images/SaveReflCustomAscii-v1_dlg.png

SaveReflCustomAscii dialog.

Warning

SaveReflCustomAscii is deprecated (on 2018-06-29). Use SaveReflectometryAscii instead.

Summary

Saves a 2D workspace to a ascii file.

Properties

Name Direction Type Default Description
InputWorkspace Input MatrixWorkspace Mandatory The name of the workspace containing the data you want to save.
Filename Input string Mandatory The filename of the output file. Allowed extensions: [‘.dat’]
LogList Input str list   List of logs to write to file.
Title Input string   Text to be written to the Title field
WriteDeltaQ Input boolean False If true, the error on DeltaQ will be written as the fourth column.
Subtitle Input boolean False If true, subtitle added to header.
Separator Input string tab The separator used for splitting data columns. Allowed values: [‘comma’, ‘space’, ‘tab’]

Description

This is a custom save method as there is the ability to customise the headers, including adding log lists and subtitles as required. The workspace data are stored in the file in columns: the first column contains the X-values, followed by pairs of Y and E values. There is an optional fourth column of Delta Q values. Columns are separated by spaces. This is used by the reflectometry interface.

Categories: AlgorithmIndex | DataHandling\Text | Deprecated

Source

C++ source: SaveReflCustomAscii.cpp (last modified: 2019-06-04)

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