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

[ Identification | Description | Input parameters | Links ]

The Test_Single_crystal_inelastic Instrument

Test instrument for the Single_crystal_inelastic component.

Identification

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

Description

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.
NameUnitDescriptionDefault
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"

Links

  • Source code for Test_Single_crystal_inelastic.instr.
  • Duc Le (2015) - duc.le@stfc.ac.uk

[ Identification | Description | Input parameters | Links ]

Generated on 2022-12-15 07:34:57


Last Modified: Friday, 31-Mar-2023 14:24:13 CEST
Search website mailinglist archive GitHub repos