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: Monochromator_pol

[ Identification | Description | Input parameters | Links ]

The Monochromator_pol Component

Flat polarizing monochromator crystal.

Identification

  • Author: Peter Christiansen
  • Origin: RISOE
  • Date: 2006

Description

Based on Monochromator_flat.
Flat, infinitely thin mosaic crystal, useful as a monochromator or analyzer.
For an unrotated monochromator component, the crystal surface lies in the Y-Z
plane (ie. parallel to the beam).
The mosaic and d-spread distributions are both Gaussian.
Neutrons are just reflected (billiard ball like). No correction is done for
mosaicity of reflecting crystal.
The crystal is assumed to be a ferromagnet with spin pointing up
eta-tilde = (0, 1, 0) (along y-axis), so that the magnetic field is
pointing opposite (0, -|B|, 0).

The polarisation is done by defining the reflectivity for spin up
(Rup) and spin down (Rdown) (which can be negative, see now!) and
based on this the nuclear and magnetic structure factors are
calculated:
$F_M = \mathrm{sign}(R_\mathrm{up})\sqrt{|R_\mathrm{up}|} + \mathrm{sign}(R_\mathrm{down})\sqrt{|R_\mathrm{down}|}$
$F_N = \mathrm{sign}(R_\mathrm{up})\sqrt{|R_\mathrm{up}|} - \mathrm{sign}(R_\mathrm{down})\sqrt{|R_\mathrm{down}|}$
and the physics is calculated as follows. With the incoming polarisation (sx_in, sy_in, sz_in), the reflectivity is
$R_0 = F_N^2 + 2F_N F_M s_{y,\mathrm{in}} + F_M^2$
(= |Rup| + |Rdown| for sy_in=0), and the outgoing polarisation is
$s_x = \frac{(F_N^2 - F_M^2)\,s_{x,\mathrm{in}}}{R_0}, \quad s_y = \frac{(F_N^2 - F_M^2)\,s_{y,\mathrm{in}} + 2F_N F_M + F_M^2 s_{y,\mathrm{in}}}{R_0}, \quad s_z = \frac{(F_N^2 - F_M^2)\,s_{z,\mathrm{in}}}{R_0}$
These equations are taken from: Lovesey: "Theory of neutron scattering from condensed matter, Volume 2", Eq. 10.96 and Eq. 10.110 This component works with gravity (uses PROP_X0). Example: Monochromator_pol(zwidth=0.2, yheight=0.2, mosaic=30.0, dspread=0.0025, Rup=1.0, Rdown=0.0, Q=1.8734) Monochromator lattice parameter PG 002 DM=3.355 AA (Highly Oriented Pyrolytic Graphite) PG 004 DM=1.677 AA Heusler 111 DM=3.362 AA (Cu2MnAl) CoFe DM=1.771 AA (Co0.92Fe0.08) Ge 111 DM=3.266 AA Ge 311 DM=1.714 AA Ge 511 DM=1.089 AA Ge 533 DM=0.863 AA Si 111 DM=3.135 AA Cu 111 DM=2.087 AA Cu 002 DM=1.807 AA Cu 220 DM=1.278 AA Cu 111 DM=2.095 AA

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
zwidthmWidth of crystal0.1
yheightmHeight of crystal0.1
mosaicarcminMosaicity (FWHM)30.0
dspread1Relative d-spread (FWHM)0
QAA^-1Magnitude of scattering vector1.8734
DMAAmonochromator d-spacing instead of Q = 2*pi/DM0
pThresholdif probability>pThreshold then accept and weight else random0
Rup1Reflectivity of neutrons with polarization up1
Rdown1Reflectivity of neutrons with polarization down1
debugif debug > 0, print out some info about the calculations0
AT ( , , ) RELATIVE
ROTATED ( , , ) RELATIVE

Links


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

Generated on mcstas 3.10.5


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