Table of Contents
Name | Direction | Type | Default | Description |
---|---|---|---|---|
InputWorkspace | Input | MatrixWorkspace | Mandatory | An input workspace. |
Filename | Input | string | Mandatory | The filename to use for the saved data. Allowed extensions: [‘.gr’] |
This algorithm saves G(r) files consistent with PDFGui. The body of the file is of the form r Gr dr dGr.
Example - SavePDFGui
# Create a host workspace
ws = CreateWorkspace(DataX=range(0,3), DataY=range(0,3), UnitX="Angstrom")
# Create a filename
import os
path = os.path.join(os.path.expanduser("~"), "savepdfgui.gr")
# Save as G(r) file
SavePDFGui(ws, path)
# Check that the file exists
print(os.path.isfile(path))
Output:
True
Categories: AlgorithmIndex | DataHandling\Text
C++ source: SavePDFGui.cpp (last modified: 2019-07-17)
C++ header: SavePDFGui.h (last modified: 2018-10-05)