Spacecraft equipped with magnetometers can be used to capture in situ measurements of magnetic phenomena in the geospace environment. These measurements are necessary to answer key questions about the nature of the Earth's magnetosphere and its interaction with interplanetary magnetic fields. Understanding how the heliosphere directs the flow of energy, mass, and momentum between the Sun and Earth is critical for applications such as space weather modeling, space exploration, and climate science. A number of missions use spacecraft equipped with magnetometers to measure magnetic fields. For example, The European Space Agency's SWARM mission uses a constellation of three satellites to provide high fidelity magnetic field measurements used to model the Earth's magnetic field and study the Earth's dynamo (Fratter et al., 2016). Magnetometers provide invaluable data for space science research, however, the quality of the data are often limited by magnetic noise generated by the spacecraft. Electrical systems onboard a spacecraft generate stray magnetic fields that interfere with magnetic field measurements. The strength of magnetic fields in the geospace environment ranges several orders of magnitude with natural phenomena such as the interplanetary magnetic field occurring on the order of 6 nT to the Earth's magnetosphere in low-Earth orbit measuring on the order of 60,000 nT. Spacecraft subsystem magnetic fields may completely eclipse the perturbations in natural magnetic fields which are of interest to understanding waves and currents in the solar wind and magnetosphere. The presence of these stray magnetic fields is a significant obstacle for missions that utilize magnetic field data (Ludlam et al., 2009;Russell, 2004).