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=True gives 2 f vr / (c - vr), the exact reflected shift of a moving target. relativistic=True returns the two-way relativistic shift f ((1+b)/(1-b) - 1) with b = vr/c [2] (373.6 Hz for 5.6 GHz and 10 m/s), which equals the exact result analytically. Before this release it returned the one-way relativistic shift f (sqrt((1+b)/(1-b)) - 1), half the radar value (186.8 Hz). Positive vr (approaching) gives a positive shift.

Parameters:
  • frequency (float or array-like) – Transmitted radar frequency [Hz]

  • vr (float or array-like) – Radial velocity of the target [m/s], positive if approaching

  • exact (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:

float or array-like – Doppler frequency shift [Hz]

References