\(\renewcommand\AA{\unicode{x212B}}\)
SaveIsawQvector v1¶
Summary¶
Save an event workspace as an ISAW Q-vector file
Properties¶
Name |
Direction |
Type |
Default |
Description |
---|---|---|---|---|
InputWorkspace |
Input |
Mandatory |
An input EventWorkspace with units along X-axis and defined instrument with defined sample |
|
Filename |
Input |
string |
Optional path to an hkl file to save. Vectors returned if no file requested. Allowed extensions: [‘.bin’] |
|
RightHanded |
Input |
boolean |
True |
Save the Q-vector as k_f - k_i |
ISAWcoords |
Input |
boolean |
True |
Save the Q-vector with y gravitationally up and x pointing downstream |
Qx_vector |
Output |
dbl list |
The name of the vector in which to store the list of Qx |
|
Qy_vector |
Output |
dbl list |
The name of the vector in which to store the list of Qy |
|
Qz_vector |
Output |
dbl list |
The name of the vector in which to store the list of Qz |
Description¶
This takes an unprocessed event workspace and writes out a file where each event has the \((Q_x, Q_y, Q_z)\) as a set of 32-bit floats.
Categories: AlgorithmIndex | DataHandling\Isaw
Source¶
C++ header: SaveIsawQvector.h
C++ source: SaveIsawQvector.cpp