Writing Field Analysis for Shingled Bit-Patterned Magnetic Recording