flatSpectrum function

Flat spectrum