Abstract
We develop a method for reconstructing the conformal factor of a Riemannian metric and the magnetic field on a surface from the scattering relation associated to the corresponding magnetic flow. The scattering relation maps a starting point and direction of a magnetic geodesic into its end point and direction. The key point in the reconstruction is the interplay between the magnetic ray transform, the fiberwise Hilbert transform on the circle bundle of the surface, and the Laplace-Beltrami operator of the underlying Riemannian metric.