nectarchain.trr_test_suite.utils.linear_fit_function#

linear_fit_function(x, a, b)[source]#

Computes a linear function of the form a*x + b.

Args:

x (float): The input value. a (float): The slope coefficient. b (float): The y-intercept.

Returns:

float: The result of the linear function.