This software requires the Slepian software https://github.com/Slepian/Slepian to be installed and the file initialize.m needs to be edited to point to the installation location of the Slepian software.
The file notes.txt explains how to use the software to reproduce the results of the paper "Crustal magnetization source depths north of the Caloris Basin" by Kalski et al. (2025)