Functions
leakage(waveforms, intensity, leakage_mask)
leakage
Compute the leakage 1 and 2, and their intensity.