fooof.analysis.error.compute_pointwise_error

fooof.analysis.error.compute_pointwise_error(model, data)[source]

Calculate point-wise error between original data and a model fit of that data.

Parameters:
model1d array

The model.

data1d array

The original data that is being modeled.

Returns:
1d array

Calculated values of the difference between the data and the model.