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


About McStas
 Conditions of use
 Project funding

 Other Downloads (share)

Mailing list

Search web/mailinglist

 Wiki (GitHub)
 McStas manual


Report bugs (GitHub)

Code-repository (GitHub)

McStas: Test_Sample_nxs_imaging Instrument at HZB

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

The Test_Sample_nxs_imaging Instrument

Test TOF-imaging instrument for the Sample_nxs.comp component.


  • Site: HZB
  • Author: Mirko Boin (HZB)
  • Origin: HZB
  • Date: 2012
  • Version:(Unknown)


This instrument relies on the 'nxs' library that is provided with McStas as of release 2.0.
Please see in your MCSTAS/lib/share/nxslib/README.TXT and the links in the section below for
further instructions and more details.

Example: Test_Sample_nxs_imaging.instr

Input parameters

Parameters in boldface are required; the others are optional.
Name Unit Description Default
lambda1 AA Lower bound of wavelength band 3.7
lambda2 AA Upper bound of wavelength band 4.4
sample_detector_distance m Distance between sample and detector 0.05
moderator_pinhole_distance m Distance between moderator and pinhole 30.0
pinhole_sample_distance m Distance between pinhole and sample 0.05
sample_x m Sample translation along x 0.0
thickness m Sample thickness along z 0.02
sample_file str Crystallographic structure from 'nsx' file "Cu.nxs"
moderator_face str Chosen ISIS moderator "water"


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

Generated automatically by McDoc, Peter Willendrup <> / Wed Jan 12 15:13:32 2022

Last Modified: Wednesday, 12-Jan-2022 16:13:32 CET
Search website mailinglist archive GitHub repos