by measuring or controlling the wavelength