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

McStas

About McStas
 Conditions of use
 Authors/Contacts
 Project funding
 Screenshots

Download
 Components
 Share

Mailing list

Search web/mailinglist

Documentation
 McStas manual
 FAQ
 Known problems
 Publications
 C Compilers
 Other
 Tutorial

Workshops/conferences

Developments
 Platforms

Links

Report bugs

SVN

McStas Ubuntu live-dvd


McStas: ISIS_moderator Component

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

The ISIS_moderator Component

ISIS Moderators

Identification

  • Author: S. Ansell and D. Champion
  • Origin: ISIS
  • Date: AUGUST 2005
  • Version: 1.11

Description

Produces a TS1 or TS2 ISIS moderator distribution.  The Face argument determines which moderator
is to be sampled. Each face uses a different Etable file (the location of which is determined by
the MCTABLES environment variable).  Neutrons are created having a range of energies
determined by the E0 and E1 arguments.  Trajectories are produced such that they pass
through the moderator face (defined by modXsixe and modYsize) and a focusing rectangle
(defined by xh,yh and dist).  Please download the documentation for precise instructions for use.

Example:   ISIS_moderator(Face ="water", E0 = 49.0,E1 = 51.0, dist = 1.0, xw = 0.01,
   yh = 0.01, modXsize = 0.074, modYsize = 0.074, CAngle = 0.0,SAC= 1)

WARNING: This is a contributed Component.

Input parameters

Parameters in boldface are required; the others are optional.
Name Unit Description Default
Face word Name of the face - TS2:groove,hydrogen,narrow,broad - - TS1:Water,ch4,h2,merlin or instrument name eg maps, crisp etc. - TS2: W1-9 E1-9 "hydrogen"
E0 meV Lower edge of energy distribution 49.0
E1 meV Upper edge of energy distribution 51.0
dist m Distance from source to the focusing rectangle 1.0
xw m Width of focusing rectangle 0.01
yh m Height of focusing rectangle 0.01
modXsize m Moderator vertical size 0.074
modYsize m Moderator Horizontal size 0.074
CAngle radians Angle from the centre line 0.0
SAC boolean Apply solid angle correction or not (1/0) 1
Lmin meV Lower edge of wavelength distribution 0
Lmax meV Upper edge of wavelength distribution 0
target_index 1 relative index of component to focus at, e.g. next is +1 this is used to compute 'dist' automatically. +1

Links


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

Generated automatically by McDoc, Peter Willendrup <peter.willendrup@risoe.dk> / Fri May 11 08:41:09 2012


Last Modified: Friday, 11-May-2012 10:41:09 CEST
Search website freshmeat.net McStas site RSS feed mailinglist archive SVN repos McCode Trac