ess.amor.utils.qgrid#

ess.amor.utils.qgrid(detector_rotation, sample_rotation, wbins, bdlims)[source]#

Generates a suitable Q-binnning from the limits on wavelength and divergence angle.

The binning is a geometric grid starting from the minimum achievable Q value or 1e-3 A, whichever is larger.

Return type:

types.QBins (scipp.Variable)