A source that produces a time and energy distribution from
parameterized SNS moderator files
Author: F. X. Gallmeier
Origin: SNS Oak Ridge National Laboratory
Date: October 18, 2010
Produces a time-of-flight spectrum from SNS moderator files
moderator files can be obtained from the author
IMPORTANT: The output units of this component are N/pulseIMPORTANT: The component needs a FULL PATH to the source input file
(1) the raw moderator files are per Sr. The parameters focus_xw focus_yh and dist
provide the solid angle with which the beam line is served.
The best practice is to set focus_xw and focus_yh to the width and height of the
closest beam component, and dist as the distance from the moderator
location to this component.
(2) Be sure that Emin and Emax are within the limits of 1e-5 to 100 eV
(3) the proton pulse length T determines short- and long-pulse mode
WARNING: This is a contributed Component.
Parameters in boldface are required;
the others are optional.
Filename of source data
width of moderator (default 0.1 m)
height of moderator (default 0.12 m)
Distance from source to the focusing rectangle (no default)