Produces a TS1 or TS2 ISIS moderator distribution. The Face argument determines which moderator
is to be sampled. Each face uses a different Etable file (the location of which is determined by
the MCTABLES environment variable). Neutrons are created having a range of energies
determined by the Emin and Emax arguments. Trajectories are produced such that they pass
through the moderator face (defined by modXsixe and yheight) and a focusing rectangle
(defined by xh,focus_yh and dist). Please download the documentation for precise instructions for use.
Example: ISIS_moderator(Face ="water", Emin = 49.0,Emax = 51.0, dist = 1.0, focus_xw = 0.01,
focus_yh = 0.01, xwidth = 0.074, yheight = 0.074, CAngle = 0.0,SAC= 1)
WARNING: This is a contributed Component.
Parameters in boldface are required;
the others are optional.
Name of the face - TS2=groove,hydrogen,narrow,broad -
- TS1=Water,ch4,h2,merlin or instrument name eg maps, crisp etc.
- TS2= W1-9 Emax-9
Lower edge of energy distribution
Upper edge of energy distribution
Distance from source to the focusing rectangle
Width of focusing rectangle
Height of focusing rectangle
Moderator vertical size
Moderator Horizontal size
Angle from the centre line
[boolean] Apply solid angle correction or not
Lower edge of wavelength distribution
Upper edge of wavelength distribution
relative index of component to focus at, e.g. next is +1
this is used to compute 'dist' automatically.