Obsidian
Probabilistic Geophysical Joint Inversion
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
likelihood.hpp File Reference

Contains the implementation of functions for computing the likelihood. More...

#include <Eigen/Dense>
#include "datatype/datatypes.hpp"
Include dependency graph for likelihood.hpp:
This graph shows which files directly or indirectly include this file:

Namespaces

 obsidian
 

Functions

double obsidian::lh::gaussian (const Eigen::VectorXd &real, const Eigen::VectorXd &candidate, double sensorSd)
 Calculate the Gaussian log likelihood. More...
 
double obsidian::lh::normalInverseGamma (const Eigen::VectorXd &real, const Eigen::VectorXd &candidate, double A, double B)
 Calculate the normal inverse Gamma marginal log likelihood. More...
 
template<ForwardModel f>
double obsidian::lh::likelihood (const typename Types< f >::Results &synthetic, const typename Types< f >::Results &real, const typename Types< f >::Spec &spec)
 
Eigen::VectorXd obsidian::lh::mtLikelihoodVector (const Eigen::MatrixX4cd &impedences)
 
std::vector< double > obsidian::lh::likelihoodAll (const GlobalResults &synthetic, const GlobalResults &real, const GlobalSpec &spec, const std::set< ForwardModel > &enabled)
 

Detailed Description

Contains the implementation of functions for computing the likelihood.

Author
Darren Shen
Date
May 2014
License:
General Public License version 3 or later