GNSS-SDR
0.0.13
An Open Source GNSS Software Defined Receiver
src
algorithms
tracking
libs
bayesian_estimation.h
Go to the documentation of this file.
1
/*!
2
* \file bayesian_estimation.h
3
* \brief Interface of a library with Bayesian noise statistic estimation
4
*
5
* Bayesian_estimator is a Bayesian estimator which attempts to estimate
6
* the properties of a stochastic process based on a sequence of
7
* discrete samples of the sequence.
8
*
9
* [1]: LaMountain, Gerald, VilĂ -Valls, Jordi, Closas, Pau, "Bayesian
10
* Covariance Estimation for Kalman Filter based Digital Carrier
11
* Synchronization," Proceedings of the 31st International Technical Meeting
12
* of the Satellite Division of The Institute of Navigation
13
* (ION GNSS+ 2018), Miami, Florida, September 2018, pp. 3575-3586.
14
* https://doi.org/10.33012/2018.15911
15
*
16
* \authors <ul>
17
* <li> Gerald LaMountain, 2018. gerald(at)ece.neu.edu
18
* <li> Jordi Vila-Valls 2018. jvila(at)cttc.es
19
* </ul>
20
* -----------------------------------------------------------------------------
21
*
22
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors)
23
*
24
* GNSS-SDR is a software defined Global Navigation
25
* Satellite Systems receiver
26
*
27
* This file is part of GNSS-SDR.
28
*
29
* SPDX-License-Identifier: GPL-3.0-or-later
30
*
31
* -----------------------------------------------------------------------------
32
*/
33
34
#ifndef GNSS_SDR_BAYESIAN_ESTIMATION_H
35
#define GNSS_SDR_BAYESIAN_ESTIMATION_H
36
37
#if ARMA_NO_BOUND_CHECKING
38
#define ARMA_NO_DEBUG 1
39
#endif
40
41
#include <armadillo>
42
#include <gnuradio/gr_complex.h>
43
44
/*! \brief Bayesian_estimator is an estimator of noise characteristics (i.e. mean, covariance)
45
*
46
* Bayesian_estimator is an estimator which performs estimation of noise characteristics from
47
* a sequence of identically and independently distributed (IID) samples of a stationary
48
* stochastic process by way of Bayesian inference using conjugate priors. The posterior
49
* distribution is assumed to be Gaussian with mean \mathbf{\mu} and covariance \hat{\mathbf{C}},
50
* which has a conjugate prior given by a normal-inverse-Wishart distribution with paramemters
51
* \mathbf{\mu}_{0}, \kappa_{0}, \nu_{0}, and \mathbf{\Psi}.
52
*
53
* [1] TODO: Ref1
54
*
55
*/
56
57
class
Bayesian_estimator
58
{
59
public
:
60
Bayesian_estimator
();
61
explicit
Bayesian_estimator
(
int
ny);
62
Bayesian_estimator
(
const
arma::vec& mu_prior_0,
int
kappa_prior_0,
int
nu_prior_0,
const
arma::mat& Psi_prior_0);
63
~
Bayesian_estimator
() =
default
;
64
65
void
init(
const
arma::mat& mu_prior_0,
int
kappa_prior_0,
int
nu_prior_0,
const
arma::mat& Psi_prior_0);
66
67
void
update_sequential(
const
arma::vec& data);
68
void
update_sequential(
const
arma::vec& data,
const
arma::vec& mu_prior_0,
int
kappa_prior_0,
int
nu_prior_0,
const
arma::mat& Psi_prior_0);
69
70
arma::mat get_mu_est()
const
;
71
arma::mat get_Psi_est()
const
;
72
73
private
:
74
arma::vec mu_est;
75
arma::mat Psi_est;
76
arma::vec mu_prior;
77
arma::mat Psi_prior;
78
int
kappa_prior;
79
int
nu_prior;
80
};
81
82
#endif
Bayesian_estimator
Bayesian_estimator is an estimator of noise characteristics (i.e. mean, covariance) ...
Definition:
bayesian_estimation.h:57
Generated by
1.8.14