qlat_utils.mk_interp_tuple

qlat_utils.mk_interp_tuple(x, x0, x1, x_idx)[source]

Returns (x_idx_low, x_idx_high, coef_low, coef_high,)

x_idx corresponds to x0 x_idx + 1 corresponds to x1