CSVEventMultiFileLoaderOptions
CSVEventMultiFileLoaderOptions
Options for loading DigitalEventSeries from a directory of CSV or TXT files. More…
#include <Digital_Event_Series_CSV.hpp>
Public Attributes
| Name | |
|---|---|
| std::string | parent_dir |
| std::string | delimiter |
| bool | has_header |
| int | event_column |
| std::string | base_name |
| float | scale |
| bool | scale_divide |
| std::string | file_pattern |
Detailed Description
struct CSVEventMultiFileLoaderOptions;Options for loading DigitalEventSeries from a directory of CSV or TXT files.
Each matching file produces one DigitalEventSeries (single timestamp column per file). Files are processed in alphabetical order by filename for deterministic output.
Public Attributes Documentation
variable parent_dir
std::string parent_dir;Directory containing event timestamp files.
variable delimiter
std::string delimiter = ",";variable has_header
bool has_header = false;variable event_column
int event_column = 0;variable base_name
std::string base_name = "events";variable scale
float scale = 1.0f;variable scale_divide
bool scale_divide = false;variable file_pattern
std::string file_pattern;Optional glob pattern (e.g. “.txt”, ”23.txt”). When empty, loads .csv and .txt files.
Updated on 2026-11-13 at 20:25:39 +0000