Stav dette: Principles and application of magnetic