This section is dealing with specific types of analysis performed by MDANSE. If you are not sure where these fit into the general workflow of data analysis, please read MDANSE Workflow.
Analysis: Scatteringο
This section contains background theory for following plugins:
This section discusses plugins used to calculate neutron spectroscopy observables from the trajectory. These plugins will be explored in depth in further sections, however, before that, it is important to understand how MDANSE performs these analyses. A part of that depends on how the \(\mathbf{q}\)-vectors are used to perform these analyses, see Section q-Vector Generation for details.
Scattering Backgroundο
Dynamic Structure Factor \(S(\mathbf{q}, \omega)\): This is a central concept in neutron scattering experiments. This factor characterizes how scattering intensity changes with alterations in momentum \(\mathbf{q}\) and energy \(\hbar\omega\) during scattering events. It is instrumental in unraveling the atomic and molecular structures of materials.
Double Differential Cross-Section: The dynamic structure factor is closely related to the double differential cross-section, which is a vital measurement in neutron scattering. The double differential cross-section, \({\mathrm{d}^{2}{\sigma/\mathit{\mathrm{d}\Omega \mathrm{d}E}}}\), is defined as the number of neutrons scattered per unit time into the solid angle interval \({\left\lbrack {\Omega, {\Omega + \mathrm{d}}\Omega} \right\rbrack}\) with an energy in the interval \({\left\lbrack {E, {E + \mathrm{d}}E} \right\rbrack}\). To make meaningful comparisons, the double differential cross-section is normalized by \(\mathrm{d}\Omega\), \(\mathrm{d}E\), and the flux of the incoming neutrons. The relationship between the double differential cross-section and the dynamic structure factor is given by
This equation relates the double differential cross-section, which represents the number of neutrons scattered per unit time into specific solid angle and energy intervals, to the dynamic structure factor, \(S(\mathbf{q}, \omega)\). It includes terms related to the number of atoms \(N\) and wavenumbers of scattered \(k_{\mathrm{f}}\) and incident \(k_{\mathrm{i}}\) neutrons. They are related to the corresponding neutron energies by
These equations relate the neutron energies, \(E_{\mathrm{f}}\) and \(E_{\mathrm{i}}\), to their respective wavenumbers, \(k_{\mathrm{f}}\) and \(k_{\mathrm{i}}\), using the mass of the neutron \(m_{\mathrm{n}}\). They are fundamental for connecting energy and momentum in neutron scattering.
Momentum and Energy Transfer: These equations below define the momentum \(\mathbf{q}\) and energy transfer \(\hbar\omega\) based on the incident and scattered wavevectors and energies
The square modulus of the momentum transfer can be expressed in terms of a scattering angle and the energies of the incident and scattered neutrons
Intermediate Scattering Function \(F(\mathbf{q}, t)\): This equation defines the dynamic structure factor \(S(\mathbf{q}, \omega)\) as a Fourier transform of the intermediate scattering function \(F(\mathbf{q}, t)\) with respect to time \(t\). It captures information about the structure and dynamics of the scattering system [Ref16] and can be written as
and
where \(\hat{\mathbf{r}}_{j}(t)\) are the position operators of the nuclei in the Heisenberg picture. The quantities \(b_{j}\) are the scattering lengths of the nuclei which depend on the isotope and the relative orientation of the spin of the neutron and the spin of the scattering nucleus. If the spins of the nuclei and the neutron are not prepared in a special orientation one can assume a random relative orientation and that spin and position of the nuclei are uncorrelated. The overlines in Eq. (82) denotes that an average over isotopes and relative spin orientations of neutron and nucleus is made.
Coherent and Incoherent Scattering: Usually, one splits the intermediate scattering function and the dynamic structure factor into their coherent and incoherent parts which describe collective and single particle motions, respectively. By defining
the coherent and incoherent intermediate scattering functions can be written. They are expressed as sums over pairs of nuclei, with different treatments for coherent and incoherent scattering lengths
Classical Framework and Corrections: In the classical framework the intermediate scattering functions are interpreted as classical time correlation functions. The position operators are replaced by time-dependent vector functions and quantum thermal averages are replaced by classical ensemble averages. It is well known that this procedure leads to a loss of the universal detailed balance relation
and also to a loss of all odd moments
The odd moments vanish since the classical dynamic structure factor is even in \(\omega\), assuming invariance of the scattering process with respect to reflections in space. The first moment is also universal. For an atomic liquid, containing only one type of atom
where \(M\) is the mass of the atom.
Recoil Moment: Eq. (88) shows that the first moment is given by the average kinetic energy (in units of \(\hbar\)) of a particle which receives a momentum transfer \(\hbar q\). Therefore, \(\langle\omega\rangle\) is called the recoil moment. A number of βrecipesβ has been suggested to correct classical dynamic structure factors for detailed balance and to describe recoil effects in an approximate way. The most popular one has been suggested by Schofield [Ref17]
One can easily verify that the resulting dynamic structure factor fulfils the relation of detailed balance. Formally, the correction (89) is correct to first order in \(\hbar\) and cannot be used for large \(\mathbf{q}\)-values which correspond to large momentum transfers \(\hbar q\). This is actually true for all correction methods which have suggested so far. For more details we refer to [Ref18].
Current Correlation Functionο
The current correlation functions \(J_{\mu\nu}(\mathbf{q}, t)\) and its Fourier transform \(J_{\mu\nu}(\mathbf{q}, \omega)\) are closely related to the intermediate scattering function \(F(\mathbf{q}, t)\) and the dynamics structure factor \(S(\mathbf{q}, \omega)\) respectively. The intermediate scattering function \(F(\mathbf{q}, t)\) is a correlation function of the Fourier components of particle density whereas the current correlation function \(J_{\mu\nu}(\mathbf{q}, t)\) is the correlation function of the Fourier components of the particle current
where \(\mu\) and \(\nu\) are the cartesian directions \(x\), \(y\) or \(z\) and
The particle currents can be projected onto longitudinal and transverse components of the \(\mathbf{q}\)-vector. The longitudinal and transverse particle current are
where \(\hat{\mathbf{q}}\) are unit vectors of \(\mathbf{q}\). The partial longitudinal and transverse current correlation functions are
From the continuity equation we can obtain a relation between the longitudinal current correlation and the dynamic structure factor
Dynamic Coherent Structure Factorο
In MDANSE the dynamic coherent structure factor (DCSF) and coherent intermediate scattering function is a weighted sum of the partial term
where
and
To obtain results relevant to neutron scattering, the
b_coherent weight setting should be used so that the weight will be
generated using the coherent scattering lengths.
Dynamic Incoherent Structure Factorο
In MDANSE the dynamic incoherent structure factor (DISF) and incoherent intermediate scattering function is a weighted sum of the partial term
where
and
To obtain results relevant to neutron scattering, the
b_incoherent weight setting should be used so that the weight will be
generated using the incoherent scattering lengths.
Elastic Incoherent Structure Factorο
The elastic incoherent structure factor (EISF) appears as the amplitude of the elastic line in the neutron scattering spectrum. Elastic scattering is only present for systems in which the atomic motion is confined in space, as for solids. To understand which information is contained in the EISF we consider for simplicity a system where only one sort of atoms is visible to the neutrons. To a very good approximation this is the case for all systems containing a large amount of hydrogen atoms, as for biological systems. Incoherent scattering from hydrogen dominates by far all other contributions.
Similar to the Dynamic Incoherent Structure Factor described above,
b_incoherent weight setting is used and the weights are
generated using the incoherent scattering lengths.
The Van Hove Function: The EISF is defined as the limit of the incoherent intermediate scattering function for infinite time
Using the above definition of the EISF one can decompose the incoherent intermediate scattering function as follows
where \(F_{\mathrm{inc}}'(\mathbf{q}, t)\) decays to zero for infinite time. Taking now the Fourier transform it follows immediately that
Using the definition of the self-part of the van Hove function
which can be interpreted as the conditional probability to find a tagged particle at the position \(\mathbf{r}\) at time \(t\), given it started at the origin, one can write
The EISF gives the sampling distribution of the points in space in the limit of infinite time. In a real experiment this means times longer than the time which is observable with a given instrument. The EISF vanishes for all systems in which the particles can access an infinite volume since \(G_{\mathrm{s}}(r, t)\) approaches \(N^{-1}\) for large times, this is the case for molecules in liquids and gases.
EISF Computation: For computational purposes it is convenient to use the following representation of the EISF
where \(\mathrm{EISF}_{\alpha}(\mathbf{q})\) is the EISF of atom-types \(\alpha\). This expression is derived from definition Eq. (106) of the EISF and expression Eq. (104) for the intermediate scattering function, using that for infinite time the relation
holds. In this way the computation of the EISF is reduced to the computation of a static thermal average. We remark at this point that the length of the MD trajectory from which the EISF is computed should be long enough to allow for a representative sampling of the conformational space.
Gaussian Dynamic Incoherent Structure Factorο
Cumulant Expansion: The MSD can be related to the incoherent intermediate scattering function via the cumulant expansion [Ref11], [Ref22]
The cumulants \(p_{n,j}(t)\) are identified as
where
is the means squared displacement of atom \(j\) along the axis \(\hat{\mathbf{q}}\).
Gaussian Approximation: In the Gaussian approximation the above expansion is truncated after the \(q^2\)-term
For certain model systems like the ideal gas, the harmonic oscillator, and a particle undergoing Einstein diffusion, this is exact. For these systems the incoherent intermediate scattering function is completely determined by the MSD.
Similar to the Dynamic Incoherent Structure Factor described above,
b_incoherent weight setting is used and the weights are
generated using the incoherent scattering lengths.
Neutron Dynamic Total Structure Factorο
This is a combines the coherent and incoherent intermediate scattering
functions and corresponding dynamic structure factors. It is a fully
neutron-specific analysis, so that coherent neutron scattering
lengths b_coherent and the atomic
incoherent neutron scattering lengths b_incoherent are used to
weight the corresponding coherent and incoherent signals.
In this analysis the total incoherent, total coherent and total (coherent + incoherent) signals are calculated as
These expressions correspond to the formalism and equations given in [Ref47] - Chapter 1: βAn introduction to neutron scatteringβ .
Scattering Length Density Profileο
Calculates the time-averaged scattering length density profile of the system along one of the simulation box axes. This results is typically used for further calculations in other software packages for neutron reflectometry.
The result is the time-averaged coherent scattering length density profile given in units of \(10^{-6} \mathrm{Γ }^{-2}\), as used in neutron reflectometry calculations.
Static Structure Factorο
MDANSE computes the partial partial static structure factor (SSF) as the Fourier transform of the partial pair distribution function following the Faber-Ziman definition
The SSF here is related to the coherent intermediate scattering function calculated in MDANSE via the following expression
Structure Factor From Scattering Functionο
Calculates the static structure factor from the coherent intermediate scattering function via the following expression
To obtain the total results MDANSE will use the same weights that were used in the DCSF calculation.
X-ray Static Structure Factorο
MDANSEβs xray static structure factor analysis is tailored for neutron and X-ray scattering experiments in material science. It systematically investigates material structural properties by analyzing particle distribution and ordering. Researchers gain precise insights into fundamental aspects like atomic spacing and ordered patterns. MDANSE provides fine-grained control over β\(r\)-valuesβ and β\(q\)-values,β enabling customization for probing specific material structural characteristics. This tool is invaluable for advancing scientific and industrial research, especially in neutron scattering experiments.