27 #ifndef __RADAR_FORMULA_HPP__ 28 #define __RADAR_FORMULA_HPP__ 52 static inline double calculate(
long prf,
double waveLength_meters)
55 return waveLength_meters * (double)prf / 4;
65 static inline double calculate(
long lowPRF,
long highPRF,
double waveLength_meters)
67 if (lowPRF == highPRF)
69 return calculate(highPRF, waveLength_meters);
76 return waveLength_meters / 4 / ( 1 / (double)lowPRF - 1 / (
double)highPRF);
102 return 299.792458 / freqMHz;
115 return 29979.2458 / freqMHz;
143 return peakPwr * (double)prf * pulseWidth / 1000000.;
static double calculateWatts(double peakPwr, int prf, double pulseWidth)
Calculate Weather Radar Average Power.
Definition: formula.hpp:138
Wavelength velocity class.
Definition: formula.hpp:88
static double freqMHzToMeters(double freqMHz)
Calculate wave length expressed in meters using frequency.
Definition: formula.hpp:97
static double freqMHzToCM(double freqMHz)
Calculate wave length expressed in centimeters using frequency.
Definition: formula.hpp:110
Weather Radar Average Power.
Definition: formula.hpp:126
static double calculateKWatts(double peakPwr, int prf, double pulseWidth)
Calculate Weather Radar Average Power.
Definition: formula.hpp:154
Niquist velocity class.
Definition: formula.hpp:43
Definition: base64.cpp:29
static double calculate(long prf, double waveLength_meters)
Calculate nyquist velocity (meters/seconds) using PRF and wavelength.
Definition: formula.hpp:52
static double calculate(long lowPRF, long highPRF, double waveLength_meters)
Calculate nyquist velocity (meters/seconds) using dual PRF values and wavelength. ...
Definition: formula.hpp:65