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_Monochromator_bent_complex

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

The Test_Monochromator_bent_complex Instrument

A test instrument that highlights Monochromator Bent complex's capabilities

Identification

  • Site: Tests_optics
  • Author: Jakob Lass (jakob.lass@psi.ch) and modified by Daniel Lomholt Christensen (daniel.lomholt.2000@gmail.com)
  • Origin: PSI/LSN
  • Date: 20250702

Description

This is a first draft for the WARP instrument proposal, as created by
Daniel Gabriel Mazzone (daniel.mazzone@psi.ch) and Jakob Lass
(jakob.lass@psi.ch). This instrument introduces how to use the Monochromator_bent_complex
component in an instrument draft.

Examples

(Test cases in bold)
  • Test: Test_Monochromator_bent_complex.instr mos=60 Detector: E_PSD_mon_end_I=0.000215194
  • Test: Test_Monochromator_bent_complex.instr mos=60 use_single_plane=1 Detector: E_PSD_mon_end_I=0.000215194

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
sample_xmSource horz illumination0.005
sample_ymSource vert illumination0.015
L0mZ-displacement of detector wrt. rotation point1.38000
L1mY-displacement of detector wrt. rotation point2.47143
LdmDetector width2
det_rotmDetector rotation-6.00000
mosarcminMonochromator mosaicity60
extradegPerturbation rotation angle0
use_single_planeflagFlag indicating whether the crystal should be instantiated with a single plane of reflection, instead of 92 planes0

Links

  • Source code for Test_Monochromator_bent_complex.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