Home
last modified time | relevance | path

Searched refs:correct_array (Results 1 – 1 of 1) sorted by relevance

/honee/tests/
H A Dsmartsim_regression_framework.py56 def verify_training_data(database_array, correct_array, ceed_resource, atol=1e-8, rtol=1e-8): argument
65 if not np.allclose(database_array, correct_array, atol=atol, rtol=rtol):
67 … total_tolerances = atol + rtol * np.abs(correct_array) # mimic np.allclose tolerance calculation
68 idx_notclose = np.where(np.abs(database_array - correct_array) > total_tolerances)
74 correct_vorticity = correct_array[idx_notclose]