def METHOD_NAME(self, angles, angular_range):
    m = np.zeros((10, 20))
    m[2:4, :] = 1
    c = _get_interpolation_matrix(
        angles, num_points=90, angular_range=angular_range
    )
    com = np.average(range(90), weights=c)
    np.testing.assert_almost_equal(com, 90 * angles[0])