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
 McStas manual
 Known problems
 Publications

Workshops/conferences

Developments

Links <- UPDATED!

Report bugs

Git


McStas: MCPL2Mantid_flat Instrument at Tools

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

The MCPL2Mantid_flat Instrument

Instrument taking MCPL input giving Mantid-compatible NeXus output.

Identification

  • Site: Tools
  • Author: Peter Willendrup
  • Origin: DTU
  • Date: 2019-03
  • Version:(Unknown)

Description

Instrument taking MCPL input giving Mantid-compatible NeXus output. 

1) The instrument coordintate system coincides with the MCPL-file coordinates.
2) The sourceMantid position is freely positionable in that space
3) The sampleMantid position is freely positionable in that space
4) The detector is a single, flat pixellated panel freely positionable in that space

An example mcpl input file corresponding to the default geometry can be generated using
templateSANS_MCPL

Input parameters

Parameters in boldface are required; the others are optional.
Name Unit Description Default
MCPLfile str Defines the MCPL input file to process "my.mcpl.gz"
sourceX m sourceMantid x-position wrt. MCPL coords 0
sourceY m sourceMantid y-position wrt. MCPL coords 0
sourceZ m sourceMantid z-position wrt. MCPL coords -10
sampleX m sampleMantid x-position wrt. MCPL coords 0
sampleY m sampleMantid y-position wrt. MCPL coords 0
sampleZ m sampleMantid z-position wrt. MCPL coords 0
detectorX m nD_Mantid_0 x-position wrt. MCPL coords 0
detectorY m nD_Mantid_0 y-position wrt. MCPL coords 0
detectorZ m nD_Mantid_0 z-position wrt. MCPL coords 6
detrotX m nD_Mantid_0 x-rotation wrt. MCPL coords 0
detrotY m nD_Mantid_0 y-rotation wrt. MCPL coords 0
detrotZ m nD_Mantid_0 z-rotation wrt. MCPL coords 0
xwidth m nD_Mantid_0 xwidth 0.6
yheight m nD_Mantid_0 yheight 0.6
xbins 1 nD_Mantid_0 x-bins 128
ybins 1 nD_Mantid_0 y-bins 128

Links


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

Generated automatically by McDoc, Peter Willendrup <peter.willendrup@risoe.dk> / Fri Sep 11 06:49:11 2020


Last Modified: Friday, 11-Sep-2020 08:49:11 CEST
Search website mailinglist archive GitHub repos