Optical gratings that perform a number of functions at various wavelengths
are formed by various methods that preserve spectral information within a
wavelength band, the functions including: coupling radiation from one
waveguide to another, controllable gratings that operate on different
wavelengths in response to external control signals.