ess.reduce.time_of_flight.resample.make_regular_grid#

ess.reduce.time_of_flight.resample.make_regular_grid(var, *, dim, slices)[source]#

Create a regular grid variable based on the min and max of the slices.

The grid is constructed such that it includes the minimum and maximum values of the strictly increasing sections, with a step size equal to the difference between the first two values of the section with the minimum start value (which is not necessarily the first section).

Return type:

Variable