blah2
A real-time passive radar
CfarDetector1D Class Reference

A class to implement a 1D CFAR detector. More...

#include <CfarDetector1D.h>

Collaboration diagram for CfarDetector1D:
Collaboration graph

Public Member Functions

 CfarDetector1D (double pfa, int8_t nGuard, int8_t nTrain, int8_t minDelay, double minDoppler)
 Constructor. More...
 
 ~CfarDetector1D ()
 Destructor. More...
 
Detectionprocess (Map< std::complex< double >> *x)
 Implement the 1D CFAR detector. More...
 

Private Attributes

double pfa
 Probability of false alarm, numeric in [0,1]. More...
 
int8_t nGuard
 Number of single-sided guard cells. More...
 
int8_t nTrain
 Number of single-sided training cells. More...
 
int8_t minDelay
 Minimum delay to process detections (bins). More...
 
double minDoppler
 Minimum absolute Doppler to process detections (Hz). More...
 
Detectiondetection
 Pointer to detection data to store result. More...
 

Detailed Description

A class to implement a 1D CFAR detector.

Converts an AmbiguityMap to DetectionData. 1D CFAR operates across delay, to minimise detections from the zero-Doppler line.

Author
30hours
Todo:
Actually implement the min delay and Doppler.

Constructor & Destructor Documentation

◆ CfarDetector1D()

CfarDetector1D::CfarDetector1D ( double  pfa,
int8_t  nGuard,
int8_t  nTrain,
int8_t  minDelay,
double  minDoppler 
)

Constructor.

Parameters
pfaProbability of false alarm, numeric in [0,1].
nGuardNumber of single-sided guard cells.
nTrainNumber of single-sided training cells.
minDelayMinimum delay to process detections (bins).
minDopplerMinimum absolute Doppler to process detections (Hz).
Returns
The object.

◆ ~CfarDetector1D()

CfarDetector1D::~CfarDetector1D ( )

Destructor.

Returns
Void.

Member Function Documentation

◆ process()

Detection * CfarDetector1D::process ( Map< std::complex< double >> *  x)

Implement the 1D CFAR detector.

Parameters
xAmbiguity map data of IQ samples.
Returns
Detections from the 1D CFAR detector.

Member Data Documentation

◆ detection

Detection* CfarDetector1D::detection
private

Pointer to detection data to store result.

◆ minDelay

int8_t CfarDetector1D::minDelay
private

Minimum delay to process detections (bins).

◆ minDoppler

double CfarDetector1D::minDoppler
private

Minimum absolute Doppler to process detections (Hz).

◆ nGuard

int8_t CfarDetector1D::nGuard
private

Number of single-sided guard cells.

◆ nTrain

int8_t CfarDetector1D::nTrain
private

Number of single-sided training cells.

◆ pfa

double CfarDetector1D::pfa
private

Probability of false alarm, numeric in [0,1].


The documentation for this class was generated from the following files: