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

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

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

The Radiography_Sword Instrument

Viking Sword in Radiography instrument. Developed for PaNOSC (EU H2020 GA No. 823852).

Identification

  • Site: elearning
  • Author: Mads Bertelsen and Viktor L. Holm
  • Origin: University of Copenhagen
  • Date: August 2019

Description

This is a simulation of bragg-edge imaging preformed on a viking sword at an imaging beamline. Developed for PaNOSC (EU H2020 GA No. 823852).
The beam delivered from the source approximates that of the ODIN instrument at ESS and the model is meant for educational purposes.

Examples

(Test cases in bold)
  • Test: Radiography_Sword -y Detector: screen_I=4.34897e+15

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
chopper_mode1Choose between 6 different chopper modes from 0 to 5. Chooper mode 5 is a white beam.5
LambdaAAChoose a specific wavelength 1AA-10AA to use in the simulation. The wavelength must correspond to choosen chopper mode. Lambda=0 means that all wavelengths permitted by the chopper mode are used.0
Sample0Choose if the sample is pressent in the simulation or not, Sample=0: not in the beam, Sample=1: sample is in the beam.1
pinhole_diametermDiameter of the pinhole. Allowed sizes are 0.01-0.1m.0.1
pinhole_detector_distancemDistance between the pinhole and the detector. Allowed distances are 10m-25m.10.0
pinhole_sample_distancemDistance between the pinhole and the sample. Allowed distances are between 1-25m.9
X_sample_posmTranslation of sample in x-direction.0.0
Y_sample_posmTranslation of sample in x-direction.0.0
angledegSample-stage rotation (around y).0
Zoom1Detector zooom: Reduce area and increase resolution detector by the same fact. Values between 1 and 10.1

Links


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

Generated for mcstas 3.8.4


Last Modified: Friday, 11-Sep-2026 15:00:09 CEST
Search website mailinglist archive GitHub repos