Skip to contents

This function calculates the radial velocities corresponding to the Doppler bins in a SeaSondeRCS object, based on the provided Doppler frequencies. The calculation uses the radar's wave number and Bragg angular frequencies.

Usage

seasonder_computeBinsRadialVelocity(seasonder_cs_object, freq)

Arguments

seasonder_cs_object

A SeaSondeRCS object containing data and metadata necessary for the calculation of Doppler bin frequencies and velocities.

freq

A numeric vector representing the Doppler frequencies for which the radial velocities are to be calculated.

Value

A numeric vector containing the radial velocities (in meters per second, m/s) corresponding to the provided Doppler frequencies.

Details

The radial velocity \(v\) for each Doppler bin is computed using the formula: $$v = \frac{\text{Freq} - \text{BraggFreq}}{2 \cdot k_0}$$ where:

  • \(\text{Freq}\) is the Doppler frequency of the bin.

  • \(\text{BraggFreq}\) is the Bragg Doppler angular frequency for the bin.

  • \(k_0\) is the radar wave number divided by \(2\pi\).

The Bragg frequency is negative for bins with frequencies below zero and positive for bins with frequencies above zero.

See also

seasonder_getBraggDopplerAngularFrequency to retrieve the Bragg angular frequencies. seasonder_getRadarWaveNumber to obtain the radar wave number.