libcdx: Interfaces to the Channel Data Exchange (CDX) File Format
C++, Python, and Matlab library to exchange data for radio propagation channels
ReadDiscreteDelayFile.h
Go to the documentation of this file.
1 
7 #ifndef SNREADDISCRDELAYCIRFILE_H_
8 #define SNREADDISCRDELAYCIRFILE_H_
9 
10 #include <string>
11 
12 #include "ReadFile.h"
13 
14 namespace CDX {
15 
22 public:
23  ReadDiscreteDelayFile(std::string filename);
24  virtual ~ReadDiscreteDelayFile();
25 
30  std::vector<std::vector<std::complex<double> > > get_cirs(std::string link);
31 
32  // cir_struct get_cir(unsigned int link, unsigned int cir_num);
33 
36  return delay_smpl_freq;
37  }
38 
39 protected:
40  unsigned int nof_cirs;
41 
42  double delay_smpl_freq;
43 };
44 
45 } // end of namespace CDX
46 
47 #endif /* SNREADDISCRDELAYCIRFILE_H_ */
Reads CIRs from CIRs from discrete-delay HDF5 file.
Definition: ReadDiscreteDelayFile.h:21
std::vector< std::vector< std::complex< double > > > get_cirs(std::string link)
returns all CIRs
Definition: ReadDiscreteDelayFile.cpp:24
double get_delay_smpl_freq()
Definition: ReadDiscreteDelayFile.h:35
Base class for reading CDX files.
Definition: ReadFile.h:16
Contains all CDX classes and types.
Definition: File.cpp:19