As an electronic engineering type (and HAM) myself, I'm naturally tempted to propose a technical solution, but I think think that in view of the posters requirements, the KISS principle might be applicable here – IF the number of magnetrons to be tested is small, and high accuracy isn't...