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
 Screenshots

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

Mailing list

Search web/mailinglist

Documentation
 McStas manual
 FAQ
 Known problems
 Publications
 C Compilers
 Other
 Tools
 Tutorial

Workshops/conferences

Developments

Links

Report bugs

Git

McStas Ubuntu live-dvd


McStas: SE_example Instrument at Templates

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

The SE_example Instrument

Mockup of transmission Spin-Echo, written for PNCMI 2010 school in Delft.

Identification

  • Site: Templates
  • Author: Erik Knudsen, Peter Willendrup
  • Origin: Risoe
  • Date: June 2010
  • Version:(Unknown)

Description

This instrument shows the use of essential McStas polarisation components, including Pol_mirror, Pol_simpleBfield and MeanPolLambda_monitor.

Pol_mirror is used to polarize and analyze the incoming and scattered beams.
Pol_simpleBfield is used to define guidefields and flippers.
MeanPolLambda_montior is used to monitor beam polarisation.

Example: mcrun SE_example.instr dBz=-0.0001,0.0001 -N41 -n1e5 

Input parameters

Parameters in boldface are required; the others are optional.
Name Unit Description Default
POL_ANGLE deg Reflection angle of polarizer/analyzer 2
SAMPLE 1 Flag to include (0) or exclude incoherent scatterer 0
Bguide T Field magnitude in guide fields 0.1
Bflip T Magnitude of flipper fields, 3e-4
dBz T Magnitude field perturbation in first guide field 0
Lam Angstrom Mean wavelength of neutrons emitted from source 8
dLam Angstrom Wavelength spread of neutrons emitted from source 0.8

Links

  • Source code for SE_example.instr.
  • Requires mcstas 1.12b (or beta). PolLambda_monitor has been modified to work (nL->nlam)

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

Generated automatically by McDoc, Peter Willendrup <peter.willendrup@risoe.dk> / Mon Jun 26 12:27:17 2017


Last Modified: Monday, 26-Jun-2017 14:27:17 CEST
Search website mailinglist archive GitHub repos