Alexandria 2.31.0
SDC-CH common library for the Euclid project
Loading...
Searching...
No Matches
Namespaces | Functions
PdfModeExtraction.cpp File Reference
#include "MathUtils/PDF/PdfModeExtraction.h"
#include "ElementsKernel/Exception.h"
#include <cstddef>
#include <iterator>
#include <tuple>
#include <utility>
#include <vector>
Include dependency graph for PdfModeExtraction.cpp:

Go to the source code of this file.

Namespaces

namespace  Euclid
 
namespace  Euclid::MathUtils
 

Functions

std::pair< std::vector< double >, std::vector< double > > Euclid::MathUtils::getXYs (const XYDataset::XYDataset &pdf)
 
size_t Euclid::MathUtils::findMaximumIndex (const std::vector< double > &pdf)
 
std::pair< size_t, size_t > Euclid::MathUtils::catchPeak (const std::vector< double > &pdf, size_t center_index, double merge_ratio)
 
std::pair< double, doubleEuclid::MathUtils::avgArea (std::pair< std::vector< double >, std::vector< double > > &pdf, size_t min_x, size_t max_x)
 
double Euclid::MathUtils::getInterpolationAround (const std::pair< std::vector< double >, std::vector< double > > &pdf, size_t x_index)
 
std::pair< std::vector< double >, std::vector< double > > Euclid::MathUtils::flatternPeak (const std::pair< std::vector< double >, std::vector< double > > &pdf, size_t min_x, size_t max_x, double value)
 
std::vector< ModeInfoEuclid::MathUtils::extractNHighestModes (std::vector< double > &x_sampling, std::vector< double > &pdf_sampling, double merge_ratio, size_t n)
 
std::vector< ModeInfoEuclid::MathUtils::extractNHighestModes (const XYDataset::XYDataset &pdf, double merge_ratio, size_t n)
 
std::vector< ModeInfoEuclid::MathUtils::extractNBigestModes (std::vector< double > &x_sampling, std::vector< double > &pdf_sampling, double merge_ratio, size_t n)
 
std::vector< ModeInfoEuclid::MathUtils::extractNBigestModes (const XYDataset::XYDataset &pdf, double merge_ratio, size_t n)
 

Detailed Description

Date
01/22/18
Author
fdubath

Definition in file PdfModeExtraction.cpp.