Theoretical background for a potential real time quantification of gas bubbles in