jaxrts.setup.convolve_stucture_factor_with_instrument
- jaxrts.setup.convolve_stucture_factor_with_instrument(Sfac: Quantity, setup: Setup) Quantity[source]
Convolve a dynamic structure factor with the instrument function, given by the
setup.Note
The convolution grid is automatically determined from the
setup. This step requiresjaxrts.setup.Setup.measured_energyto be spaced out equidistantly.- Parameters:
Sfac (Quantity) – A dynamic structure factor. Should have units of [time].
setup (Setup) – The Setup object containing the instrument function
- Returns:
Quantity – The convolution of the structure factor with the instrument function.