A medical probe includes an elongate body for insertion into an organ of a patient, and an electrode that is attached to the elongate body. Multiple thermocouples are disposed at respective different locations of the electrode and electrically coupled to the electrode, and are configured to sense respective temperatures at the locations.