Skip to main content

CSVAnalogSaverOptions

CSVAnalogSaverOptions

Options for saving AnalogTimeSeries data to a CSV file. More…

#include <Analog_Time_Series_CSV.hpp>

Public Attributes

Name
std::string filename
std::string parent_dir
std::string delimiter
std::string line_delim
bool save_header
std::string header
int precision

Detailed Description

struct CSVAnalogSaverOptions;

Options for saving AnalogTimeSeries data to a CSV file.

The CSV will typically have two columns: Time and Data.

Public Attributes Documentation

variable filename

std::string filename = "analog_output.csv";

The name of the file to save the data to (e.g., “analog_data.csv”).

variable parent_dir

std::string parent_dir = ".";

The directory where the file will be saved. Defaults to “.”.

variable delimiter

std::string delimiter = ",";

The delimiter to use between columns. Defaults to “,”.

variable line_delim

std::string line_delim = "\n";

The line delimiter to use. Defaults to “”.

variable save_header

bool save_header = true;

Whether to save a header row. Defaults to true.

variable header

std::string header = "Time,Data";

The header string to use if save_header is true. Defaults to “Time,Data”.

variable precision

int precision = 2;

The number of decimal places for floating point data values. Defaults to 6.


Updated on 2026-11-13 at 20:25:39 +0000