#include <DSP.hxx>
|
static ToFEstimationResult | estimateToF (const CSI &csi, std::optional< uint8_t > numPath=std::nullopt) |
| Estimates the time of flight (ToF) of a signal.
|
|
static std::vector< ToFEstimationResult > | estimateMidambleToF (const CSI &csi, std::optional< uint8_t > numPath=std::nullopt) |
|
static std::pair< std::vector< float >, std::vector< float > > | freqzSpectrum (const CS16Vector &iqSamples, uint32_t numFFT, float samplingRate) |
|
Definition at line 16 of file DSP.hxx.
◆ estimateMidambleToF()
static std::vector< ToFEstimationResult > DSP::estimateMidambleToF |
( |
const CSI & |
csi, |
|
|
std::optional< uint8_t > |
numPath = std::nullopt |
|
) |
| |
|
static |
◆ estimateToF()
static ToFEstimationResult DSP::estimateToF |
( |
const CSI & |
csi, |
|
|
std::optional< uint8_t > |
numPath = std::nullopt |
|
) |
| |
|
static |
Estimates the time of flight (ToF) of a signal.
- Parameters
-
csi | The Channel State Information (CSI) of the signal. |
numPath | The number of paths to consider in the estimation. If not provided, it will be (optimally) determined by this function internally. |
- Returns
- ToFEstimationResult A struct containing the estimated path lengths and delays.
◆ freqzSpectrum()
static std::pair< std::vector< float >, std::vector< float > > DSP::freqzSpectrum |
( |
const CS16Vector & |
iqSamples, |
|
|
uint32_t |
numFFT, |
|
|
float |
samplingRate |
|
) |
| |
|
static |
The documentation for this class was generated from the following file: