The paper presents an inversion procedure that derives the temperature stratification, the turbulent velocity, and the magnetic field strength of the photospheric layers of small-scale magnetic fields from observed Stokes V spectra and the continuum …