diff options
Diffstat (limited to 'gr-qtgui/include/gnuradio/qtgui/freq_sink_c.h')
-rw-r--r-- | gr-qtgui/include/gnuradio/qtgui/freq_sink_c.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gr-qtgui/include/gnuradio/qtgui/freq_sink_c.h b/gr-qtgui/include/gnuradio/qtgui/freq_sink_c.h index 0612f33ccd..717426d5aa 100644 --- a/gr-qtgui/include/gnuradio/qtgui/freq_sink_c.h +++ b/gr-qtgui/include/gnuradio/qtgui/freq_sink_c.h @@ -83,7 +83,11 @@ public: * \param fftsize size of the FFT to compute and display. If using * the PDU message port to plot samples, the length of * each PDU must be a multiple of the FFT size. - * \param wintype type of window to apply (see gr::fft::window::win_type) + * \param wintype type of window to apply (see gr::fft::window::win_type). + * By setting bit 16 to one, this block will normalize the window + * before applying it. This allows switching between windows without + * sacrifying signal power due to tapering, but it will also amplify + * some samples. See also set_fft_window_normalized(). * \param fc center frequency of signal (use for x-axis labels) * \param bw bandwidth of signal (used to set x-axis labels) * \param name title for the plot @@ -116,6 +120,8 @@ public: virtual float fft_average() const = 0; virtual void set_fft_window(const gr::fft::window::win_type win) = 0; virtual gr::fft::window::win_type fft_window() = 0; + //! If true, normalize window to unit power + virtual void set_fft_window_normalized(const bool enable) = 0; virtual void set_frequency_range(const double centerfreq, const double bandwidth) = 0; virtual void set_y_axis(double min, double max) = 0; |