#$%^&*AU2016213849A120170323.pdf#####ABSTRACT A method, using patches fixed to a surface of a body, the patches including respective electrodes in contact with the surface, and at least one of the patches configured to output a signal in response to a magnetic field applied to the body. Initially, the signal is processed to compute first magnetic locations and first electrical locations of the at least one of the patches. Subsequently, the signal is processed to compute second magnetic locations and second electrical locations of the at least one of the patches. A first relation is computed between the first magnetic and the first electrical locations, a second relation is computed between the second magnetic and the second electrical locations, and upon detecting a difference between the second and the first relations, a magnetic location correction is computed and then applied to track a position of a magnetic sensor inside the body. 304/5 MAGNETIC LOCATION CORRECTION METHOD 80 AFFIX AN ARRAY OF PATCHES TO A PATIENT APPLY A MAGNETIC FIELD AND AN ELECTRICAL 82 CURRENT TO THE PATIENT'S BODY RECEIVE, FROM AT LEAST ONE PATCH, A SIGNAL IN 84 RESPONSE TO THE MAGNETIC FIELD, AND MEASURENTS OF AN IMPEDANCE TO THE ELECTRICAL CURRENT COMPUTE, BASED ON THE SIGNAL AT A FIRST TIME, 86 FIRST FIELD-BASED LOCATION COORDINATES COMPUTE, BASED ON THE IMPEDANCE 88 MEASUREMENTS AT THE FIRST TIME, FIRST IMPEDANCE-BASED LOCATION COORDINATES [COMPUTE A FIRST RELATION BETWEEN THE THE FIRST 90 FIELD-BASED LOCATION COORDINATES AND THE FIRST IMPEDANCE-BASED LOCATION COORDINATES COMPUTE, BASED ON THE SIGNAL AT A SECOND TIME, 92 SECOND FIELD-BASED LOCATION COORDINATES COMPUTE, BASED ON THE IMPEDANCE 94 MEASUREMENTS AT THE SECOND TIME, SECOND IMPEDANCE-BASED LOCATION COORDINATES COMPUTE A SECOND RELATION BETWEEN THE THE SECOND FIELD-BASED LOCATION COORDINATES AND 96 THE SECOND IMPEDANCE-BASED LOCATION COOR