specparam.measures.pointwise.compute_pointwise_error_arr

specparam.measures.pointwise.compute_pointwise_error_arr(model, data)[source]

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

Parameters:
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.