GNSS-SDR  0.0.13
An Open Source GNSS Software Defined Receiver
Functions
gnss_signal_processing.h File Reference

This library gathers a few functions used by the algorithms of gnss-sdr, regardless of system used. More...

#include <complex>
#include <cstdint>
#include <gsl/gsl>

Go to the source code of this file.

Functions

void complex_exp_gen (own::span< std::complex< float >> _dest, double _f, double _fs)
 This function generates a complex exponential in _dest. More...
 
void complex_exp_gen_conj (own::span< std::complex< float >> _dest, double _f, double _fs)
 This function generates a conjugate complex exponential in _dest. More...
 
void hex_to_binary_converter (own::span< int32_t > _dest, char _from)
 This function makes a conversion from hex (the input is a char) to binary (the output are 4 ints with +1 or -1 values). More...
 
void resampler (const own::span< float > _from, own::span< float > _dest, float _fs_in, float _fs_out)
 This function resamples a sequence of float values. More...
 
void resampler (own::span< const std::complex< float >> _from, own::span< std::complex< float >> _dest, float _fs_in, float _fs_out)
 This function resamples a sequence of complex values. More...
 

Detailed Description

This library gathers a few functions used by the algorithms of gnss-sdr, regardless of system used.

Author
Luis Esteve, 2012. luis(at)epsilon-formacion.com

Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors)

GNSS-SDR is a software defined Global Navigation Satellite Systems receiver

This file is part of GNSS-SDR.

SPDX-License-Identifier: GPL-3.0-or-later


Definition in file gnss_signal_processing.h.

Function Documentation

◆ complex_exp_gen()

void complex_exp_gen ( own::span< std::complex< float >>  _dest,
double  _f,
double  _fs 
)

This function generates a complex exponential in _dest.

◆ complex_exp_gen_conj()

void complex_exp_gen_conj ( own::span< std::complex< float >>  _dest,
double  _f,
double  _fs 
)

This function generates a conjugate complex exponential in _dest.

◆ hex_to_binary_converter()

void hex_to_binary_converter ( own::span< int32_t >  _dest,
char  _from 
)

This function makes a conversion from hex (the input is a char) to binary (the output are 4 ints with +1 or -1 values).

◆ resampler() [1/2]

void resampler ( const own::span< float >  _from,
own::span< float >  _dest,
float  _fs_in,
float  _fs_out 
)

This function resamples a sequence of float values.

◆ resampler() [2/2]

void resampler ( own::span< const std::complex< float >>  _from,
own::span< std::complex< float >>  _dest,
float  _fs_in,
float  _fs_out 
)

This function resamples a sequence of complex values.