To cite this code in publications, please cite the data/ code publication, as well as the paper describing the data/code: Klaus, M., Durighetto, N., Khan, A. M., Chatton, E., Öquist, M., Peruzzo, P. and Botter, G. (2026). Bubble size spectra reveal distinct scaling patterns and preferential downstream persistence of microbubbles in mountain streams. npj Hydrosphere. https://doi.org/10.1038/s44592-026-00003-6 Klaus, M., Durighetto, N., Khan, M. A., Chatton, E., Öquist, M., Peruzzo, P., & Botter, G. (2026). Bubble size distributions and turbulence in mountain streams (Version 1) [Data set]. Swedish University of Agricultural Sciences. DOI: https://doi.org/10.5878/9gch-4866.