Skip to content

openstb.simulator.distortion.doppler

Classes:

Name Description
DopplerDistortion

Doppler distortion due to the movement of the platform.

DopplerDistortion

DopplerDistortion(calculate_c_rx=False)

Bases: Distortion

Doppler distortion due to the movement of the platform.

This distortion is performed as follows:

  1. Calculate the speed of the transducers in the direction of the target (positive towards the target).

  2. Calculate the Doppler scale factor n = (1 + v_rx/c) / (1 - v_tx/c).

  3. Distort the spectrum according to S_d(f) = S(f/n) / sqrt(n).

Parameters:

Name Type Description Default
calculate_c_rx Boolean

If True, calculate the platform velocity at the reception time and position separately for each target. If False, use the platform velocity at the time and position the ping transmission started for all calculations.

False
Source code in openstb/simulator/distortion/doppler.py
26
27
28
29
30
31
32
33
34
35
36
def __init__(self, calculate_c_rx: bool = False):
    """
    Parameters
    ----------
    calculate_c_rx : Boolean
        If True, calculate the platform velocity at the reception time and position
        separately for each target. If False, use the platform velocity at the time
        and position the ping transmission started for all calculations.

    """
    self.calculate_c_rx = calculate_c_rx