SortXAxis v1

../_images/SortXAxis-v1_dlg.png

SortXAxis dialog.

Summary

Clones the input MatrixWorkspace(s) and orders the x-axis in an ascending fashion.

Properties

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’]

Description

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

Source

Python: SortXAxis.py (last modified: 2018-04-09)