Developments in static and pulsed magnetic field systems for detection of magnetic resonance in non-uniform magnetic fields