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

Download
 Components
 Other Downloads (share)

Mailing list

Search web/mailinglist

Documentation
 Wiki (GitHub)
 McStas manual
 Publications

Links

Report bugs (GitHub)

Code-repository (GitHub)


McStas: McStas_PowderN

[ Identification | Description | Input parameters | Links ]

The McStas_PowderN Instrument

Wrapper instrument for use of PowderN in SIMRES

Identification

  • Site: SINE2020
  • Author: Peter Willendrup
  • Origin: DTU
  • Date: December 2018

Description

This instrument provides an MCPL-based interface for the use of PowderN in the SIMRES package.
The instrument has been developed in the context of WP8 in the SINE2020 project and is part of
deliverable D8.8.

(EU Horizon 2020 research and innovation programme under grant agreement No 654000).

The default material is Al as a cylinder of radius 0.01 m x height 0.07 m

Example: McStas_PowderN reflections=Al.lau radius=0.01 yheight=0.07

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
reflectionsstringInput file for reflections, laz and lau formats from McStas accepted"Al.lau"
geometrystringName of an Object File Format (OFF) or PLY file for complex geometry.""
radiusmSample radius0.01
xwidthmSample width along x0
yheightmSample height along y0.07
zdepthmSample depth along z0
thicknessmThickness of hollow sample0
packmPacking factor.1
d_omegadegHorizontal (incoherent only) focusing limit [deg]0
d_phidegVertical focusing limit [deg]0
focus_flip1Controls the sense of d_phi. If 0 d_phi is measured against the xz-plane. If nonzero, d_phi is measured against zy-plane.0
tth_sign1Sign of the scattering angle. If 0, the sign is chosen randomly0
barns1Flag to indicate if |F 2| from "reflections" is in barns or fm2 (barns = 1 for laz, barns = 0 for lau type files).0
rot_xdegSample rotation around x0
rot_ydegSample rotation around y0
rot_zdegSample rotation around z0

Links


[ Identification | Description | Input parameters | Links ]

Generated on 2024-01-03 11:47:43


Last Modified: Tuesday, 16-Apr-2024 20:05:21 CEST
Search website mailinglist archive GitHub repos