A Brannock device was an invention to be used to determine a person's what?

Science Trivia: A Brannock device was an invention to be used to determine a person's what?