highiq.calc.get_lidar_moments¶
-
highiq.calc.
get_lidar_moments
(spectra, snr_thresh=0, block_size_ratio=1.0, which_moments=None)[source]¶ This function will retrieve the lidar moments of the Doppler spectra.
- Parameters
- spectra: ACT Dataset
The dataset containing the processed Doppler spectral density functions.
- snr_thresh: float
The minimum signal to noise ratio to use as an initial mask of noise.
- block_size_ratio: float
This value is used to determine how much data the GPU will process in one loop. If your GPU has more memory, you may be able to optimize processing by raising this number. In addition, if you encounter out of memory errors, try lowering this number, ensuring that it is a positive floating point number.
- which_moments: list or None
This tells HighIQ which moments should be processed. If this list is None, then the signal to noise ratio, doppler velocity, spectral width, skewness, and kurtosis will be calculated.
- Returns
- spectra:
The database with the Doppler lidar moments.