Open stfc-lam opened 4 years ago
It is not clear at this point whether broadening data on a regular grid is in Euphonic's scope; I believe this is currently handled in Horace? If it is decided that Euphonic does not deal with regular grids, then it does not make sense to include the second function (and broadening machinery) in Euphonic.
In that case the objectives of this Issue become:
Broadening-related work can be added as seperate issues if/when determined to be in-scope.
To expand a little on what this is, what requirements it creates and where it might fit in:
This refers to the "semi-empirical" method implemented in a-CLIMAX and AbINS, as well as o-CLIMAX. While o-CLIMAX also provides some other techniques, this is the only method currently implemented in AbINS, presumably as replacing a-CLIMAX was the initial top priority.
The method applies to incoherent scattering in a powder of semi-isotropic oscillators. This combination of approximations allows an analytical solution to be applied to inexpensively obtain the scattering function at a given q (or ω-q relationship) from a set of frequencies and eigenvectors.
It is also possible to analytically obtain contributions to S from higher-quantum-order events: overtones and combination modes. As the expressions would become increasingly complicated at higher orders, additional approximations seem to be applied in practice:
An empirical energy-dependent broadening relationship is then applied in order to obtain a simulated spectrum for an indirect instrument.
So in principle there are two main functions to implement (with supporting machinery):
An important distinction between a typical a-CLIMAX/Abins calculation for TOSCA and the general model in PACE is that the data is not really a 4-D S(q,ω); it is just S(ω) with a (scalar) q(ω) relationship determined by the instrument geometry. So ideally the data is passed around as a pair of 1D (frequency, intensity) where appropriate; requiring a corresponding 1D q vector would not be too onerous, but it should be possible to treat q as a scalar as we have no directional information.