Simulation and experimental validation of a selective magnetization process for batch-patterning magnetic layers. (November 2015)