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

 Linux Install (deb/rpm)
 Mac OS X Install
 Unix Install (src code)
 Windows Install
 Other Downloads (share)

Mailing list

Search web/mailinglist

 McStas manual
 Known problems
 C Compilers



Links <- UPDATED!

Report bugs


McStas Ubuntu live-dvd

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

Example: Test_pol_tabled.instr -n1e4 MF=flipfield.dat pol_6_I=0.665777
  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.
  • A reference/HTML link for more information

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

Generated automatically by McDoc, Peter Willendrup <> / Tue May 29 09:12:10 2018

Last Modified: Tuesday, 29-May-2018 11:12:10 CEST
Search website mailinglist archive GitHub repos