radarx.fundamentals.doppler.doppler_frequency_shift#
- radarx.fundamentals.doppler.doppler_frequency_shift(frequency, vr, exact=False, relativistic=False)[source]#
Compute Doppler frequency 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 relativistic Doppler formula. Overrides exact if both are True.
- Returns:
floator array-like – Doppler frequency shift [Hz]