SaveReflCustomAscii v1

../_images/SaveReflCustomAscii-v1_dlg.png

SaveReflCustomAscii dialog.

Table of Contents

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.

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: Algorithms | DataHandling | Text