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


About McStas
 Conditions of use
 Project funding

 Other Downloads (share)

Mailing list

Search web/mailinglist

 Wiki (GitHub)
 McStas manual


Report bugs (GitHub)

Code-repository (GitHub)

McStas: Test_focus

[ Identification | Description | Input parameters | Links ]

The Test_focus Instrument

Focus testing, comparing Single_crystal and Monochromator_curved


  • Site: Tests_optics
  • Author: Tobias Weber (
  • Origin: ILL
  • Date: 3-Feb-2018


For mono_ideal=0 the Single_crystal component is used as monochromator,
for mono_ideal=1 Monochromator_curved is used with the same settings.

The curvature of the monochromator can be set using mono_curvh and mono_curvv
for horizontal and vertical focusing, respectively.
For mono_curvh=0, mono_curvv=0 the monochromator is flat.
For mono_curvh=-1, mono_curvv=-1 optimal horizontal and vertical focusing is chosen.

Input parameters

Parameters in boldface are required; the others are optional.
src_lamAASource mean wavelength4.5
src_dlamAASource wavelength spread1.0
mono_ideal Selection of mono-model 0=Single_crystal, 1=Monochromator_curved0
mono_curvhmMonochromator horizontal curvature. -1: optimal, 0: flat-1
mono_curvvmMonochromator vertical curvature -1: optimal, 0: flat-1


[ Identification | Description | Input parameters | Links ]

Generated on 2023-09-19 20:01:36

Last Modified: Tuesday, 16-Apr-2024 20:05:20 CEST
Search website mailinglist archive GitHub repos