Pixelated Bragg fibers: bandgap guiding, generalized half-wave stack condition, and application to large mode area fibers