Create spectra.py