pyrad.proc.process_spectral_power#

pyrad.proc.process_spectral_power(procstatus, dscfg, radar_list=None)[source]#

Computes the spectral power

Parameters:
  • procstatus (int) – Processing status: 0 initializing, 1 processing volume, 2 post-processing

  • dscfg (dictionary of dictionaries) –

    data set configuration. Accepted configuration keywords:

    datatype : list of string. Dataset keyword
        The input data types, must contain,
        "ShhADU" or "SvvADU" or "ShhADUu" or "SvvADUu", and,
        "sNADUh", or "sNADUv"
    units : str
        The units of the returned signal. Can be 'ADU', 'dBADU' or 'dBm'
    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
    
  • radar_list (list of spectra objects) – Optional. list of spectra objects

Returns:

  • new_dataset (dict) – dictionary containing the output field “sPhhADU” or “sPhhADUu”, or “sPvvADU” or “sPvvADUu”, or “sPhhdBADU” or “sPhhdBADUu”, or “sPvvdBADU” or “sPvvdBADUu”, or “sPhhAdBm” or “sPhhdBmu”, or “sPvvdBm” or “sPvvdBmu”, depending on which input datatype and units were provided

  • ind_rad (int) – radar index