ADR: DetailedBalance
#107
henrikjacobsenfys
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Detailed balancing is discussed in detail in easyscience/dynamics#6
Some of the information is pasted here for simplicity.
General
The core is simple: it is easier to create excitations than to absorb them at low temperature, and therefore, the scattering intensity is vanishing on the neutron energy gain/sample energy loss (E<0) side of the spectrum.
We define:
I have set$\hbar=1$ for simplicity.
Mathematically, detailed balancing is captured by the following relation of the scattering function (also known as the dynamical structure factor)
It is related to the generalized susceptibiity$\chi''(\omega)$ by
Another way to write this important relation is (notice the difference between$\chi'$ and $\chi''$ )
where$F(\omega)$ is the spectral weight function, which has area 1. More on that in a moment. Importantly, $\chi'(Q,\omega=0)$ does not depend on $\omega$ .
In other words, the fit function, if the data is$S(Q,\omega)$ , is
where
$DBF=\omega*(n(\omega)+1)$ is called the Detailed Balance Factor
$A$ is the "area" of the peak (or would be, if DBF=1)
$F$ is the shape of the peak, usually a Lorentzian, Gaussian, pairs of Lorentzians or Gaussians, or Damped Harmonic Oscillator
It should be noted that detailed balancing often isn't included, especially in analysis of diffusion. This is sometimes because the measurements are at high enough temperatures that it doesn't matter. Sometimes, it is not included because detailed balancing is, by definition, an equilibrium property, and scattering related to diffusion is not necessarily at equilibrium.
Implementation
Some users normalize the detailed balancing factor by temperature. This is supported in the implementation.
If users provide temperature in their
SampleModelthen detailed balancing will be applied as described above. The users will therefore for most purposes not need to interact with detailed balancing directly.Care has been taken to ensure the correct behaviour at low and hig temperature, using the appropriate limiting forms of the equations.
Beta Was this translation helpful? Give feedback.
All reactions