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_PerfectCrystal

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

The Test_PerfectCrystal Instrument

Si(111) backscattering: PerfectCrystal compared with an NCrystal single crystal.

Identification

  • Site: Tests_optics
  • Author: Peter Willendrup
  • Origin: DTU
  • Date: November 2026

Description

A near-parallel beam hits a flat Si(111) crystal at normal incidence. The
backscattered spectrum is recorded upstream. PerfectCrystal (crystal=0) uses an
Ewald curve with plateau width dtauovertau. NCrystal_sample (crystal=1) uses a
mosaic single crystal; at backscattering its acceptance is a one-sided band of
relative width about $\mathrm{mos}^2/2$ below 2d, so mos=0.35 deg matches the Darwin width.
Both give the same peak wavelength (2d=6.2708 AA) and plateau reflectivity
(R=1); the line shapes differ.

Examples

(Test cases in bold)
  • Test: crystal=0 Detector: lam_I=5.37981e-16
  • Test: crystal=1 mos=0.35 Detector: lam_I=8.97065e-16

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
crystal10: PerfectCrystal, 1: NCrystal_sample0
dtauovertau1Ewald plateau width of PerfectCrystal1.86e-5
mosdegNCrystal mosaicity0.001
zdepthmNCrystal crystal thickness0.002
dLAASource wavelength half spread around 2d0.0005

Links


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

Generated for mcstas 3.10.5


Last Modified: Wed Dec 2 00:25:28 2026
Search website mailinglist archive GitHub repos