pyart.retrieve.compute_spectral_differential_reflectivity#
- pyart.retrieve.compute_spectral_differential_reflectivity(spectra, compute_power=True, subtract_noise=False, smooth_window=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 spectral differential reflectivity from the complex spectras or the power in ADU
- 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 signals
smooth_window (int or None) – Size of the moving Gaussian smoothing window. If none no smoothing will be applied
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:
sZDR_dict (field dictionary) – Field dictionary containing the spectral differential reflectivity