wavelength trimming