McStas: Test_Pol_FieldBox
[ Identification
| Description
| Examples
| Input parameters
| Links ]
The Test_Pol_FieldBox Instrument
Unit test instrument for Pol_FieldBox
Identification
Site: Tests_polarization
Author: Erik B Knudsen
Origin: DTU Physics
Date: Jan 20
Description
An instrument with a single field box with a 1 mT magnetic field along the y-axis.
A neutron beam polarized aling the x-axis is emitted with central wavelength such
that the polarization is rotated pihalfturns radians in the field.
Examples
(Test cases in bold)
Test: Test_Pol_FieldBox pihalfturns=3 Detector: pl1z_I=2.30783
Input parameters
Parameters in
boldface are required;
the others are optional.
Name Unit Description Default
pihalfturns beam polarization (for the cetral wavelength) is rotated pihalfturns by the field 1
BOX flag to select between 0:Pol_FieldBox and 1:Pol_constBfield 0
Links
[ Identification
| Description
| Examples
| Input parameters
| Links ]
Generated for mcstas 3.8.4
Last Modified: Friday, 11-Sep-2026 15:00:08 CEST