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: Pol_pi_2_rotator Component

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

The Pol_pi_2_rotator Component

Ideal π/2-rotator


  • Author: Erik Knudsen (
  • Origin: Risoe
  • Date: 8/4-2008
  • Version:(Unknown)


Simple, idelized, component that turns the polarization exactly π/2 around the specified vector
vector (rx,ry,rx).
The geometry of the component is realized as a box, where the the spin is rotated at the z-midpoint.

WARNING: This is a contributed Component.

Input parameters

Parameters in boldface are required; the others are optional.
Name Unit Description Default
xwidth m width of the component 0.1
yheight m height of the component 0.1
zdepth m thickness of the component 0.01
rx 0
ry 0
rz 1


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

Generated automatically by McDoc, Peter Willendrup <> / Wed Jan 12 15:13:20 2022

Last Modified: Wednesday, 12-Jan-2022 16:13:20 CET
Search website mailinglist archive GitHub repos