Table of Contents
Name | Direction | Type | Default | Description |
---|---|---|---|---|
Filename | Input | string | Mandatory | The filename (including its full or relative path) of an instrument definition file. Allowed extensions: [‘.xml’] |
NumAzimuth | Input | number | 100 | Steps in azimuthal angles |
NumZenith | Input | number | 50 | Steps in zenith angles |
OutputWorkspace | Output | MatrixWorkspace | Mandatory | An output workspace. |
Algorithm to test ray tracer by spraying evenly spaced rays around. Only for debugging / testing.
Example - MARI
import os
inst_dir = config["instrumentDefinition.directory"]
inst_file_path = os.path.join(inst_dir,"MARI_Definition.xml")
ws=RayTracerTester(inst_file_path)
Categories: AlgorithmIndex | Utility\Development
C++ source: RayTracerTester.cpp (last modified: 2019-06-05)
C++ header: RayTracerTester.h (last modified: 2018-10-05)