pyart.retrieve.dealias_spectra#

pyart.retrieve.dealias_spectra(spectra, pwr_field=None, fields_out_list=None, negative_vel_priority=2)[source]#

Performs a dealiasing of spectra data, assuming at most one fold

The method is quite simple and works in the following way at every radar gate

  • aliasing check

    check if there is no noise either on the left of the right of the spectrum

  • left/right tail computation

    identify left and right tail of the aliased spectrum

  • detect direction of aliasing

    compute Doppler mean velocity with right or left shift of the spectrum, perform the shift which minimizes the difference in Doppler velocity to previous range bin

Parameters:
  • spectra (Radar spectra object) – Object containing the required fields

  • pwr_field (str) – Name of the field that contains the signal power. None will use the default field name in the Py-ART configuration file.

  • fields_out_list (list of str) – list with the output dealiased fields names obtained, by default will dealias all spectral fields contained in the input spectra

  • negative_vel_priority (float, optional) – Gives priority to negative velocities when determining the aliasing direction. A factor of 2 means that the aliasing direction which results in positive velocities is only chosen if it results in a difference in Doppler velocity to previous range bin that is at least twice as small as the aliasing direction that results in a negative velocity. A value of 1 gives no priority to negative velocities

Returns:

dealias (Spectra) – Spectra object containing the dealiased fields contained in fields_out_list as well as updated Doppler_velocity bins