Skip to content

Struct wfm_reader_info_t

ClassList > wfm_reader_info_t

More...

  • #include <wfm_reader_core.h>

Public Attributes

Type Name
int endian
double fc
int fc_source
int file_type
double fs
int fs_source
int mode
size_t num_samples
int sample_type
int t0_source
double t0_unix_sec
size_t trailing_bytes

Detailed Description

Resolved metadata for an open capture. Fields the file type does not carry are 0 (fs/fc for raw/CSV, num_samples for a stream).

Public Attributes Documentation

variable endian

int wfm_reader_info_t::endian;

0 little, 1 big.


variable fc

double wfm_reader_info_t::fc;

centre frequency (Hz); 0 if unknown.


variable fc_source

int wfm_reader_info_t::fc_source;

wfm_fc_source_t: where fc was read from.


variable file_type

int wfm_reader_info_t::file_type;

detected wfm_filetype_t.


variable fs

double wfm_reader_info_t::fs;

sample rate (Hz); 0 if unknown.


variable fs_source

int wfm_reader_info_t::fs_source;

wfm_fs_source_t: where fs was read from.


variable mode

int wfm_reader_info_t::mode;

wfm_mode_t: 0 complex, 1 scalar (BLUE 'S').


variable num_samples

size_t wfm_reader_info_t::num_samples;

total complex samples; 0 if unknown.


variable sample_type

int wfm_reader_info_t::sample_type;

Element type only 0 f32, 1 f64, 2 i32, 3 i16, 4 i8. How many components make a sample is mode, never this: the two are independent axes and the BLUE format field spells them as two separate characters for the same reason.


variable t0_source

int wfm_reader_info_t::t0_source;

wfm_t0_source_t: where t0 was read from.


variable t0_unix_sec

double wfm_reader_info_t::t0_unix_sec;

capture start, UNIX seconds; 0 if unknown.


variable trailing_bytes

size_t wfm_reader_info_t::trailing_bytes;

payload bytes past the last whole sample.



The documentation for this class was generated from the following file native/inc/wfm_reader/wfm_reader_core.h