foxes.utils.two_circles.calc_area

foxes.utils.two_circles.calc_area(r1, r2, d)[source]

Calculates the intersection of two circles.

All parameters should have the same shape, or be broadcastable to one another.

Parameters:
Returns:

area – The intersectional area

Return type:

numpy.ndarray