Extrapolation: Constant¶
Extrapolate as: I(q) = B
-
class
jldesmear.jl_api.extrap_constant.Extrapolation[source]¶ I(q) = B
-
calc(q)[source]¶ - \[I(q) = B\]
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())
-