bucky.util.extrapolate#

Provides are version of xp.interp that will perform polynomial extrapolation for all OOB x values.

Module Contents#

Functions#

_cached_polyfit(*args, **kwargs)

Joblib memory cached version of xp.polyfit()

interp_extrap(x, x1, yp, order=2, n_pts=None)

Interp function with polynomial extrapolation.

bucky.util.extrapolate._cached_polyfit(*args, **kwargs)[source]#

Joblib memory cached version of xp.polyfit()

bucky.util.extrapolate.interp_extrap(x, x1, yp, order=2, n_pts=None)[source]#

Interp function with polynomial extrapolation.