GNSS-SDR  0.0.13
An Open Source GNSS Software Defined Receiver
glonass_l2_signal_processing.h
Go to the documentation of this file.
1 /*!
2  * \file glonass_l2_signal_processing.h
3  * \brief This class implements various functions for GLONASS L2 CA signals
4  * \author Damian Miralles, 2018, dmiralles2009(at)gmail.com
5  *
6  *
7  * -----------------------------------------------------------------------------
8  *
9  * Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors)
10  *
11  * GNSS-SDR is a software defined Global Navigation
12  * Satellite Systems receiver
13  *
14  * This file is part of GNSS-SDR.
15  *
16  * SPDX-License-Identifier: GPL-3.0-or-later
17  *
18  * -----------------------------------------------------------------------------
19  */
20 
21 #ifndef GNSS_SDR_GLONASS_L2_SIGNAL_PROCESSING_H
22 #define GNSS_SDR_GLONASS_L2_SIGNAL_PROCESSING_H
23 
24 #include <complex>
25 #include <cstdint>
26 #if HAS_STD_SPAN
27 #include <span>
28 namespace own = std;
29 #else
30 #include <gsl/gsl>
31 namespace own = gsl;
32 #endif
33 
34 //! Generates complex GLONASS L2 C/A code for the desired SV ID and code shift, and sampled to specific sampling frequency
35 void glonass_l2_ca_code_gen_complex(own::span<std::complex<float>> _dest, uint32_t _chip_shift);
36 
37 //! Generates N complex GLONASS L2 C/A codes for the desired SV ID and code shift
38 void glonass_l2_ca_code_gen_complex_sampled(own::span<std::complex<float>> _dest, int32_t _fs, uint32_t _chip_shift, uint32_t _ncodes);
39 
40 //! Generates complex GLONASS L2 C/A code for the desired SV ID and code shift
41 void glonass_l2_ca_code_gen_complex_sampled(own::span<std::complex<float>> _dest, int32_t _fs, uint32_t _chip_shift);
42 
43 #endif // GNSS_SDR_GLONASS_L2_SIGNAL_PROCESSING_H
STL namespace.
void glonass_l2_ca_code_gen_complex(own::span< std::complex< float >> _dest, uint32_t _chip_shift)
Generates complex GLONASS L2 C/A code for the desired SV ID and code shift, and sampled to specific s...
void glonass_l2_ca_code_gen_complex_sampled(own::span< std::complex< float >> _dest, int32_t _fs, uint32_t _chip_shift, uint32_t _ncodes)
Generates N complex GLONASS L2 C/A codes for the desired SV ID and code shift.