PicoScenes API Docs
 
Loading...
Searching...
No Matches
DSP Class Reference

#include <DSP.hxx>

Static Public Member Functions

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< ToFEstimationResultestimateMidambleToF (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)
 

Detailed Description

Definition at line 16 of file DSP.hxx.

Member Function Documentation

◆ 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
csiThe Channel State Information (CSI) of the signal.
numPathThe 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: