xoa.core.interp.XYInterpolator.set_weights

xoa.core.interp.XYInterpolator.set_weights#

XYInterpolator.set_weights(weights)[source]#

Restore fractional-index weights from a dict (as returned by get_weights()).

Parameters:

weights (dict) – Must contain j_base, i_base, frac_a, frac_b, valid_dst_mask.