Temperature profile estimation for high spatial resolution space charge measurement with thermal pulse methods