Table of Contents
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’] |
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: Algorithms | DataHandling\Text
C++ source: SaveReflCustomAscii.cpp (last modified: 2017-09-09)
C++ header: SaveReflCustomAscii.h (last modified: 2016-06-07)