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

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

The test Instrument

Unit test of the Pol_SF_ideal component


  • Site: Tests_polarization
  • Author: Erik B Knudsen (
  • Origin: DTU Physics
  • Date: Current Date
  • Version: 2.4


Simply test the ideal spin flippers function

Example: mcrun test.instr 

Input parameters

Parameters in boldface are required; the others are optional.
Name Unit Description Default
SX x-component of initial polarization 0
SY y-component of initial polarization 1
SZ z-component of initial polarization 0


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

Generated automatically by McDoc, Peter Willendrup <> / Fri Sep 23 18:47:27 2022

Last Modified: Friday, 23-Sep-2022 20:47:27 CEST
Search website mailinglist archive GitHub repos