small changes to go with photom_vs_spectral.py