A short length of optical fiber that filters out a particular wavelength. Periodically spaced zones in the fiber core are altered to have different refractive indexes slightly higher than the core.