ewoksxrdct.tests.test_regrid_data#
Functions
Edges are offset by half the grid spacing so bins center on grid points. |
|
A single-bin grid has no spacing to compute a bin from, so it raises a ValueError. |
|
When two readings land in the same bin the regridded value is their average, and a bin with no readings is zero rather than NaN. |
|
A motor readback beyond the nominal scan range is excluded from the regridded output instead of raising or corrupting a bin. |
|
A grid given as (high, low, count) -- e.g. a motor scanning from a high position down to a low one -- must regrid correctly and produce ascending output grids, not silently drop every point. |
|
Integer intensity input handled in regrid_histogram. |
|
The radial axis name and edge values are forwarded unchanged. |