BinaryIntervalLoaderOptions
BinaryIntervalLoaderOptions
Options for loading DigitalIntervalSeries data from binary files. Binary files contain packed digital data where each bit represents a channel.
#include <Digital_Interval_Series_Binary.hpp>
Public Attributes
| Name | |
|---|---|
| std::string | filepath |
| size_t | header_size_bytes |
| int | data_type_bytes |
| int | channel |
| std::string | transition_type |
Public Attributes Documentation
variable filepath
std::string filepath;The path to the binary file to load.
variable header_size_bytes
size_t header_size_bytes = 0;Number of bytes to skip at the beginning of the file (header). Defaults to 0.
variable data_type_bytes
int data_type_bytes = 2;Size of each data sample in bytes (1, 2, 4, or 8). Defaults to 2 (uint16_t).
variable channel
int channel = 0;The channel (bit position) to extract intervals from. Defaults to 0.
variable transition_type
std::string transition_type = "rising";The type of transition that defines interval boundaries:
- “rising”: low->high starts interval, high->low ends interval
- “falling”: high->low starts interval, low->high ends interval Defaults to “rising”.
Updated on 2026-11-13 at 20:25:39 +0000