McStas logo McStas - A neutron ray-trace simulation package ILL; PSI; ESS Niels Bohr Institute DTU Physics NEXMAP

McStas

About McStas
 Conditions of use
 Authors/Contacts
 Project funding

Download
 Components
 Other Downloads (share)

Mailing list

Search web/mailinglist

Documentation
 Wiki (GitHub)
 McStas manual
 Publications

Links

Report bugs (GitHub)

Code-repository (GitHub)


McStas: Test_Magnetic_Constant

[ Identification | Description | Input parameters | Links ]

The Test_Magnetic_Constant Instrument

This instrument demonstrates how to use the Pol_Bfield component with a constant field.

Identification

  • Site: Tests_polarization
  • Author: Peter Christiansen and Peter Willendrup
  • Origin: RISOE
  • Date: August 2006

Description

This instrument demonstrates how to use the component
Pol_Bfield with a constant field to make a Mezei Spin flipper.

This instrument matches the example: Test_Pol_MSF (under tests)
made with the old component: Pol_constBfield

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
ROT_ANGLEdegAngle that the spin of a 5AA neutron rotates in the 0.2 m magnet180
ONOFF Should we use a window description (with a _stop comp) to turn the field on and off.0

Links


[ Identification | Description | Input parameters | Links ]

Generated on 2024-01-03 11:47:43


Last Modified: Tuesday, 16-Apr-2024 20:05:21 CEST
Search website mailinglist archive GitHub repos