Cleaning of the eddy current effects from magnetic diagnostics