GNSS-SDR  0.0.13
An Open Source GNSS Software Defined Receiver
gps_l5_signal.h
Go to the documentation of this file.
1 /*!
2  * \file gps_l5_signal.h
3  * \brief This class implements signal generators for the GPS L5 signals
4  * \author Javier Arribas, 2017. jarribas(at)cttc.es
5  *
6  *
7  * -----------------------------------------------------------------------------
8  *
9  * Copyright (C) 2010-2019 (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_GPS_L5_SIGNAL_H
22 #define GNSS_SDR_GPS_L5_SIGNAL_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 GPS L5I code for the desired SV ID
35 void gps_l5i_code_gen_complex(own::span<std::complex<float>> _dest, uint32_t _prn);
36 
37 //! Generates real GPS L5I code for the desired SV ID
38 void gps_l5i_code_gen_float(own::span<float> _dest, uint32_t _prn);
39 
40 //! Generates complex GPS L5Q code for the desired SV ID
41 void gps_l5q_code_gen_complex(own::span<std::complex<float>> _dest, uint32_t _prn);
42 
43 //! Generates real GPS L5Q code for the desired SV ID
44 void gps_l5q_code_gen_float(own::span<float> _dest, uint32_t _prn);
45 
46 //! Generates complex GPS L5I code for the desired SV ID, and sampled to specific sampling frequency
47 void gps_l5i_code_gen_complex_sampled(own::span<std::complex<float>> _dest, uint32_t _prn, int32_t _fs);
48 
49 //! Generates complex GPS L5Q code for the desired SV ID, and sampled to specific sampling frequency
50 void gps_l5q_code_gen_complex_sampled(own::span<std::complex<float>> _dest, uint32_t _prn, int32_t _fs);
51 
52 
53 #endif // GNSS_SDR_GPS_L5_SIGNAL_H
STL namespace.
void gps_l5q_code_gen_float(own::span< float > _dest, uint32_t _prn)
Generates real GPS L5Q code for the desired SV ID.
void gps_l5i_code_gen_complex_sampled(own::span< std::complex< float >> _dest, uint32_t _prn, int32_t _fs)
Generates complex GPS L5I code for the desired SV ID, and sampled to specific sampling frequency...
void gps_l5q_code_gen_complex(own::span< std::complex< float >> _dest, uint32_t _prn)
Generates complex GPS L5Q code for the desired SV ID.
void gps_l5i_code_gen_float(own::span< float > _dest, uint32_t _prn)
Generates real GPS L5I code for the desired SV ID.
void gps_l5i_code_gen_complex(own::span< std::complex< float >> _dest, uint32_t _prn)
Generates complex GPS L5I code for the desired SV ID.
void gps_l5q_code_gen_complex_sampled(own::span< std::complex< float >> _dest, uint32_t _prn, int32_t _fs)
Generates complex GPS L5Q code for the desired SV ID, and sampled to specific sampling frequency...