blah2
A real-time passive radar
CfarDetector1D.h
Go to the documentation of this file.
1 
8 #ifndef CFARDETECTOR1D_H
9 #define CFARDETECTOR1D_H
10 
11 #include "data/Map.h"
12 #include "data/Detection.h"
13 #include <stdint.h>
14 #include <complex>
15 
17 {
18 private:
20  double pfa;
21 
23  int8_t nGuard;
24 
26  int8_t nTrain;
27 
29  int8_t minDelay;
30 
32  double minDoppler;
33 
36 
37 public:
45  CfarDetector1D(double pfa, int8_t nGuard, int8_t nTrain, int8_t minDelay, double minDoppler);
46 
50 
54  Detection *process(Map<std::complex<double>> *x);
55 };
56 
57 #endif
A class to implement a 1D CFAR detector.
Definition: CfarDetector1D.h:17
int8_t minDelay
Minimum delay to process detections (bins).
Definition: CfarDetector1D.h:29
int8_t nGuard
Number of single-sided guard cells.
Definition: CfarDetector1D.h:23
Detection * detection
Pointer to detection data to store result.
Definition: CfarDetector1D.h:35
double minDoppler
Minimum absolute Doppler to process detections (Hz).
Definition: CfarDetector1D.h:32
double pfa
Probability of false alarm, numeric in [0,1].
Definition: CfarDetector1D.h:20
CfarDetector1D(double pfa, int8_t nGuard, int8_t nTrain, int8_t minDelay, double minDoppler)
Constructor.
Definition: CfarDetector1D.cpp:9
~CfarDetector1D()
Destructor.
Definition: CfarDetector1D.cpp:19
Detection * process(Map< std::complex< double >> *x)
Implement the 1D CFAR detector.
Definition: CfarDetector1D.cpp:23
int8_t nTrain
Number of single-sided training cells.
Definition: CfarDetector1D.h:26
A class to store detection data.
Definition: Detection.h:14
A class to store an ambiguity map.
Definition: Map.h:20