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_Single_crystal_inelastic

[ Identification | Description | Input parameters | Links ]

The Test_Single_crystal_inelastic Instrument

Test instrument for the Single_crystal_inelastic component.


  • Site: Tests_samples
  • Author: Duc Le
  • Origin: ISIS
  • Date: Feb 2015


Simple test instrument for Single_crystal_inelastic in Horace mode

Example: mcrun Test_Single_crystal_inelastic.instr

once your instrument is written and functional:
- replace INSTRUMENT_SITE entry above with your Institution name as a single word
- rename the instrument name after DEFINE INSTRUMENT below
- update the parameter help in the following Parameters section
- update the instrument description, and better add a usage example with a
sensible parameter set.

Input parameters

Parameters in boldface are required; the others are optional.
EmeVMean energy produced at the source10
DEmeVEnergy spread produced at the source0.1
HDIVdegHorizontal divergence from the source0.5
VDIVdegVertical divergence from the source0.5
OMdegSample orientation around y0
THdegSample orientation around x0
FIdegSample orientation around z0
SQWstr4D Sqw input file"example.sqw4"


  • Source code for Test_Single_crystal_inelastic.instr.
  • Duc Le (2015) -

[ Identification | Description | Input parameters | Links ]

Generated on 2023-09-19 20:01:36

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