Previous topic

Extrapolation: Constant

Next topic

Extrapolation: Porod Law

This Page

Extrapolation: Linear

Extrapolate as: I(q) = B + m * q

class jldesmear.api.extrap_linear.Extrapolation[source]

I(q) = B + m*q

calc(q)[source]
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 exception
Parameters:reg (StatsRegClass object) – statistics registers (created in fit())