mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-01-18 21:23:02 +00:00
Fix Notch_Filter and Notch_Filter_Lite input filters
This commit is contained in:
parent
4f1ad9ac29
commit
58269aac2a
@ -15,6 +15,8 @@ SPDX-FileCopyrightText: 2011-2020 Carles Fernandez-Prades <carles.fernandez@cttc
|
||||
- Fixed bug in acquisition detection when the configuration parameter
|
||||
`Acquisition_XX.threshold` was set but `Acquisition_XX.pfa` was not, causing
|
||||
false locks.
|
||||
- Fixed anti-jamming filters: `Pulse_Blanking_Filter`, `Notch_Filter` and
|
||||
`Notch_Filter_Lite`.
|
||||
|
||||
### Improvements in Efficiency:
|
||||
|
||||
|
@ -65,15 +65,6 @@ Notch::Notch(float pfa,
|
||||
}
|
||||
|
||||
|
||||
void Notch::forecast(int noutput_items __attribute__((unused)), gr_vector_int &ninput_items_required)
|
||||
{
|
||||
for (int &aux : ninput_items_required)
|
||||
{
|
||||
aux = length_;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
int Notch::general_work(int noutput_items, gr_vector_int &ninput_items __attribute__((unused)),
|
||||
gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
|
||||
{
|
||||
|
@ -53,8 +53,6 @@ class Notch : public gr::block
|
||||
public:
|
||||
~Notch() = default;
|
||||
|
||||
void forecast(int noutput_items, gr_vector_int &ninput_items_required);
|
||||
|
||||
int general_work(int noutput_items, gr_vector_int &ninput_items,
|
||||
gr_vector_const_void_star &input_items,
|
||||
gr_vector_void_star &output_items);
|
||||
|
@ -70,15 +70,6 @@ NotchLite::NotchLite(float p_c_factor,
|
||||
}
|
||||
|
||||
|
||||
void NotchLite::forecast(int noutput_items __attribute__((unused)), gr_vector_int &ninput_items_required)
|
||||
{
|
||||
for (int &aux : ninput_items_required)
|
||||
{
|
||||
aux = length_;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
int NotchLite::general_work(int noutput_items, gr_vector_int &ninput_items __attribute__((unused)),
|
||||
gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
|
||||
{
|
||||
|
@ -54,8 +54,6 @@ class NotchLite : public gr::block
|
||||
public:
|
||||
~NotchLite() = default;
|
||||
|
||||
void forecast(int noutput_items, gr_vector_int &ninput_items_required);
|
||||
|
||||
int general_work(int noutput_items, gr_vector_int &ninput_items,
|
||||
gr_vector_const_void_star &input_items,
|
||||
gr_vector_void_star &output_items);
|
||||
|
Loading…
Reference in New Issue
Block a user