Added option in the beam spectrum calculation to compute only the
frequency array and not the spectrum.