BeamForming
A Python-based Beamforming Simulator with a PyQt5 GUI for visualizing and analyzing antenna array patterns. Adjust parameters like the number of antennas, distance, delay, and frequency to generate real-time heatmaps and beam profiles.
Install / Use
/learn @HarmoniCode/BeamFormingREADME
Beamforming Simulator
This project is a Beamforming Simulator that visualizes the beamforming process using a heatmap and beam profile. The simulator allows users to configure various parameters such as the number of antennas, distance between antennas, delay between antennas, and array geometry.
Features
- Heatmap Visualization: Displays the intensity of the beamforming pattern on a 2D grid.
- Beam Profile Visualization: Shows the beam pattern on a polar plot.
- Antenna Configuration:
- Adjust the number of antennas.
- Set the distance between antennas.
- Configure the delay between antennas in degrees.
- Select the array geometry (Linear or Curved).
- Adjust the curvature for curved arrays.
- Frequency Configuration:
- Set a global frequency for all antennas.
- Adjust individual frequencies for each antenna.
- Position Configuration:
- Manually adjust the x and y positions of each antenna.
- Predefined Scenarios: Load predefined scenarios from JSON files for 5G, Tumor Ablation, and Ultrasound applications.
- Dynamic Updates: Real-time updates of the heatmap and beam profile as parameters are adjusted.
<video src="https://github.com/user-attachments/assets/c76ef5bb-a84c-4eb0-b62f-c78e663dd723"></video>
Requirements
- Python
- PyQt5
- Matplotlib
- NumPy
Installation
- Clone the repository:
git clone https://github.com/HarmoniCode/BeamForming.git cd BeamForming/ - Install the required packages:
pip install -r requirements.txt
Usage
-
Run the main script:
python main.py -
Use the GUI to configure the beamforming parameters and visualize the results.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Related Skills
node-connect
347.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
claude-opus-4-5-migration
107.8kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
frontend-design
107.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
model-usage
347.0kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
