add spectrum analysis