A design technique minimizes the loss and ripple in the spectral response
of an optical filter formed using a pair of gratings connected by an array
of optical elements. This filter can be, for example, two waveguide
grating routers (WGRs) connected by an array of waveguides. Each WGR
includes two star couplers connected by waveguide grating arms. The
smoothest spectral response is achieved for a given set of connecting
waveguides, by choosing the number of grating arms less than or equal to
filling the star coupler central Brillouin zone made by the set of
connecting waveguides resulting in the connecting waveguides neither
substantially over- or under-sampling the optical spectrum from the
waveguide gratings. Exactly filling the Brillouin zone with the grating
arms minimizes the loss, and so is the preferred choice.