ModeratorTzeroLinear v1¶
Summary¶
Corrects the time of flight of an indirect geometry instrument by a time offset that is linearly dependent on the wavelength of the neutron after passing through the moderator.
See Also¶
Properties¶
Name |
Direction |
Type |
Default |
Description |
---|---|---|---|---|
InputWorkspace |
Input |
Mandatory |
The name of the input workspace, containing events and/or histogram data, in units of time-of-flight |
|
Gradient |
Input |
number |
Optional |
Wavelength dependent TOF shift, units in microsec/Angstrom. Overrides the value stored in the instrument object |
Intercept |
Input |
number |
Optional |
TOF shift, units in microseconds. Overrides the valuestored in the instrument object |
OutputWorkspace |
Output |
Mandatory |
The name of the output workspace |
Description¶
This algorithm Corrects the time of flight (TOF) of an indirect geometry
instrument by substracting a time offset
<!-- Moderator Tzero/LambdaZero Parameters -->
<parameter name="Moderator.TimeZero.Gradient">
<value val="11.967"/>
</parameter>
<parameter name="Moderator.TimeZero.Intercept">
<value val="-5.0"/>
</parameter>
The recorded TOF:
: emission time from the moderator : time from moderator to sample : time from sample to detector
This algorithm will replace TOF with
For an indirect geometry instrument,
, with : distance from sample to detector, : final velocity derived from , with : distance from moderator to sample, : initial velocity unknown , with and constants derived from the aforementioned empirical formula with in units of meters
and
Putting all together:
If the detector is a monitor, then we can treat it as both sample and
detector. Thus, we use the previous formula inserting the time from
sample to detector
Categories: AlgorithmIndex | CorrectionFunctions\InstrumentCorrections
Source¶
C++ header: ModeratorTzeroLinear.h
C++ source: ModeratorTzeroLinear.cpp