#include <utils.h>
|
static std::vector< size_t > | strToChannels (const std::string &channel) |
|
static std::vector< std::complex< float > > | cint16_to_cfloat (const std::vector< std::complex< int16_t >> &in) |
|
static std::vector< std::complex< int16_t > > | cfloat_to_cint16 (const std::vector< std::complex< float >> &in) |
|
static std::vector< std::complex< int16_t > > | float_to_cint16 (const std::vector< std::vector< float >> &in) |
|
static std::vector< std::complex< float > > | uint32tocfloat (const std::vector< uint32_t > &in, const std::string &order) |
|
static std::vector< uint32_t > | cint16_to_uint32 (const std::vector< std::complex< int16_t >> &in, bool conj, const std::string &order) |
|
static std::vector< std::vector< size_t > > | loadSlots (const std::vector< std::string > &frames, char sym) |
|
static void | loadDevices (const std::string &filename, std::vector< std::string > &data) |
|
static void | loadData (const char *filename, std::vector< std::complex< int16_t >> &data, int samples) |
|
static void | loadData (const char *filename, std::vector< unsigned > &data, int samples) |
|
static void | loadTDDConfig (const std::string &filename, std::string &jconfig) |
|
static std::vector< std::string > | split (const std::string &s, char delimiter) |
|
static void | printVector (std::vector< std::complex< int16_t >> &data) |
|
◆ Utils()
◆ ~Utils()
◆ cfloat_to_cint16()
std::vector< std::complex< int16_t > > Utils::cfloat_to_cint16 |
( |
const std::vector< std::complex< float >> & |
in | ) |
|
|
static |
◆ cint16_to_cfloat()
std::vector< std::complex< float > > Utils::cint16_to_cfloat |
( |
const std::vector< std::complex< int16_t >> & |
in | ) |
|
|
static |
◆ cint16_to_uint32()
std::vector< uint32_t > Utils::cint16_to_uint32 |
( |
const std::vector< std::complex< int16_t >> & |
in, |
|
|
bool |
conj, |
|
|
const std::string & |
order |
|
) |
| |
|
static |
◆ float_to_cint16()
◆ loadData() [1/2]
void Utils::loadData |
( |
const char * |
filename, |
|
|
std::vector< std::complex< int16_t >> & |
data, |
|
|
int |
samples |
|
) |
| |
|
static |
◆ loadData() [2/2]
void Utils::loadData |
( |
const char * |
filename, |
|
|
std::vector< unsigned > & |
data, |
|
|
int |
samples |
|
) |
| |
|
static |
◆ loadDevices()
void Utils::loadDevices |
( |
const std::string & |
filename, |
|
|
std::vector< std::string > & |
data |
|
) |
| |
|
static |
◆ loadSlots()
◆ loadTDDConfig()
void Utils::loadTDDConfig |
( |
const std::string & |
filename, |
|
|
std::string & |
jconfig |
|
) |
| |
|
static |
◆ printVector()
void Utils::printVector |
( |
std::vector< std::complex< int16_t >> & |
data | ) |
|
|
static |
◆ split()
std::vector< std::string > Utils::split |
( |
const std::string & |
s, |
|
|
char |
delimiter |
|
) |
| |
|
static |
◆ strToChannels()
std::vector< size_t > Utils::strToChannels |
( |
const std::string & |
channel | ) |
|
|
static |
◆ uint32tocfloat()
std::vector< std::complex< float > > Utils::uint32tocfloat |
( |
const std::vector< uint32_t > & |
in, |
|
|
const std::string & |
order |
|
) |
| |
|
static |
The documentation for this class was generated from the following files: