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

[ Identification | Description | Input parameters | Links ]

The Monochromator_pol Component

Flat polarizaing monochromator crystal.


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


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 (billard 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
FM = sign(Rup)*sqrt(|Rup|) + sign(Rdown)*sqrt(|Rdown|)
FN = sign(Rup)*sqrt(|Rup|) - sign(Rdown)*sqrt(|Rdown|)
and the physics is calculated as
Pol in = (sx_in, sy_in, sz_in)
Reflectivity R0 = FN*FN + 2*FN*FM*sy_in + FM*FM
(= |Rup| + |Rdown| (for sy_in=0))
Pol out:
sx = (FN*FN - FM*FM)*sx_in/R0;
sy = ((FN*FN - FM*FM)*sy_in + 2*FN*FM + FM*FM*sy_in)/R0;
sz = (FN*FN - FM*FM)*sz_in/R0;

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 Pyrolythic 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.
zwidthmWidth of crystal0.1
yheightmHeight of crystal0.1
mosaicarc minutesMosaicity (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


[ Identification | Description | Input parameters | Links ]

Generated on 2024-01-03 11:47:43

Last Modified: Wednesday, 03-Jan-2024 19:59:11 CET
Search website mailinglist archive GitHub repos