def test_total_area(x, data):
    ' Returns the total squared area underneath all the tests.\n\n    :param np.array x: Updated Voce-Chaboche material model parameters.\n    :param list data: (pd.DataFrame) Stress-strain history for each test considered.\n    :return float: Total squared area.\n    '
    area_total = 0.0
    for d in data:
        (_, area) = normalized_error_single_test_uvc(x, d)
        area_total += area
    return area_total
Returns the total squared area underneath all the tests.

:param np.array x: Updated Voce-Chaboche material model parameters.
:param list data: (pd.DataFrame) Stress-strain history for each test considered.
:return float: Total squared area.
def test_total_area(x, data):
    ' Returns the total squared area underneath all the tests.\n\n    :param np.array x: Updated Voce-Chaboche material model parameters.\n    :param list data: (pd.DataFrame) Stress-strain history for each test considered.\n    :return float: Total squared area.\n    '
    area_total = 0.0
    for d in data:
        (_, area) = normalized_error_single_test_uvc(x, d)
        area_total += area
    return area_total