`R/nyquist_velocity.R`

`nyquist_velocity.Rd`

Calculates the Nyquist velocity given a radar's pulse repetition frequency (PRF) and wavelength. When specifying two PRFs, the extended Nyquist velocity is given for a radar using the dual-PRF technique.

`nyquist_velocity(wavelength, prf1, prf2)`

- wavelength
radar wavelength in cm

- prf1
radar pulse repetition frequency in Hz

- prf2
alternate radar pulse repetition frequency in Hz (for a radar operating in dual-PRF mode)

Nyquist velocity in m/s.

```
# at C-band (5.3 cm wavelength) and a PRF of 2000 Hz
nyquist_velocity(5.3, 2000)
#> [1] 26.5
# extended Nyquist velocity in a dual-PRF scheme
# using 2000 Hz and 1500 Hz PRFs:
nyquist_velocity(5.3, 2000, 1500)
#> [1] 79.5
```