GNU Radio Manual and C++ API Reference 3.10.1.1
The Free & Open Software Radio Ecosystem
hilbert_fc.h
Go to the documentation of this file.
1/* -*- c++ -*- */
2/*
3 * Copyright 2004,2012 Free Software Foundation, Inc.
4 *
5 * This file is part of GNU Radio
6 *
7 * SPDX-License-Identifier: GPL-3.0-or-later
8 *
9 */
10
11#ifndef INCLUDED_FILTER_HILBERT_FC_H
12#define INCLUDED_FILTER_HILBERT_FC_H
13
14#include <gnuradio/fft/window.h>
15#include <gnuradio/filter/api.h>
17#include <gnuradio/sync_block.h>
18#include <gnuradio/types.h>
19
20namespace gr {
21namespace filter {
22
23/*!
24 * \brief Hilbert transformer.
25 * \ingroup filter_blk
26 *
27 * \details
28 * real output is input appropriately delayed.
29 * imaginary output is hilbert filtered (90 degree phase shift)
30 * version of input.
31 */
32class FILTER_API hilbert_fc : virtual public sync_block
33{
34public:
35 // gr::filter::hilbert_fc::sptr
36 typedef std::shared_ptr<hilbert_fc> sptr;
37
38 /*!
39 * Build a Hilbert transformer filter block.
40 *
41 * \param ntaps The number of taps for the filter.
42 * \param window Window type (see fft::window::win_type) to use.
43 * \param param Parameter value for a Kaiser/Exp/Gaussian/Tukey window.
44 */
45 static sptr make(unsigned int ntaps,
46 fft::window::win_type window = fft::window::win_type::WIN_HAMMING,
47 double param = 6.76);
48};
49
50} /* namespace filter */
51} /* namespace gr */
52
53#endif /* INCLUDED_FILTER_HILBERT_FC_H */
win_type
Definition: window.h:28
Hilbert transformer.
Definition: hilbert_fc.h:33
std::shared_ptr< hilbert_fc > sptr
Definition: hilbert_fc.h:36
static sptr make(unsigned int ntaps, fft::window::win_type window=fft::window::win_type::WIN_HAMMING, double param=6.76)
synchronous 1:1 input to output with history
Definition: sync_block.h:26
#define FILTER_API
Definition: gr-filter/include/gnuradio/filter/api.h:18
GNU Radio logging wrapper.
Definition: basic_block.h:29