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: Algorithms | Utility | Development