1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-15 04:30:33 +00:00

Add work on noncoherent acquisition

This commit is contained in:
Carles Fernandez 2018-07-10 08:47:04 +02:00
parent e1c26ec858
commit 394f6088aa
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D

View File

@ -554,8 +554,8 @@ void pcps_acquisition::acquisition_core(unsigned long int samp_count)
if (d_use_CFAR_algorithm_flag)
{
// Compute the input signal power estimation
volk_32fc_magnitude_squared_32f(d_magnitude, in, d_fft_size);
volk_32f_accumulator_s32f(&d_input_power, d_magnitude, d_fft_size);
volk_32fc_magnitude_squared_32f(d_tmp_buffer, in, d_fft_size);
volk_32f_accumulator_s32f(&d_input_power, d_tmp_buffer, d_fft_size);
d_input_power /= static_cast<float>(d_fft_size);
}