Correlation 4.10.0
An Analysis Tool for Liquids and for Amorphous Solids
Loading...
Searching...
No Matches
DistributionPostProcessor.hpp
Go to the documentation of this file.
1
8
9#pragma once
10
12#include "math/Smoothing.hpp"
13
14#include <map>
15#include <string>
16#include <string_view>
17
18namespace correlation::analysis {
19
24public:
33 static void
34 smooth(Histogram &hist, std::string_view name, real_t sigma,
36
43 static void
44 smoothAll(std::map<std::string, Histogram> &histograms, real_t sigma,
46
54 static void
55 smooth(DistributionFunctions &dists, const std::string &name, real_t sigma,
57
64 static void
67};
68
69} // namespace correlation::analysis
Manager for distribution function calculations (RDF, PAD, S(Q), etc.).
Kernel-based smoothing algorithms for analysis data.
Manages the calculation and storage of various distribution functions.
Definition DistributionFunctions.hpp:259
Service responsible for mathematical smoothing and post-processing of histogram data.
Definition DistributionPostProcessor.hpp:23
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.
Definition DistributionPostProcessor.cpp:48
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.
Definition DistributionPostProcessor.cpp:88
Definition AnalysisTypes.hpp:11
KernelType
Selection of kernel types for smoothing.
Definition Smoothing.hpp:26
@ Gaussian
Definition Smoothing.hpp:26
double real_t
Definition Precision.hpp:18
Container for a single calculated distribution function.
Definition DistributionFunctions.hpp:226