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_Magnon_bcc_TAS Instrument at Tests_samples

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

The Test_Magnon_bcc_TAS Instrument

Generic TAS instrument for test of samples with dispersions.


  • Site: Tests_samples
  • Author: Kim Lefmann (
  • Origin: UCPH
  • Date: 22.07.2018
  • Version:(Unknown)


Generic TAS instrument for test of samples with dispersions. Modeled over the RITA-2 instrument at PSI (one analyzer only). The instrument is able to position in q-space at q=(h 0 0) and fixed Ei and Ef. This can be used to longitudinal constant-E scans or constant-q scans. In addition, transverse constant-E scans can be made by scanning the sample orientation A3.

Example: Test_Magnon_bcc_TAS.instr hw=0,1 -N21

Input parameters

Parameters in boldface are required; the others are optional.
Name Unit Description Default
hw meV Neutron energy transfer 0.5
Ef meV Final neutron energy 5
A3offset 0
A3auto 0=manual; 1=auto [1] Flag for selecting automatic setting of A3 to have q-vector along [h 0 0] 1
aa passed on to the sample component [Å] lattice parameter for cubic system 4.5
qh 1 Length of the q-vector in r.l.u., sets the value of scattering angle A4. If A3auto=1, then A3 is set to q=[qh 0 0] 1.1
highres 0=standard TAS / RITA2; 1=high resolution TAS [1] Flag for setting unrealistic high resolution (used for fine testing) 0
sample_J meV Nearest Neighbor magnetic interaction in sample 0.2
TT K temperature 300
FerroMagnet - Flag: 1 if ferromagnet, 0 if AFM 0
Verbose 0=silent, 1=print [1] Flag for printing of test statements from magnon component 0


[ 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