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

 McStas manual
 Known problems



Links <- UPDATED!

Report bugs


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

  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 26 13:03:59 2020

Last Modified: Tuesday, 26-May-2020 15:03:59 CEST
Search website mailinglist archive GitHub repos