python/demos/demo_simple_spectral_weighting.py: added simple spectral weighting