\(\renewcommand\AA{\unicode{x212B}}\)
LoadDiffCal v1¶
Summary¶
Loads a calibration file for powder diffraction
See Also¶
Properties¶
Name |
Direction |
Type |
Default |
Description |
---|---|---|---|---|
InputWorkspace |
Input |
Optional: An input workspace with the instrument we want to use. |
||
InstrumentName |
Input |
string |
Optional: Name of the instrument on which to base the GroupingWorkspace. |
|
InstrumentFilename |
Input |
string |
Optional: Path to a file (full or relative) defining the instrument on which to base the GroupingWorkspace. The file could be an IDF or a NeXus Geometry file. Note, InstrumentFilename or InstrumentName must be specified, but not both. Allowed extensions: [‘.xml’, ‘.hdf5’, ‘.nxs’, ‘.nxs.h5’] |
|
Filename |
Input |
string |
Mandatory |
Path to the input calibration file. Allowed extensions: [‘.h5’, ‘.hd5’, ‘.hdf’, ‘.cal’] |
GroupFilename |
Input |
string |
Overrides grouping from CalFileName. Allowed extensions: [‘.xml’, ‘.h5’, ‘.hd5’, ‘.hdf’, ‘.cal’] |
|
MakeGroupingWorkspace |
Input |
boolean |
True |
Set to true to create a GroupingWorkspace with called WorkspaceName_group. |
MakeCalWorkspace |
Input |
boolean |
True |
Set to true to create a CalibrationWorkspace with called WorkspaceName_cal. |
MakeMaskWorkspace |
Input |
boolean |
True |
Set to true to create a MaskWorkspace with called WorkspaceName_mask. |
WorkspaceName |
Input |
string |
The base of the output workspace names. Names will have ‘_group’, ‘_cal’, ‘_mask’ appended to them. |
|
TofMin |
Input |
number |
0 |
Minimum for TOF axis. Defaults to 0. |
TofMax |
Input |
number |
Optional |
Maximum for TOF axis. Defaults to Unused. |
FixConversionIssues |
Input |
boolean |
True |
Set DIFA and TZERO to zero if there is an error and the pixel is masked |
Description¶
This algorithm creates up to three workspaces from a hdf5 file:
diffraction calibration workspace contains information on converting from time-of-flight to d-spacing
MaskWorkspace
contains which pixels to use (by deleting the unused ones)GroupingWorkspace
describes which pixels get added together by DiffractionFocussing v2
Categories: AlgorithmIndex | DataHandling\Instrument | Diffraction\DataHandling
Source¶
C++ header: LoadDiffCal.h
C++ source: LoadDiffCal.cpp