43 [[nodiscard]]
static std::expected<void, std::string>
46 const std::map<std::string, real_t> &ashcroft_weights = {});
56 [[nodiscard]]
static std::expected<void, std::string>
58 std::span<const correlation::plotters::LabeledHistogram> datasets,
59 const std::string &comparison_key,
Manager for distribution function calculations (RDF, PAD, S(Q), etc.).
Facade header for zero-dependency SVG plotter.
Stateless service executing plot file exports decoupled from UI frameworks.
Definition PlotExportService.hpp:25
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).
Definition PlotExportService.cpp:55
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).
Definition PlotExportService.cpp:73
static std::string getComparisonKey(const correlation::analysis::Histogram *hist)
Determines the comparison curve key for a given histogram (e.g. "Total" or first partial).
Definition PlotExportService.cpp:43
Definition AppController.hpp:27
Container for a single calculated distribution function.
Definition DistributionFunctions.hpp:226
Theme and layout configuration for the plot.
Definition PlotTypes.hpp:42