model_background#
- iris.sg.background.model_background(velocity, bias, slope)[source]#
A simple linear model of the background in the proximity of a spectral line, given by
\[y(v) = m v + b\]where \(m\) is the slope, \(v\) is the velocity, and \(b\) is the bias.
- Parameters:
velocity (AbstractScalar) – The test points at which to evaluate the model background.
bias (Quantity | AbstractScalar) – The \(y\)-intercept of the model.
slope (Quantity | AbstractScalar) – The linear slope of the model.
- Return type: