This component is a specialized Monitor_nD variation, which records the S(q,w)
scattering law. It accepts about the same parameters as the Monitor_nD, but makes
use of the 'q' and 'w' user variables. The neutrons are restored in their previous
state after neing detected (restore_neutron=1).
The monitor records the intensity as a function of q=kf-ki and w=Ef-Ei were the
'f' refers to the component location, and the 'i' refers to the component located
at 'index' relative to the component location.
The component uses automatic limits, and is thus not recommended with MPI/multiprocessing.
In this case, the limits should be set manually, e.g. user1=q and user2=w
options="user1 limits=[0 10] bins=100, user2 limits=[-50 50] bins=200"
A usage example is for instance:
COMPONENT sample = Isotropic_Sqw(...)
COMPONENT sqw = Monitor_Sqw(index=-1, radius=2, yheight=2, bins=128)
This component can be used to generate dynamic structure factors comvolved with
the instrument response, and compare with molecular dynamics results (using e.g. nMoldyn).
The incoming beam (e.g. at the sample) must be monochromatic.
Parameters in boldface are required;
the others are optional.
Width of detector.
Height of detector.
Thickness of detector (z).
Lower x bound of opening
Upper x bound of opening
Lower y bound of opening
Upper y bound of opening
Lower z bound of opening
Upper z bound of opening
Radius of sphere/banana shape monitor
Number of bins to force for all variables. Use 'bins' keyword in 'options' for heterogeneous bins
Index of the component where scattering occurs with respect to the location of the Monitor_Sqw location in the instrument description. The index is usually negative, and should point to e.g. a Isotropic_Sqw, , PowderN, or Single_crystal instance. index=-1 for the previous component.
String that specifies the configuration of the monitor The general syntax is "[x] options..." (see Descr.).
Output file name. If not set an automatic file name is used.
Name of an OFF file to specify a complex geometry detector