Measurement of the magneto-optical properties of magnetite in the near infrared