\(\renewcommand\AA{\unicode{x212B}}\)

ConvertHFIRSCDtoMDE v1

../_images/ConvertHFIRSCDtoMDE-v1_dlg.png

ConvertHFIRSCDtoMDE dialog.

Summary

Convert from the detector vs scan index MDHistoWorkspace into a MDEventWorkspace with units in Q_sample.

Properties

Name Direction Type Default Description
InputWorkspace Input IMDHistoWorkspace Mandatory An input workspace.
Wavelength Input number Mandatory Wavelength
MinValues Input dbl list -10,-10,-10 It has to be 3 comma separated values, one for each dimension in q_sample.Values smaller then specified here will not be added to workspace.
MaxValues Input dbl list 10,10,10 A list of the same size and the same units as MinValues list. Values higher or equal to the specified by this list will be ignored
SplitInto Input int list 5 A comma separated list of into how many sub-grid elements each dimension should split; or just one to split into the same number for all dimensions. Default 5.
SplitThreshold Input number 1000 How many events in a box before it should be split. Default 1000.
MaxRecursionDepth Input number 20 How many levels of box splitting recursion are allowed. The smallest box will have each side length \(l = (extents) / (SplitInto^{MaxRecursionDepth}).\) Default 20.
OutputWorkspace Output MDEventWorkspace Mandatory An output workspace.

Description

This algorithm will convert the output of LoadWANDSCD v1 or the autoreduced data from DEMAND (HB3A) into a MDEventWorkspace in Q-sample, where every pixel at every scan point is converted to a MDEvent. This is similar to ConvertWANDSCDtoQ v1 except that it doesn’t histogram the data or do normalization. FindPeaksMD v1 can be run on the output Q sample space, then the UB can be found and used to then convert to HKL using ConvertWANDSCDtoQ v1 . IntegratePeaksMD v2 will also work on the output of this algorithm.

Usage

Example - ConvertHFIRSCDtoMDE

LoadWANDSCD(IPTS=7776, RunNumbers='26640-27944', OutputWorkspace='data',Grouping='4x4')
ConvertHFIRSCDtoMDE(InputWorkspace='data',
                    Wavelength=1.488,
                    OutputWorkspace='Q')

Output:

../_images/ConvertHFIRSCDtoMDE.png

Categories: AlgorithmIndex | MDAlgorithms\Creation

Source

C++ header: ConvertHFIRSCDtoMDE.h (last modified: 2020-06-22)

C++ source: ConvertHFIRSCDtoMDE.cpp (last modified: 2020-04-07)