Obsidian
Probabilistic Geophysical Joint Inversion
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
likelihood.cpp File Reference
#include "likelihood.hpp"
#include <glog/logging.h>
#include <cmath>
Include dependency graph for likelihood.cpp:

Namespaces

 obsidian
 

Functions

double obsidian::lh::stdDev (const Eigen::VectorXd &x)
 
double obsidian::lh::stdDev (const std::vector< Eigen::VectorXd > &x)
 
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<>
double obsidian::lh::likelihood< ForwardModel::GRAVITY > (const GravResults &synthetic, const GravResults &real, const GravSpec &spec)
 
template<>
double obsidian::lh::likelihood< ForwardModel::MAGNETICS > (const MagResults &synthetic, const MagResults &real, const MagSpec &spec)
 
Eigen::VectorXd obsidian::lh::mtLikelihoodVector (const Eigen::MatrixX4cd &impedences)
 
Eigen::VectorXd obsidian::lh::mtApparentResLikelihoodVector (const Eigen::MatrixX4cd &impedences, const Eigen::VectorXd &freqs)
 
template<>
double obsidian::lh::likelihood< ForwardModel::MTANISO > (const MtAnisoResults &synthetic, const MtAnisoResults &real, const MtAnisoSpec &spec)
 
template<>
double obsidian::lh::likelihood< ForwardModel::SEISMIC1D > (const Seismic1dResults &synthetic, const Seismic1dResults &real, const Seismic1dSpec &spec)
 
template<>
double obsidian::lh::likelihood< ForwardModel::CONTACTPOINT > (const ContactPointResults &synthetic, const ContactPointResults &real, const ContactPointSpec &spec)
 
template<>
double obsidian::lh::likelihood< ForwardModel::THERMAL > (const ThermalResults &synthetic, const ThermalResults &real, const ThermalSpec &spec)
 
std::vector< double > obsidian::lh::likelihoodAll (const GlobalResults &synthetic, const GlobalResults &real, const GlobalSpec &spec, const std::set< ForwardModel > &enabled)
 

Detailed Description

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