Least squares inversion of borehole temperature measurements in functional space | Synapse