37 typedef std::map<std::string, component_types_t> links_to_component_types_t;
102 File(std::string _file_name);
113 File(std::string _file_name,
double _c0_m_s,
double _cir_rate_Hz,
114 double _transmitter_frequency_Hz,
115 const std::vector<std::string> &_link_names);
129 static double read_double_h5(H5::H5File file, std::string dataset_name);
138 static std::string read_string_h5(H5::H5File file, std::string path);
182 return transmitter_frequency_Hz;
double get_transmitter_frequency_Hz() const
Returns the transmitter frequency in Hz.
Definition: File.h:181
std::vector< std::string > link_names
vector of the link names
Definition: File.h:203
double get_c0_m_s() const
Returns the speed of light in m/s as defined in the CDX file.
Definition: File.h:172
uint64_t id
unique identifier for each component
Definition: File.h:45
size_t get_nof_links() const
Returns number of links.
Definition: File.h:154
double get_cir_rate_Hz() const
Return the CIR rate of the file.
Definition: File.h:163
std::string delay_type
the delay type, either "continuous-delay" or "discrete-delay"
Definition: File.h:201
double transmitter_frequency_Hz
the transmitter frequency in Hz
Definition: File.h:200
Base class for the processing of Channel Data Exchange (CDX) files.
Definition: File.h:95
std::vector< impulse_t > components_t
Defines a vector of CDX_Impulses representing one channel impulse response (CIR). ...
Definition: File.h:53
double c0_m_s
the speed of light in m/s
Definition: File.h:198
uint16_t type
the multipath component's type as defined in component_types_t
Definition: File.h:44
Struct used as return value for function ReadContinuousDelayCDXFile::get_cir.
Definition: File.h:66
H5::H5File h5file
the handle to the HDF5 file
Definition: File.h:196
std::map< uint16_t, std::string > component_types_t
Assigns integer values to component type names.
Definition: File.h:35
H5::Group links_group
handle to the group in the HDF5 file that stores the links
Definition: File.h:204
Holds a single multipath component as input value for WriteContinuousDelayCDXFile::write_cir.
Definition: File.h:43
double delay
the multipath component's delay in s
Definition: File.h:46
double ref_delay
the reference delay in s, i.e. the time the signal travels from the transmitter to the receiver on a ...
Definition: File.h:67
double cir_rate_Hz
the CIR update rate in Hz
Definition: File.h:199
std::vector< std::string > get_link_names() const
Returns the link names.
Definition: File.h:190
std::map< std::string, H5::Group * > link_groups
vector of pointers to HDF5 groups which contain data for each link in file
Definition: File.h:206
Contains all CDX classes and types.
Definition: File.cpp:19
H5::H5File get_file_handle() const
Returns the file handle to the HDF5 file.
Definition: File.h:145
const std::string file_name
the CDX file's name
Definition: File.h:195
components_t components
the multipath components
Definition: File.h:68
const size_t nof_links
the number of the links
Definition: File.h:205
std::complex< double > amplitude
the multipath component's complex amplitude
Definition: File.h:47