starting spectrum.py