Description
The scale of Sunny-calculated dynamical structure factor intensities is should be consistent across calculation methods, following this precise specification.
In Sunny 0.5.11, the result of spin wave calculations (using SpinWaveTheory
and intensities_broadened
) followed this convention, whereas classical dynamics calculations (using dynamical_sampler
and intensities_interpolated
) did not.
Concretely, SpinWaveTheory
reports intensities as
In Sunny 0.6, this bug is fixed. All calculation methods properly report the structure factor as a density in energy space.
Additional notes:
- SpinW uses the
$S(q,\omega) \Delta \omega$ convention for its broadened intensities, so to obtain quantitative agreement with Sunny 0.6, one must divide the SpinW result by a$\Delta \omega$ factor. - The results of "binned" intensities are already integrated, and this issue is not relevant to that case.