Magnetic characterization of recording media