The current implementation assumes that the exp S(Q,E) extends a energy range that includes all phonon modes. This won't work well if multiple measurements of the same material at different incident energies are performed because the multi-phonon and multiple-scattering corrections should be computed from the full-range density of states instead of the lower-energy portion of the DOS.
Here we want to adjust the methods to allow for taking an initial DOS, and only update the lower-energy portion of the DOS that is measured in current Ei.
Methods need to be changed
singlephonon_sqe2dos: support an initial DOS that only the low E portion of it will be updated
dos2sqe: support an input DOS that has larger E range than the input experimental sqe
sqe2dos: support an input DOS that has larger E range than the input experimental sqe
The current implementation assumes that the exp S(Q,E) extends a energy range that includes all phonon modes. This won't work well if multiple measurements of the same material at different incident energies are performed because the multi-phonon and multiple-scattering corrections should be computed from the full-range density of states instead of the lower-energy portion of the DOS.
Here we want to adjust the methods to allow for taking an initial DOS, and only update the lower-energy portion of the DOS that is measured in current Ei.
Methods need to be changed