Table of Contents
Name | Direction | Type | Default | Description |
---|---|---|---|---|
InputWorkspace | Input | MatrixWorkspace | Mandatory | Input workspace |
OutputWorkspace | Output | MatrixWorkspace | Mandatory | Sorted Output Workspace |
Ordering | Input | string | Ascending | Ascending or descending sorting. Allowed values: [‘Ascending’, ‘Descending’] |
Clones the input Matrix Workspaces and orders the x-axis in an ascending or descending fashion. Ensures that the y-axis and error data as well as optional Dx data are sorted in a consistent way with the x-axis.
This algorithm is for use with small workspaces loaded. It is particularly suitable for reformatting workspaces loaded via LoadAscii. Input workspaces must be point data.
Categories: Algorithms | Transforms\Axes | Utility\Sorting
Python: SortXAxis.py (last modified: 2018-04-09)