If I use the lpsd correction (in this case through the GUI), I choose the size of the detector, the divergence angle, and I can also choose to correct for beam spill and intensity.
I'm assuming that the beam spill correction alters the peak shape such that it doesn't change whilst the beam spills over the sample, and that the intensity correction corrects for the fact that the illuminated area doesn't change whilst the beam is spilling over.
The resultant code is:
lpsd_th2_angular_range_degrees 4
lpsd_equitorial_divergence_degrees 1
lpsd_equitorial_sample_length_mm 20
lpsd_beam_spill_correct_intensity 1
The tech ref describes them as:
lpsd_th2_angular_range_degrees: corresponds to the angular range of the LPSD in 2Th degrees.
lpsd_equitorial_divergence_degrees: Equatorial divergence in degrees of the primary beam.
lpsd_equitorial_sample_length_mm: Lengths of the sample in the equatorial plane.
lpsd_beam_spill_correct_intensity: Corrects intensity deviations inherent to variable slits when !E is set to 1.
Is lpsd_beam_spill_correct_intensity purely a variable slit correction? I can't see how this would work, unless I gave lpsd_equitorial_divergence_degrees as a function of 2Th in order to get a constant illuminated length.