McStas logo McStas - A neutron ray-trace simulation package ILL; PSI; ESS Niels Bohr Institute DTU Physics

McStas

About McStas
 Conditions of use
 Authors/Contacts
 Project funding

Download
 Components

Mailing list

Search web/mailinglist

Documentation
 Wiki (GitHub)
 McStas manual
 Publications

Links

Report bugs (GitHub)

Code-repository (GitHub)



McStas: Test_abs_logger_1D_space_t_lam

[ Identification | Description | Examples | Input parameters | Links ]

The Test_abs_logger_1D_space_t_lam Instrument

Test of abs_logger_1D_space_tof_to_lambda that calculates wavelength from tof

Identification

  • Site: Tests_union
  • Author: Mads Bertelsen
  • Origin: ESS
  • Date: June 2020

Description

This component works as other absorption loggers, but converts the tof and
position data to wavelength, which is then compared to the actual wavelength
calculated from the neutron state. The neutron position used to calculate
the wavelength is pixelated while the time of flight is continous. The
distance from source to sample is an input parameter, and the distance from
sample to a detector pixel is calculated using the reference component position
which should be specified with a relative component index. This test checks
both the standard view with measured and true wavelength on each axis, and the
relative where they have been normalized and a value of 1 is expected.

Includes conditional component to test record_to_temp functionality
of investigated abs_logger.

Examples

(Test cases in bold)

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault

Links

  • Source code for Test_abs_logger_1D_space_t_lam.instr.

[ Identification | Description | Examples | Input parameters | Links ]

Generated for mcstas 3.10.2


Last Modified: Tue Nov 3 18:52:15 2026
Search website mailinglist archive GitHub repos