Fixed problems with the Polarization option of getSpectrum. Completely refactored the function, pushing the bulk of the work to a new getSpectralAmplitude function together with a VectorFourier component.
Fixed problems with the Polarization option of getSpectrum. Completely refactored the function, pushing the bulk of the work to a new getSpectralAmplitude function together with a VectorFourier component.