RayTracerTester v1

../_images/RayTracerTester-v1_dlg.png

RayTracerTester dialog.

Summary

Algorithm to test ray tracer by spraying evenly spaced rays around.

Properties

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.

Description

Algorithm to test ray tracer by spraying evenly spaced rays around. Only for debugging / testing.

Usage

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

Source

C++ source: RayTracerTester.cpp (last modified: 2019-06-05)

C++ header: RayTracerTester.h (last modified: 2018-10-05)