## 4 Conclusions  
In this paper, we presented the numerical model and algorithm of measurements of distortions of the laser beam that passed through a moderately scattering medium. The simulation of beam propagation through a scattering medium was implemented using the Monte Carlo simulation, the scattered beam propagation in free space from the edge of scattering medium to the lenslet array of the Shack-Hartmann sensor was implemented using ray-tracing techniques, and the measurements of beam distortions was implemented using the Shack-Hartmann technique. We measured the amplitude of distortions of the scattered beam by estimating the displacements of focal spots on the Shack-Hartmann sensor. Both the model and experiment demonstrated similar trends of exponential increase of the amplitude of distortions with the increase of concentration values of the scattering particles in the medium. Conceptualization, I.G., A.N. and A.K. ; methodology, I.G. and A.N. ; software, I.G. ; validation, I.G. ; formal analysis, A.K. ; investigation, I.G. ; resources, I.G. and V.T. ; data curation, A.K. ; writing--original draft preparation, I.G. ; writing--review and editing, I.G., J.S. and V.T. ; visualization, I.G. ; supervision, J.S. ; project administration, A.K. ; funding acquisition, J.S. All authors have read and agreed to the published version of the manuscript. This research was funded by the Russian Science Foundation, Grant No. 20-19-00597. The part of the data presented in this study is obtained using the developed software that are openly available in [[https://github.com/burning-daylight/Visscat](https://github.com/burning-daylight/Visscat)]([https://github.com/burning-daylight/Visscat](https://github.com/burning-daylight/Visscat)) (accessed on 5 July 2023). The authors declare no conflict of interest. * [PERSON] et al. (1966) [PERSON]; [PERSON]; [PERSON]; [PERSON] Wavefront reconstruction imaging through random media. _Appl. Phys. Lett._**1966**, \(8\), 311-313. [CrossRef]
* [PERSON] (1968) [PERSON]; [PERSON] Holographic imaging through a random medium. _J. Opt. Soc. Am._**1968**, _58_, 273-274. [CrossRef]
* [PERSON] et al. (2014) [PERSON]; [PERSON] [PERSON]; [PERSON] [PERSON]; [PERSON] [PERSON]; [PERSON]; [PERSON] Deep tissue imaging using spectroscopic analysis of multiply scattered light. _Optica_**2014**, \(1\), 105. [CrossRef]
* [PERSON] et al. (2012) [PERSON]; [PERSON]; [PERSON]; [PERSON]; [PERSON]; [PERSON] Non-invasive imaging through opaque scattering layers. _Nature_**2012**, _491_, 232-234. [CrossRef]
* [PERSON] et al. (2012) [PERSON]; [PERSON]; [PERSON] [PERSON] Looking around corners and through thin turbid layers in real time with scattered incoherent light. _Nat. Photon._**2012**, \(6\), 549-553. [CrossRef]
* [PERSON] et al. (2010) [PERSON]; [PERSON] [PERSON]; [PERSON] [PERSON]; [PERSON]; [PERSON]; [PERSON] Measuring the transmission matrix in optics: An approach to the study and control of light propagation in disordered media. _Phys. Rev. Lett._**2010**, _104_, 100601. [CrossRef]
* [PERSON] et al. (2012) [PERSON]; [PERSON]; [PERSON] High-speed scattering medium characterization with application to focusing light through turbid media. _Opt. Express_**2012**, _20_, 1733-1740. [CrossRef] [PubMed]
* [PERSON] et al. (2010) [PERSON]; [PERSON] [PERSON]; [PERSON]; [PERSON] [PERSON]; [PERSON] Imaging through turbid layers by scanning the phase conjugated second harmonic radiation from a nanoparticle. _Opt. Express_**2010**, _18_, 20723-20731. [CrossRef]
* [PERSON] et al. (2012) [PERSON]; [PERSON]; [PERSON]; [PERSON]; [PERSON]; [PERSON]; [PERSON] Focusing through dynamic scattering media. _Opt. Express_**2012**, _20_, 15086-15092. [CrossRef]
* [PERSON] et al. (2017) [PERSON]; [PERSON]; [PERSON]; [PERSON]; [PERSON] Focusing light through scattering media by transmission matrix inversion. _Opt. Express_**2017**, _25_, 27234-27246. [CrossRef]
* [PERSON] et al. (2014) [PERSON]; [PERSON] [PERSON]; [PERSON]; [PERSON] Focusing on moving targets through scattering samples. _Optica_**2014**, \(1\), 227-232.