|
| | WriteDiscreteDelayFile (std::string _file_name, double _c0_m_s, double _cir_rate_Hz, double _transmitter_frequency_Hz, const std::vector< std::string > &_link_names, double _delay_smpl_freq_Hz) |
| |
| void | setup_link (std::string link_name, size_t number_of_delay_samples, double min_delay) |
| |
| void | append_cir_snapshot (std::string link_name, const std::vector< std::complex< double > > &data, double ref_delay) |
| |
|
void | append_2d_dataset (H5::Group *group, std::string path, double *data, size_t length, size_t act_cir) |
| |
|
| WriteFile (std::string _file_name, double _c0_m_s, double _cir_rate_Hz, double _transmitter_frequency, std::vector< std::string > _link_names) |
| |
| void | create_group (std::string path) |
| |
|
void | write (std::string path, std::string data) |
| | Writes string data to path.
|
| |
|
void | write (std::string path, double data) |
| | Writes double value to path.
|
| |
|
void | write (std::string path, double *data, size_t num) |
| | Writes double array to path.
|
| |
|
void | write (std::string path, const std::vector< double > &data) |
| | Writes vector of doubles to path.
|
| |
|
void | write (const H5::CommonFG *h5file, const std::string &path, const std::vector< std::string > &data) |
| | Writes vector of strings to path.
|
| |
|
void | write (const H5::CommonFG *h5file, const std::string &path, const std::map< uint16_t, std::string > &data) |
| | Writes a std::map<uint16_t, std::string> to path.
|
| |
|
void | write (H5::Group *group, std::string path, const std::vector< double > &data) |
| | Writes double value to path into group.
|
| |
|
void | write (std::string path, const std::vector< std::vector< double > > &data) |
| | Writes vector of vector of doubles to path.
|
| |
| | File (std::string _file_name) |
| | Construction from a file name. More...
|
| |
| | File (std::string _file_name, double _c0_m_s, double _cir_rate_Hz, double _transmitter_frequency_Hz, const std::vector< std::string > &_link_names) |
| | Construction from file name and parameters. More...
|
| |
|
virtual | ~File () |
| | Destructor.
|
| |
| H5::H5File | get_file_handle () const |
| | Returns the file handle to the HDF5 file. More...
|
| |
| size_t | get_nof_links () const |
| | Returns number of links. More...
|
| |
| double | get_cir_rate_Hz () const |
| | Return the CIR rate of the file. More...
|
| |
| double | get_c0_m_s () const |
| | Returns the speed of light in m/s as defined in the CDX file. More...
|
| |
| double | get_transmitter_frequency_Hz () const |
| | Returns the transmitter frequency in Hz. More...
|
| |
| std::vector< std::string > | get_link_names () const |
| | Returns the link names. More...
|
| |
|
| static double | read_double_h5 (H5::H5File file, std::string dataset_name) |
| | Reads a double from an HDF5 file. More...
|
| |
| static std::string | read_string_h5 (H5::H5File file, std::string path) |
| | Reads string of given path from an CDX file. More...
|
| |
|
void | create_reference_delays_dataset (H5::Group *group) |
| | Creates 1D dataset for reference delays in file. Initial size is zero and dataset has unlimited dimension.
|
| |
|
void | append_reference_delay (H5::Group *group, double reference_delay) |
| | Append single value to reference delay dataset.
|
| |
|
const std::string | file_name |
| | the CDX file's name
|
| |
|
H5::H5File | h5file |
| | the handle to the HDF5 file
|
| |
|
double | c0_m_s |
| | the speed of light in m/s
|
| |
|
double | cir_rate_Hz |
| | the CIR update rate in Hz
|
| |
|
double | transmitter_frequency_Hz |
| | the transmitter frequency in Hz
|
| |
|
std::string | delay_type |
| | the delay type, either "continuous-delay" or "discrete-delay"
|
| |
|
std::vector< std::string > | link_names |
| | vector of the link names
|
| |
|
H5::Group | links_group |
| | handle to the group in the HDF5 file that stores the links
|
| |
|
const size_t | nof_links |
| | the number of the links
|
| |
|
std::map< std::string, H5::Group * > | link_groups |
| | vector of pointers to HDF5 groups which contain data for each link in file
|
| |
Class for writing discrete-delay data to a CDX file.