Correlation 4.10.0
An Analysis Tool for Liquids and for Amorphous Solids
Loading...
Searching...
No Matches
ExportBundleWriter.hpp
Go to the documentation of this file.
1
8
9#pragma once
10
13
14#include <expected>
15#include <filesystem>
16#include <string>
17
18namespace correlation::writers {
19
25 bool include_svg{true};
26 bool include_csv{true};
27 bool include_hdf5{false};
28 bool include_parquet{false};
29 bool include_summary{true};
30 bool smoothing{true};
31 std::vector<std::string>
34};
35
41public:
49 static std::expected<void, std::string>
50 writeBundle(const std::filesystem::path &zip_path,
52 const ExportBundleOptions &options = {});
53
61 static std::expected<void, std::string>
62 writeFolder(const std::filesystem::path &dest_dir,
64 const ExportBundleOptions &options = {});
65};
66
67} // namespace correlation::writers
Manager for distribution function calculations (RDF, PAD, S(Q), etc.).
Common types, configuration structures, and palette/formatting utilities for SVG plotting.
Manages the calculation and storage of various distribution functions.
Definition DistributionFunctions.hpp:259
Packages scientific analysis outputs into a structured ZIP archive or categorized folder.
Definition ExportBundleWriter.hpp:40
static std::expected< void, std::string > writeBundle(const std::filesystem::path &zip_path, const correlation::analysis::DistributionFunctions &dists, const ExportBundleOptions &options={})
Writes a consolidated ZIP bundle from DistributionFunctions.
Definition ExportBundleWriter.cpp:310
static std::expected< void, std::string > writeFolder(const std::filesystem::path &dest_dir, const correlation::analysis::DistributionFunctions &dists, const ExportBundleOptions &options={})
Writes analysis outputs categorized into subfolders within a directory.
Definition ExportBundleWriter.cpp:388
Definition ArrowWriter.hpp:17
Theme and layout configuration for the plot.
Definition PlotTypes.hpp:42
Configuration parameters for consolidated export bundle generation.
Definition ExportBundleWriter.hpp:24
bool include_svg
Package SVG plots into plots/.
Definition ExportBundleWriter.hpp:25
bool include_csv
Package CSV tables into csv/.
Definition ExportBundleWriter.hpp:26
bool include_summary
Package summary text file.
Definition ExportBundleWriter.hpp:29
bool include_parquet
Package Parquet tables into parquet/.
Definition ExportBundleWriter.hpp:28
bool include_hdf5
Package HDF5 archive into hdf5/.
Definition ExportBundleWriter.hpp:27
bool smoothing
Include smoothed data in CSV / Parquet.
Definition ExportBundleWriter.hpp:30
std::vector< std::string > selected_algorithms
Filter histograms by algorithm names (empty = all).
Definition ExportBundleWriter.hpp:32
correlation::plotters::PlotConfig plot_config
Configuration for rendered SVGs.
Definition ExportBundleWriter.hpp:33