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_Conics_pairs

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

The Test_Conics_pairs Instrument

Unit test instrument for Conics Pairs components

Identification

  • Site: Tests_optics
  • Author: Erik B Knudsen (erkn@fysik.dtu.dk)
  • Origin: DTU Physics
  • Date: Dec '21

Description

* Example instrument that shows some ways of using the Conics pair components

*

Examples

(Test cases in bold)
  • Test: Test_Conics_pairs OPTIC=1 Detector: psd_i_I=7.13655e-13
  • * %Example: Test_Conics_pairs OPTIC=1 Detector: psd_i_reflections_2_I=7.13655e-13
  • * %Example: Test_Conics_pairs OPTIC=2 fs=100000 Detector: psd_i_I=3.65133e-21
  • * %Example: Test_Conics_pairs OPTIC=2 fs=100000 Detector: psd_i_reflections_2_I=3.65072e-21
  • * %Example: Test_Conics_pairs OPTIC=3 Detector: psd_i_I=7.13655e-13
  • * %Example: Test_Conics_pairs OPTIC=4 ssize=1e-4 Detector: psd_i_I=8.44676e-09
  • * %Example: Test_Conics_pairs quadratic=1 Detector: psd_i_I=5.23944e-13
  • * %Example: Test_Conics_pairs quadratic=1 fs=8 fi=6 Detector: psd_i_I=1.2236e-12
  • * %Example: Test_Conics_pairs OPTIC=2 quadratic=1 fs=100000 Detector: psd_i_I=2.71421e-21
  • * %Example: Test_Conics_pairs OPTIC=3 quadratic=1 Detector: psd_i_I=5.23944e-13
  • * %Example: Test_Conics_pairs OPTIC=3 quadratic=1 fs=8 fi=6 Detector: psd_i_I=8.80918e-13
  • * %Example: Test_Conics_pairs OPTIC=4 quadratic=1 ssize=1e-4 Detector: psd_i_I=6.42631e-09

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
OPTIC Flag to choose between 1: EH pair, 2: PH pair, 3: HE pair, 4: PP pair1
ssizemSource radius1e-6
fsmDistance betwee nsource and optic mid plane10
fimDistance between optics mid plane and focal point.10
R01Mirror substrate reflectivity0.99
m1m-value of supermirrors3
WAA^-1Width of supermirror cut-off0.003
alphaAASlope of reflectivity for reflectivity curve approximation6.07
nshells1Number of Wolter-optic shells4
rminmRadius of the innermost shell0.0031416
rmaxmRadius of the outermost shell0.05236
quadratic Use the quadratic shell-radius mode instead of the radii vector0
sigma_mradRMS meridional slope (figure) error of the mirrors1e-6
sigma_sradRMS sagittal slope (figure) error of the mirrors250e-6

Links


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

Generated for mcstas 3.10.0


Last Modified: Friday, 23-Oct-2026 18:32:10 CEST
Search website mailinglist archive GitHub repos