GNU Radio Manual and C++ API Reference
3.9.1.0
The Free & Open Software Radio Ecosystem
mmse_resampler_cc.h
Go to the documentation of this file.
1
/* -*- c++ -*- */
2
/*
3
* Copyright 2004,2007,2012-2013 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_MMSE_RESAMPLER_CC_H
12
#define INCLUDED_MMSE_RESAMPLER_CC_H
13
14
#include <
gnuradio/block.h
>
15
#include <
gnuradio/filter/api.h
>
16
17
namespace
gr
{
18
namespace
filter {
19
20
/*!
21
* \brief resampling MMSE filter with complex input, complex output
22
* \ingroup resamplers_blk
23
*
24
* \details
25
* The resampling ratio and mu parameters can be set with a pmt dict
26
* message. Keys are pmt symbols with the strings "resamp_ratio" and "mu"
27
* and values are pmt floats.
28
*/
29
class
FILTER_API
mmse_resampler_cc
:
virtual
public
block
30
{
31
public
:
32
// gr::filter::mmse_resampler_cc::sptr
33
typedef
std::shared_ptr<mmse_resampler_cc>
sptr
;
34
35
/*!
36
* \brief Build the resampling MMSE filter (complex input, complex output)
37
*
38
* \param phase_shift The phase shift of the output signal to the input
39
* \param resamp_ratio The resampling ratio = input_rate / output_rate.
40
*/
41
static
sptr
make(
float
phase_shift,
float
resamp_ratio);
42
43
virtual
float
mu()
const
= 0;
44
virtual
float
resamp_ratio()
const
= 0;
45
virtual
void
set_mu(
float
mu) = 0;
46
virtual
void
set_resamp_ratio(
float
resamp_ratio) = 0;
47
};
48
49
}
/* namespace filter */
50
}
/* namespace gr */
51
52
#endif
/* INCLUDED_MMSE_RESAMPLER_FF_H */
block.h
FILTER_API
#define FILTER_API
Definition:
gr-filter/include/gnuradio/filter/api.h:18
api.h
gr::filter::mmse_resampler_cc::sptr
std::shared_ptr< mmse_resampler_cc > sptr
Definition:
mmse_resampler_cc.h:33
gr::block
The abstract base class for all 'terminal' processing blocks.
Definition:
block.h:59
gr
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition:
basic_block.h:29
gr::filter::mmse_resampler_cc
resampling MMSE filter with complex input, complex output
Definition:
mmse_resampler_cc.h:29
gr-filter
include
gnuradio
filter
mmse_resampler_cc.h
Generated by
1.8.17