A method of processing data from an electromagnetic resistivity logging tool comprising: providing an electromagnetic resistivity logging tool ; wherein the electromagnetic resistivity logging tool comprises a rotational position sensor; a transmitter coil (T 1 , T 2 , T 3 , T 4 , T X , T Y , T Z , 704, 802) and a receiver coil (R 1 , R 2 , R 1X , R 1Y , R 1Z , R 2X , R 2Y , R 2Z , 710, 712, 804); obtaining raw measurements at the receiver coil; averaging all bin measurements at the receiver coil in a first step, based on the raw measurements associated with each bin i with an azimuthal angle β i of the electromagnetic resistivity logging tool to obtain a first result, wherein i ranges from 1 to a total number of bins N; subtracting the first result from an average of two raw complex voltage measurements at the receiver coil in a second step to obtain a second result, wherein the two raw complex voltage measurements comprise a first raw complex voltage measurement associated with a bin i with an azimuthal angle β i and a second raw complex voltage measurement associated with a bin j with an azimuthal angle β j wherein β j is located opposite β j so that β i = β j + 180°; averaging a difference between the first raw complex voltage measurement and the second raw complex voltage measurement in a third step to obtain a third result, and using the first result, the second result and the third result to distribute the raw measurements at the receiver coil into three parts: a constant complex voltage; an azimuthal voltage as a sinusoid wave response with double periods; and an azimuthal voltage as a sinusoid wave response with a single period. providing an electromagnetic resistivity logging tool ; wherein the electromagnetic resistivity logging tool comprises a rotational position sensor; a transmitter coil (T 1 , T 2 , T 3 , T 4 , T X , T Y , T Z , 704, 802) and a receiver coil (R 1 , R 2 , R 1X , R 1Y , R 1Z , R 2X , R 2Y , R 2Z , 710, 712, 804); obtaining raw measurements at the receiver coil; averaging all bin measurements at the receiver coil in a first step, based on the raw measurements associated with each bin i with an azimuthal angle β i of the electromagnetic resistivity logging tool to obtain a first result, wherein i ranges from 1 to a total number of bins N; subtracting the first result from an average of two raw complex voltage measurements at the receiver coil in a second step to obtain a second result, wherein the two raw complex voltage measurements comprise a first raw complex voltage measurement associated with a bin i with an azimuthal angle β i and a second raw complex voltage measurement associated with a bin j with an azimuthal angle β j wherein β j is located opposite β j so that β i = β j + 180°; averaging a difference between the first raw complex voltage measurement and the second raw complex voltage measurement in a third step to obtain a third result, and using the first result, the second result and the third result to distribute the raw measurements at the receiver coil into three parts: a constant complex voltage; an azimuthal voltage as a sinusoid wave response with double periods; and an azimuthal voltage as a sinusoid wave response with a single period. <EOS>