There is disclosed a method and apparatus for spectroscopically sensing a magnetic field emanating from an object that includes receiving a radiance emission from an object and dispersing the radiance emission into parts of the electromagnetic spectrum. The method also includes detecting a part of the electromagnetic spectrum identified with a selected gas and measuring the magnetic field from a part of the electromagnetic spectrum based on spectral spreading of a spectral line.