Skip to content

Generate Spectrogram

Processes and visualizes radar data from locally stored mmWave radar files.

This script reads, transforms, and saves radar frames by computing Range FFT, Doppler FFT, and Azimuth FFT

If processed data already exists, it loads and visualizes it.

Usage
  • Ensure the radar_utility.py module is available.
  • Modify cases to specify the capture IDs to process.
  • Run the script in a Python environment.
Dependencies
  • numpy
  • matplotlib
  • tqdm
  • radar_utility.py (contains helper functions)

Attributes:

Name Type Description
cases range

Specifies the range of radar capture IDs to process.

base_dir str

Directory where radar data is stored.

show bool

If True, displays the processed azimuth FFT visualization.