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

McStas
site 2

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: Pol_guide_vmirror

[ Identification | Description | Input parameters | Links ]

The Pol_guide_vmirror Component

Polarising guide with two supermirrors sitting in a v-shape inside.

Identification

  • Site:
  • Author: Peter Christiansen
  • Origin: RISOE
  • Date: July 2006

Description

Models a rectangular guide with entrance centered on the Z axis and
with two supermirrors sitting in a v-shape inside.
The entrance lies in the X-Y plane.  Draws a true depiction
of the guide with mirrors, and trajectories.
The polarisation is handled similar to in Monochromator_pol.
The reflec functions are handled similar to Pol_mirror.
The up direction is hardcoded to be along the y-axis (0, 1, 0)

Note that this component can also be used as a frame overlap-mirror
if the up and down reflectivities are set equal. In this case the wall
reflectivity (rPar) should probably be set to 0.

Reflectivity values can either come from datafiles or from
sets of parameters to the standard analytic reflectivity function commonly
used for neutron guides:
R=R0; q

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
rUpPar1Mirror Parameters for spin up standard reflectivity function{1.0, 0.0219, 4.07, 3.2, 0.003}
rDownPar1Mirror Parameters for spin down standard reflectivity function{1.0, 0.0219, 4.07, 3.2, 0.003}
rPar1Guide Parameters for standard reflectivity function{1.0, 0.0219, 4.07, 3.2, 0.003}
rDatastrGuide Reflectivity data file""
rUpDatastrMirror Reflectivity data file for spin up""
rDownDatastrMirror Reflectivity data file for spin down""
xwidthmWidth at the guide entry
yheightmHeight at the guide entry
lengthmlength of guide
AT ( , , ) RELATIVE
ROTATED ( , , ) RELATIVE

Links


[ Identification | Description | Input parameters | Links ]

Generated on 2022-12-15 07:34:57


Last Modified: Friday, 31-Mar-2023 14:24:14 CEST
Search website mailinglist archive GitHub repos