specparam.analysis.error.compute_pointwise_error_arr

specparam.analysis.error.compute_pointwise_error_arr(data_model, data)[source]

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

Parameters:
data_model1d array

The model of the data.

data1d array

The original data that is being modeled.

Returns:
1d array

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