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


Res_sample

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

The Res_sample component

Sample for resolution function calculation.

Identification

  • Author: KN
  • Origin: McStas release
  • Date: 1999
  • Version: 1.7

Description

An inelastic sample with completely uniform scattering in both Q and
energy. This sample is used together with the Res_monitor component and
(optionally) the mcresplot front-end to compute the resolution function of
triple-axis or inverse-geometry time-of-flight instruments.

The shape of the sample is either a hollow cylinder or a rectangular box. The
hollow cylinder shape is specified with an inner and outer radius. If the
outher radius is negative, the shape is instead a box.

The scattered neutrons will have directions towards a given sphere and
energies betweed E0-dE and E0+dE.

Input parameters

Parameters in boldface are required; the others are optional.
Name Unit Description Default
radius_i m Inner radius of hollow cylinder in (x,z) plane, or width of box along X  
radius_o m Outer radius of hollow cylinder, or negative box depth along Z  
h m Height of box or cylinder along Y  
focus_r m Radius of sphere containing target.  
E0 meV Center of scattered energy range  
dE meV half width of scattered energy range  
target_x  
target_y m position of target to focus at  
target_z  

Output parameters

Name Unit Description Default
res_struct  

Links


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

Generated automatically by McDoc, Kristian Nielsen <kristian.nielsen@risoe.dk> / Jan 22 2001


Last Modified: Tuesday, 22-Jun-2004 14:04:09 CEST
Search website freshmeat.net McStas site RSS feed mailinglist archive SVN repos McCode Trac