cwitools.modeling.rss

cwitools.modeling.rss(data, model)

Get the residual sum of squares for a model and data.

Parameters:
  • data (NumPy.ndarray) – Observed data.
  • model (NumPy.ndarray) – Modeled data.
Returns:

Sum of square residuals for the input data and model.

Return type:

rss (float)