Manipulation Of Magnetic Textures In Thin Films And Devices