\(\renewcommand\AA{\unicode{x212B}}\)
Table of Contents
Name | Direction | Type | Default | Description |
---|---|---|---|---|
ReducedWorkspace | Input | MatrixWorkspace | Mandatory | Reduced Workspace |
SqwWorkspace | Input | MatrixWorkspace | Mandatory | S(Q,w) Workspace |
OutputWorkspace | Output | WorkspaceGroup | MuscatResults | Name for results workspaces |
SampleMassDensity | Input | number | 1 | Sample mass density. Default=1.0 |
SampleChemicalFormula | Input | string | Sample Chemical formula | |
Height | Input | number | 1 | Height of the sample environment (cm) |
Shape | Input | string | FlatPlate | Geometry of sample environment. Options are: FlatPlate, Cylinder, Annulus. Allowed values: [‘FlatPlate’, ‘Cylinder’, ‘Annulus’] |
Width | Input | number | 1 | Width of the FlatPlate sample environment (cm) |
Thickness | Input | number | 0.1 | Thickness of the FlatPlate sample environment (cm) |
Angle | Input | number | 0 | Angle of the FlatPlate sample environment with respect to the beam (degrees) |
SampleRadius | Input | number | 0.5 | Sample radius (cm). Default=0.5 |
SampleInnerRadius | Input | number | 0.5 | Sample inner radius (cm). Default=0.5 |
SampleOuterRadius | Input | number | 0.6 | Sample outer radius (cm). Default=0.6 |
NeutronPathsSingle | Input | number | 1000 | Number of paths for single scattering. Default=1000 |
NeutronPathsMultiple | Input | number | 1000 | Number of paths for multiple scattering. Default=1000 |
NumberScatterings | Input | number | 1 | Number of scatterings. Default=1 |
Sets up a sample shape, along with the required material properties, and runs the DiscusMultipleScatteringCorrection algorithm. This algorithm merely serves as a simpler interface to define the shape & material of the sample without having to resort to the more complex SetSample algorithm. The computational part is all taken care of by DiscusMultipleScatteringCorrection. Please see that documentation for more details. Currently the shape geometries supported are:
Categories: AlgorithmIndex | Workflow\MIDAS
Python: SimpleShapeDiscusInelastic.py