Direct measurement of magnetodynamics in a perpendicular recording system