# mmwave.dsp.range_processing¶

mmwave.dsp.range_processing.range_resolution(num_adc_samples, dig_out_sample_rate=2500, freq_slope_const=60.012)

Calculate the range resolution for the given radar configuration

Parameters: num_adc_samples (int) – The number of given ADC samples in a chirp dig_out_sample_rate (int) – The ADC sample rate freq_slope_const (float) – The slope of the freq increase in each chirp range_resolution (float): The range resolution for this bin band_width (float): The bandwidth of the radar chirp config
mmwave.dsp.range_processing.range_processing(adc_data, window_type_1d=None, axis=-1)

Perform 1D FFT on complex-format ADC data.

Perform optional windowing and 1D FFT on the ADC data.

Parameters: adc_data (ndarray) – (num_chirps_per_frame, num_rx_antennas, num_adc_samples). Performed on each frame. adc_data is in complex by default. Complex is float32/float32 by default. window_type_1d (mmwave.dsp.utils.Window) – Optional window type on 1D FFT input. Default is None. Can be selected from Bartlett, Blackman, Hanning and Hamming. (num_chirps_per_frame, num_rx_antennas, num_range_bins). Also called fft_1d_out radar_cube (ndarray)
mmwave.dsp.range_processing.zoom_range_processing(adc_data, low_freq, high_freq, fs, d, resample_number)

Perform ZoomFFT on complex-format ADC data in a user-defined frequency range.

Parameters: adc_data (ndarray) – (num_chirps_per_frame, num_rx_antennas, num_adc_samples). Performed on each frame. adc_data is in complex by default. Complex is float32/float32 by default. low_freq (int) – a user-defined number which specifies the lower bound on the range of frequency spectrum which the user would like to zoom on high_freq (int) – a user-defined number which specifies the higher bound on the range of frequency spectrum which the user would like to zoom on fs (int) – sampling rate of the original signal d (int) – Sample spacing (inverse of the sampling rate) resample_number (int) – The number of samples in the re-sampled signal. (num_chirps_per_frame, num_rx_antennas, resample_number). zoom_fft_spectrum (ndarray)
mmwave.dsp.range_processing.zoom_fft_visualize(zoom_fft_spectrum, antenna_idx, range_bin_idx)

to be implemented