\(\renewcommand\AA{\unicode{x212B}}\)

ThermalNeutronDtoTOFFunction

Description

ThermalNeutronDtoTOFFunction is a function to calculate TOF from d-spacing values for ThermalNeutronBk2BkExpConvPVoigt. It is defined as

\[TOF = n(zero + dtt1 \cdot dh)+(1-n)(zero_t + dtt1t\cdot dh - \frac{dtt2t}{dh})\]

where

\[n = \frac{1}{2} \mathit{erfc}(\text{Width}(t_\text{cross} - d^{-1})).\]

Properties (fitting parameters)

Name

Default

Description

Dtt1

1.0

Dtt1t

1.0

Dtt2t

1.0

Zero

0.0

Zerot

0.0

Width

1.0

Tcross

1.0

Categories: FitFunctions | General

Source

C++ header: ThermalNeutronDtoTOFFunction.h

C++ source: ThermalNeutronDtoTOFFunction.cpp