pyart.retrieve.compute_pol_variables#

pyart.retrieve.compute_pol_variables(spectra, fields_list, use_pwr=False, subtract_noise=False, smooth_window=None, srhohv_field=None, pwr_h_field=None, pwr_v_field=None, signal_h_field=None, signal_v_field=None, noise_h_field=None, noise_v_field=None)[source]#

Computes the polarimetric variables from the complex spectra in ADU or the spectral powers and spectral RhoHV

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

  • fields_list (list of str) – list of fields to compute

  • use_pwr (Bool) – If True the polarimetric variables will be computed from the spectral power and the spectral RhoHV. Otherwise from the complex spectra

  • subtract_noise (Bool) – If True noise will be subtracted from the signals

  • smooth_window (int or None) – Size of the moving Gaussian smoothing window. If none no smoothing will be applied

  • srhohv_field, pwr_h_field, pwr_v_field, signal_h_field, signal_v_field,

  • noise_h_field, noise_v_field (str) – Name of the fields in radar which contains the signal and noise. None will use the default field name in the Py-ART configuration file.

Returns:

radar (radar object) – Object containing the computed fields