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
 Wiki (GitHub)
 McStas manual
 Publications

Links

Report bugs (GitHub)

Code-repository (GitHub)


McStas: Test_single_magnetic_crystal

[ Identification | Description | Input parameters | Links ]

The Test_single_magnetic_crystal Instrument

Unit test instrument for magnetic single crystal

Identification

  • Site: Test
  • Author: Erik B Knudsen (erkn@fysik.dtu.dk)
  • Origin: DTU Physics
  • Date: Jan 2020

Description

A very simple unit test/example instrument for the experimental Single_magnetic_crystal
component. It is a very simple implementation of a Laue camera using 4PI spherical
monitors.

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
L0AACentre wavelength to simulate4
dLAAHalf wavelength spread to sample3.91
OMdegSample rotation0
TTdegRotation of detector arm0
PX x-component of initial polarization0
PY y-component of initial polarization1
PZ z-component of initial polarization0
MOSarcminIsotropic mosaic of the crystal.100
QMINAA^-1lower boundary of momentum transfer range to generate hkls in0.1
QMAXAA^-1upper boundary of momentum transfer range to generate hkls in5

Links

  • Source code for Test_single_magnetic_crystal.instr.
  • A reference/HTML link for more information

[ Identification | Description | Input parameters | Links ]

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


Last Modified: Wednesday, 03-Jan-2024 19:59:10 CET
Search website mailinglist archive GitHub repos