compute_area_ratio#

radionets.evaluation.contour.compute_area_ratio(CS_pred, CS_truth)[source]#

Compute the ratio of the areas of truth and prediction.

Parameters:
CS_predcontour object

contour object of prediction

CS_truthcontour object

contour object of truth

Returns:
float

ratio between area of truth and prediction