radarx.fundamentals.doppler.doppler_frequency_shift#
- radarx.fundamentals.doppler.doppler_frequency_shift(frequency, vr, exact=False, relativistic=False)[source]#
Compute Doppler frequency shift.
The default is the first-order two-way shift
2 f vr / c(Eq. 3.30 of [1] divided by 2 pi).exact=Truegives2 f vr / (c - vr), the exact reflected shift of a moving target.relativistic=Truereturns the two-way relativistic shiftf ((1+b)/(1-b) - 1)withb = vr/c[2] (373.6 Hz for 5.6 GHz and 10 m/s), which equals theexactresult analytically. Before this release it returned the one-way relativistic shiftf (sqrt((1+b)/(1-b)) - 1), half the radar value (186.8 Hz). Positivevr(approaching) gives a positive shift.- Parameters:
frequency (
floator array-like) – Transmitted radar frequency [Hz]vr (
floator array-like) – Radial velocity of the target [m/s], positive if approachingexact (
bool, optional) – If True, uses the classical but accurate Doppler formula: (2 * f * v) / (c - v).relativistic (
bool, optional) – If True, uses the two-way relativistic Doppler formula. Overrides exact if both are True.
- Returns:
floator array-like – Doppler frequency shift [Hz]
References