Correlation 4.10.0
An Analysis Tool for Liquids and for Amorphous Solids
Loading...
Searching...
No Matches
correlation::analysis::DistributionPostProcessor Class Reference

Service responsible for mathematical smoothing and post-processing of histogram data. More...

#include <DistributionPostProcessor.hpp>

Static Public Member Functions

static void smooth (Histogram &hist, std::string_view name, real_t sigma, correlation::math::KernelType kernel=correlation::math::KernelType::Gaussian)
 Applies kernel smoothing to a single Histogram in-place.
static void smoothAll (std::map< std::string, Histogram > &histograms, real_t sigma, correlation::math::KernelType kernel=correlation::math::KernelType::Gaussian)
 Applies kernel smoothing to all histograms within a histogram map.
static void smooth (DistributionFunctions &dists, const std::string &name, real_t sigma, correlation::math::KernelType kernel=correlation::math::KernelType::Gaussian)
 Smooths a specified histogram within a DistributionFunctions container.
static void smoothAll (DistributionFunctions &dists, real_t sigma, correlation::math::KernelType kernel=correlation::math::KernelType::Gaussian)
 Smooths all histograms within a DistributionFunctions container.

Detailed Description

Service responsible for mathematical smoothing and post-processing of histogram data.

Member Function Documentation

◆ smooth() [1/2]

void correlation::analysis::DistributionPostProcessor::smooth ( DistributionFunctions & dists,
const std::string & name,
real_t sigma,
correlation::math::KernelType kernel = correlation::math::KernelType::Gaussian )
static

Smooths a specified histogram within a DistributionFunctions container.

Parameters
[in,out]distsDistributionFunctions instance containing histograms.
[in]nameName of the target histogram.
[in]sigmaSmoothing width parameter.
[in]kernelSmoothing kernel type.
Here is the call graph for this function:

◆ smooth() [2/2]

void correlation::analysis::DistributionPostProcessor::smooth ( Histogram & hist,
std::string_view name,
real_t sigma,
correlation::math::KernelType kernel = correlation::math::KernelType::Gaussian )
static

Applies kernel smoothing to a single Histogram in-place.

Parameters
[in,out]histThe histogram to be smoothed.
[in]nameThe name or key of the histogram (used to select angular vs. spatial domain scale).
[in]sigmaSmoothing width parameter.
[in]kernelSmoothing kernel type (e.g., Gaussian, Epanechnikov).
Here is the caller graph for this function:

◆ smoothAll() [1/2]

void correlation::analysis::DistributionPostProcessor::smoothAll ( DistributionFunctions & dists,
real_t sigma,
correlation::math::KernelType kernel = correlation::math::KernelType::Gaussian )
static

Smooths all histograms within a DistributionFunctions container.

Parameters
[in,out]distsDistributionFunctions instance containing histograms.
[in]sigmaSmoothing width parameter.
[in]kernelSmoothing kernel type.
Here is the call graph for this function:

◆ smoothAll() [2/2]

void correlation::analysis::DistributionPostProcessor::smoothAll ( std::map< std::string, Histogram > & histograms,
real_t sigma,
correlation::math::KernelType kernel = correlation::math::KernelType::Gaussian )
static

Applies kernel smoothing to all histograms within a histogram map.

Parameters
[in,out]histogramsMap of name-to-Histogram entries.
[in]sigmaSmoothing width parameter.
[in]kernelSmoothing kernel type.
Here is the call graph for this function:
Here is the caller graph for this function:

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