set_diffraction_offset#
- ReducedIntensityGenerator1D.set_diffraction_offset(offset)[source]#
Defines the offset for the signal axis variable s in terms of A^-1 per pixel. Note that s is defined here as s = 2 sin(theta)/lambda = 1/d, where theta is the scattering angle, lambda the wavelength, and d the reciprocal spacing.
- Parameters:
offset (float) – Scattering vector offset in terms of A^-1 per pixel.