Loading...
Searching...
No Matches
mmse_resampler_ff.h
Go to the documentation of this file.
/* -*- c++ -*- */
/*
* Copyright 2004,2007,2012-2013 Free Software Foundation, Inc.
*
* This file is part of GNU Radio
*
* SPDX-License-Identifier: GPL-3.0-or-later
*
*/
#ifndef INCLUDED_MMSE_RESAMPLER_FF_H
#define INCLUDED_MMSE_RESAMPLER_FF_H
#include <gnuradio/block.h>
#include <gnuradio/filter/api.h>
namespace gr {
namespace filter {
/*!
* \brief Resampling MMSE filter with float input, float output
* \ingroup resamplers_blk
*
* \details
* The resampling ratio and mu parameters can be set with a pmt dict
* message. Keys are pmt symbols with the strings "resamp_ratio" and "mu"
* and values are pmt floats.
*/
class FILTER_API mmse_resampler_ff : virtual public block
{
public:
// gr::filter::mmse_resampler_ff::sptr
typedef std::shared_ptr<mmse_resampler_ff> sptr;
/*!
* \brief Build the resampling MMSE filter (float input, float output)
*
* \param phase_shift The phase shift of the output signal to the input
* \param resamp_ratio The resampling ratio = input_rate / output_rate.
*/
static sptr make(float phase_shift, float resamp_ratio);
virtual float mu() const = 0;
virtual float resamp_ratio() const = 0;
virtual void set_mu(float mu) = 0;
virtual void set_resamp_ratio(float resamp_ratio) = 0;
};
} /* namespace filter */
} /* namespace gr */
#endif /* INCLUDED_MMSE_RESAMPLER_FF_H */
gr::block::block
block(void)
Definition gnuradio-runtime/include/gnuradio/block.h:806
gr::filter::mmse_resampler_ff
Resampling MMSE filter with float input, float output.
Definition mmse_resampler_ff.h:31
gr::filter::mmse_resampler_ff::mu
virtual float mu() const =0
gr::filter::mmse_resampler_ff::set_mu
virtual void set_mu(float mu)=0
gr::filter::mmse_resampler_ff::sptr
std::shared_ptr< mmse_resampler_ff > sptr
Definition mmse_resampler_ff.h:34
gr::filter::mmse_resampler_ff::resamp_ratio
virtual float resamp_ratio() const =0
gr::filter::mmse_resampler_ff::set_resamp_ratio
virtual void set_resamp_ratio(float resamp_ratio)=0
gr::filter::mmse_resampler_ff::make
static sptr make(float phase_shift, float resamp_ratio)
Build the resampling MMSE filter (float input, float output).
block.h
api.h
FILTER_API
#define FILTER_API
Definition gr-filter/include/gnuradio/filter/api.h:18
gr::filter
Definition dc_blocker_cc.h:18
gr
GNU Radio logging wrapper.
Definition basic_block.h:29