|
Correlation 4.10.0
An Analysis Tool for Liquids and for Amorphous Solids
|
Stateless service executing plot file exports decoupled from UI frameworks. More...
#include <PlotExportService.hpp>
Static Public Member Functions | |
| static std::string | getComparisonKey (const correlation::analysis::Histogram *hist) |
| Determines the comparison curve key for a given histogram (e.g. "Total" or first partial). | |
| static std::expected< void, std::string > | exportHistogram (const std::string &filepath, const correlation::analysis::Histogram &hist, const correlation::plotters::PlotConfig &config, const std::map< std::string, real_t > &ashcroft_weights={}) |
| Exports a single histogram plot to file (SVG or PDF). | |
| static std::expected< void, std::string > | exportComparison (const std::string &filepath, std::span< const correlation::plotters::LabeledHistogram > datasets, const std::string &comparison_key, const correlation::plotters::PlotConfig &config) |
| Exports a comparison overlay plot to file (SVG or PDF). | |
Stateless service executing plot file exports decoupled from UI frameworks.
|
staticnodiscard |
Exports a comparison overlay plot to file (SVG or PDF).
| [in] | filepath | Target destination file path. |
| [in] | datasets | Comparison datasets to render. |
| [in] | comparison_key | Key for the compared curve. |
| [in] | config | Plot styling configuration. |


|
staticnodiscard |
Exports a single histogram plot to file (SVG or PDF).
| [in] | filepath | Target destination file path. |
| [in] | hist | Histogram to render. |
| [in] | config | Plot styling configuration. |
| [in] | ashcroft_weights | Element weights for S(Q) partials if applicable. |


|
staticnodiscard |
Determines the comparison curve key for a given histogram (e.g. "Total" or first partial).
| [in] | hist | Histogram to inspect. |
