pyart.retrieve.compute_spectral_reflectivity#

pyart.retrieve.compute_spectral_reflectivity(spectra, compute_power=True, subtract_noise=False, smooth_window=None, pwr_field=None, signal_field=None, noise_field=None)[source]#

Computes the spectral reflectivity from the complex spectra in ADU or from the signal power in ADU. Requires keys dBADU_to_dBm_hh or dBADU_to_dBm_vv in radar_calibration if the to be computed

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

  • compute_power (Bool) – If True the signal power will be computed. Otherwise the field given by the user will be used

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

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

  • pwr_field, signal_field, noise_field (str, optional) – Name of the fields in radar which contains the signal power, complex signal and noise. None will use the default field name in the Py-ART configuration file.

Returns:

sdBZ_dict (field dictionary) – Field dictionary containing the spectral reflectivity