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: Test_pol_tabled Instrument at Tests_polarization

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

The Test_pol_tabled Instrument

Test the tabled magnetic field option


  • Site: Tests_polarization
  • Author: Your name (email)
  • Origin: Your institution
  • Date: Current Date
  • Version:(Unknown)


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

Input parameters

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


  • Source code for Test_pol_tabled.instr.
  • A reference/HTML link for more information

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

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

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