25#ifndef _MATHUTILS_PDF_PDFMODEEXTRACTION_H
26#define _MATHUTILS_PDF_PDFMODEEXTRACTION_H
Class for storing the information of a PDF mode.
double getModeArea() const
double getMeanPosition() const
ModeInfo(double highest_sample, double mean, double interpolated, double area)
double getInterpolatedMaxPosition() const
double getHighestSamplePosition() const
This module provides an interface for accessing two dimensional datasets (pairs of (X,...
std::vector< ModeInfo > extractNBigestModes(const XYDataset::XYDataset &pdf, double merge_ratio, size_t n)
std::vector< ModeInfo > extractNHighestModes(const XYDataset::XYDataset &pdf, double merge_ratio, size_t n)