firecrown.data_types.residuals

Contents

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:
Return type:

ndarray[tuple[int, ...], dtype[float64]]