Extrapolation: Linear¶
Extrapolate as: I(q) = B + m * q
-
class
jldesmear.jl_api.extrap_linear.
Extrapolation
[source]¶ I(q) = B + m*q
-
calc
(q)[source]¶ - \[I(q) = B + m q\]
Parameters: q (float) – magnitude of scattering vector Returns: value of extrapolation function at q Return type: float
-
fit_result
(reg)[source]¶ Determine the results of the fit and store them as the set of coefficients in the self.coefficients dictionary. Called from
fit()
.Note: must override in subclass otherwise fit_result()
will throw an exceptionParameters: reg (StatsRegClass object) – statistics registers (created in fit()
)
-