Obsidian
Probabilistic Geophysical Joint Inversion
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
obsidian::world::InterpolatorSpec Class Reference

Represents a boundary of the layer, which is specified by a mesh grid of control points that vary in depth according to a vector of parameters. More...

#include <interpolatorspec.hpp>

Public Member Functions

 InterpolatorSpec (const std::pair< double, double > &xBounds, const std::pair< double, double > &yBounds, const std::pair< double, double > &zBounds, const BoundarySpec &boundaryspec)
 Initialise interpolation params. More...
 
 InterpolatorSpec ()
 Initialise an empty interpolator specification.
 
Eigen::MatrixXd getWeights (const Eigen::MatrixXd &queryX) const
 Get the weights for the mean function. Multiply the transpose of this with the thetas will give the interpolated depths.
 
int numControlPoints () const
 Get the number of control points. More...
 

Public Attributes

std::pair< uint, uint > resolution
 Pair containing the x and y resolutions.
 
Eigen::MatrixXd controlPointX
 
BoundaryClass boundaryClass
 The type of boundary that this represents.
 
Eigen::MatrixXd offsetFunction
 
std::pair< double, double > offsetXBounds
 
std::pair< double, double > offsetYBounds
 
double floorHeight
 

Detailed Description

Represents a boundary of the layer, which is specified by a mesh grid of control points that vary in depth according to a vector of parameters.

Constructor & Destructor Documentation

obsidian::world::InterpolatorSpec::InterpolatorSpec ( const std::pair< double, double > &  xBounds,
const std::pair< double, double > &  yBounds,
const std::pair< double, double > &  zBounds,
const BoundarySpec boundaryspec 
)

Initialise interpolation params.

Parameters
xBounds,yBounds,zBoundsPairs containing the min and max boundaries in each direction.
boundarySpecThe boundary specification.

Member Function Documentation

int obsidian::world::InterpolatorSpec::numControlPoints ( ) const

Get the number of control points.

Returns
The total number of control points.

The documentation for this class was generated from the following files: