interval_overlap_length#
- astropy.stats.interval_overlap_length(i1: tuple[float, float], i2: tuple[float, float]) float [source]#
Compute the length of overlap of two intervals.
- Parameters:
- i1, i2(
python:float
,python:float
) The two intervals, (interval 1, interval 2).
- i1, i2(
- Returns:
- l
python:float
The length of the overlap between the two intervals.
- l