The construction of sparse models of Mars's crustal magnetic field