The quantitative determination of flux-density gradients in type-II superconductors by means of the magneto-optical faraday effect