highiq.calc.get_psd

highiq.calc.get_psd(spectra, gate_resolution=30.0, wavelength=None, fs=None, nfft=32, acf_name='acf', acf_bkg_name='acf_bkg', block_size_ratio=1.0)[source]

This function will get the power spectral density from the autocorrelation function.

Parameters
spectra: ACT Dataset

The dataset containing the autocorrelation function.

gate_resolution: float

The gate resolution to derive the spectra for.

wavelength: float or None

The wavelength (in m) of the radar. If None, HighIQ will attempt to load the wavelength from the wavelength attribute of the spectra dataset.

fs: float or None

The pulse repetition frequency of the radar in Hz. If None, HighIQ will try and extract this information from the ACT dataset. This will require that the dataset have an attribute called sample_rate that contains a string with the magnitude and units of the sample rate.

nfft: int

The number of points to include in the FFT.

acf_name: str

The name of the autocorrelation function field.

acf_bkg_name: str

The name of the autocorrelation function of the background.

block_size_ratio: float

Increase this value to use more GPU memory for processing. Doing this can poentially optimize processing.

Returns
——-
spectra: ACT Dataset

The dataset containing the power spectral density functions.