ess.amor.resolution.sample_size_resolution#

ess.amor.resolution.sample_size_resolution(da, sample_size)[source]#

The resolution from the projected sample size, where it may be bigger than the detector pixel resolution as described in Section 4.3.3 of the Amor publication (doi: 10.1016/j.nima.2016.03.007).

Parameters:
  • pixel_position – Positions for detector pixels.

  • sample_size (SampleSize[types.SampleRun (str)]) – Size of sample.

Returns:

ess.amor.types.SampleSizeResolution (scipp.Variable) – Standard deviation of contribution from the sample size.