High-resolution space-charge and polarization tomography with thermal pulses