[ Identification | Description | Input parameters | Links ]

The ViewModISIS Component

ISIS Moderators



Produces a neutron distribution at the ISIS TS1 or TS2 beamline shutter front face (or corresponding moderator) position.
The Face argument determines which TS1 or TS2 beamline is to be sampled by using corresponding Etable file.
Neutrons are created having a range of energies determined by the E0 and E1 arguments.
Trajectories are produced such that they pass through the shutter front face (RECOMENDED) or moderator face (defined by
xw and yh) and a focusing rectangle (defined by focus_xw, focus_yh and dist).

Example 1:   ViewModISISver1(Face="TS1_S04_Merlin.mcstas", E0 = E_min, E1 = E_max,
dist = 1.7, focus_xw = 0.094, focus_yh = 0.094, modPosition=0,

MERLIN simulation.
modPosition=0 so initial surface is at (near to) the moderator face.
In this example,  focus_xw and focus_yh are chosen to be identical to the shutter opening dimension.
dist = 1.7 is the 'real' distance to the shutter front face => This is TimeOffset value (=170 [cm])
from TS1_S04_Merlin.mcstas file.

Example 2:   ViewModISISver1(Face="Let_timeTest_155.mcstas", E0 = E_min, E1 = E_max,
modPosition=1, xw=0.196, yh = 0.12, focus_xw = 0.04, focus_yh = 0.094, dist = 0.5)

LET simulation.
modPosition=1 so initial surface is at front face of shutter insert.

(IMPORTANT) If modPosition=1, the xw and yh values are obsolete. The dimensions of
initial surface are automatically calculated using "RDUM" values in Let_timeTest_155.mcstas file.

In this example,  focus_xw and focus_yh are arbitrary chosen to be identical to the shutter opening dimension.

N.B. Absolute normalization: The result of the Mc-Stas simulation will show neutron intensity for beam current of 1 uA.

Input parameters

Parameters in boldface are required; the others are optional.
FacestringEtable filename"TS1_S04_Merlin.mcstas"
E0meVLower edge of energy distribution
E1meVUpper edge of energy distribution
modPositionintDefines the initial surface for neutron distribution production. Possible values = 0 (at moderator) or 1 (at shutter insert)0
xwmModerator width0.12
yhmModerator height0.12
focus_xwmWidth of focusing rectangle0.094
focus_yhmHeight of focusing rectangle0.094
distmDistance from source surface to the focusing rectangle1.7
verboseintFlag to output debugging information0
beamcurrentuAISIS beam current1


[ Identification | Description | Input parameters | Links ]

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