Gauge theory applied to magnetic lattices. (1st November 2022)