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

[ Identification | Description | Input 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

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.
NameUnitDescriptionDefault
MCPLfilestrDefines the MCPL input file to process"my.mcpl.gz"
sourceXmsourceMantid x-position wrt. MCPL coords0
sourceYmsourceMantid y-position wrt. MCPL coords0
sourceZmsourceMantid z-position wrt. MCPL coords-10
sampleXmsampleMantid x-position wrt. MCPL coords0
sampleYmsampleMantid y-position wrt. MCPL coords0
sampleZmsampleMantid z-position wrt. MCPL coords0
detectorXmnD_Mantid_0 x-position wrt. MCPL coords0
detectorYmnD_Mantid_0 y-position wrt. MCPL coords0
detectorZmnD_Mantid_0 z-position wrt. MCPL coords6
detrotXmnD_Mantid_0 x-rotation wrt. MCPL coords0
detrotYmnD_Mantid_0 y-rotation wrt. MCPL coords0
detrotZmnD_Mantid_0 z-rotation wrt. MCPL coords0
xwidthmnD_Mantid_0 xwidth0.6
yheightmnD_Mantid_0 yheight0.6
xbins1nD_Mantid_0 x-bins128
ybins1nD_Mantid_0 y-bins128

Links


[ Identification | Description | Input parameters | Links ]

Generated on 2022-12-12 13:20:16


Last Modified: Wednesday, 09-Aug-2023 17:01:02 CEST
Search website mailinglist archive GitHub repos