Enhanced imaging of magnetic structures in micropatterned arraysof Co dots and antidots