firecrown.data_types.residuals#
- firecrown.data_types.residuals(data, theory)[source]#
Return a bare np.ndarray with the difference between data and theory.
This is to be preferred to using arithmetic on the vectors directly.
- Parameters:
data (
DataVector) –theory (
TheoryVector) –
- Return type:
ndarray[tuple[int,...],dtype[float64]]