Edge-modulated perpendicular magnetic anisotropy in [Co/Pd][subscript n] and L1[subscript 0]-FePt thin film wires