Application of X-rays excited by β-sources to studying hydrodynamics of two-phase media