check wavelength range