Before revision: Magnetic mask which is analog to photomask define the spatial distribution and shape of the applied magnetic field.
After revision: Magnetic masks are analogous to a photomask in photolithography, in that they define the spatial distribution and shape of the applied magnetic field.