McStas: Test_pol_tabled Instrument at Tests_polarization

The Test_pol_tabled Instrument

Test the tabled magnetic field option

Identification

• Site: Tests_polarization
• Date: Current Date
• Version:(Unknown)

Description

A test instrument to check that supplying a magnetic field as a vector field point cloud
is working. The field referred to by the default input parameter MF is 10 \mu T along the z-axis
at entry and flips to l0 \mu T along the negative z-axis halfway through

N.b. this example will not be run by autotest since it reuireq the presence of the file
flipfield.dat in the working directory.



Input parameters

Parameters in boldface are required; the others are optional.
Name Unit Description Default
MF "flipfield.dat"

• Source code for Test_pol_tabled.instr.