GNSS-SDR  0.0.13
An Open Source GNSS Software Defined Receiver
gps_sdr_signal_processing.h
Go to the documentation of this file.
1 /*!
2  * \file gps_sdr_signal_processing.h
3  * \brief This class implements various functions for GPS L1 CA signals
4  * \author Javier Arribas, 2011. jarribas(at)cttc.es
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_GPS_SDR_SIGNAL_PROCESSING_H
22 #define GNSS_SDR_GPS_SDR_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 int GPS L1 C/A code for the desired SV ID and code shift
35 void gps_l1_ca_code_gen_int(own::span<int32_t> _dest, int32_t _prn, uint32_t _chip_shift);
36 
37 //! Generates float GPS L1 C/A code for the desired SV ID and code shift
38 void gps_l1_ca_code_gen_float(own::span<float> _dest, int32_t _prn, uint32_t _chip_shift);
39 
40 //! Generates complex GPS L1 C/A code for the desired SV ID and code shift, and sampled to specific sampling frequency
41 void gps_l1_ca_code_gen_complex(own::span<std::complex<float>> _dest, int32_t _prn, uint32_t _chip_shift);
42 
43 //! Generates N complex GPS L1 C/A codes for the desired SV ID and code shift
44 void gps_l1_ca_code_gen_complex_sampled(own::span<std::complex<float>> _dest, uint32_t _prn, int32_t _fs, uint32_t _chip_shift, uint32_t _ncodes);
45 
46 //! Generates complex GPS L1 C/A code for the desired SV ID and code shift
47 void gps_l1_ca_code_gen_complex_sampled(own::span<std::complex<float>> _dest, uint32_t _prn, int32_t _fs, uint32_t _chip_shift);
48 
49 #endif // GNSS_SDR_GPS_SDR_SIGNAL_PROCESSING_H
void gps_l1_ca_code_gen_int(own::span< int32_t > _dest, int32_t _prn, uint32_t _chip_shift)
Generates int GPS L1 C/A code for the desired SV ID and code shift.
STL namespace.
void gps_l1_ca_code_gen_complex(own::span< std::complex< float >> _dest, int32_t _prn, uint32_t _chip_shift)
Generates complex GPS L1 C/A code for the desired SV ID and code shift, and sampled to specific sampl...
void gps_l1_ca_code_gen_complex_sampled(own::span< std::complex< float >> _dest, uint32_t _prn, int32_t _fs, uint32_t _chip_shift, uint32_t _ncodes)
Generates N complex GPS L1 C/A codes for the desired SV ID and code shift.
void gps_l1_ca_code_gen_float(own::span< float > _dest, int32_t _prn, uint32_t _chip_shift)
Generates float GPS L1 C/A code for the desired SV ID and code shift.