A Radar Range Equation Package
Project description
Radar Range Equation
A basic toolbox for solving radar range equations
Testing
After building and installing the package, you can run the test script to verify functionality:
python python/test_package.py
This test script verifies that:
- The package can be imported successfully
- Variables can be set dynamically (e.g.,
c,f,lambda) - The
redefine_variablefunction works correctly - Calculations work as expected (e.g.,
lambda = c/f)
Example Usage
import radar_range_equation as RRE
# Set the speed of light (m/s)
RRE.vars.c = 3.00 * 10**8
# Set the frequency (Hz)
RRE.vars.f = 10
# Calculate and set wavelength (m)
# Note: 'lambda' is a reserved keyword in Python, so use setattr/getattr
setattr(RRE.vars, 'lambda', RRE.vars.c / RRE.vars.f)
# Print the wavelength
print(getattr(RRE.vars, 'lambda')) # Output: 30000000.0
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file radar_range_equation-2025.10.26.dev1.tar.gz.
File metadata
- Download URL: radar_range_equation-2025.10.26.dev1.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
57bb5c9a17be14ce1688743b0efb4c5b0aab58fcdf480d3033cef991f40bce9a
|
|
| MD5 |
967845916e994f9c0b0811813dbc5049
|
|
| BLAKE2b-256 |
8f908359f90f58fc282391ea69fbfe0aa8a3de4feb0b846efcc737d708f22489
|
File details
Details for the file radar_range_equation-2025.10.26.dev1-py3-none-any.whl.
File metadata
- Download URL: radar_range_equation-2025.10.26.dev1-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
29f09e20f9b446ced9d94e65f66729b231e27f84c2d8f4978cfc9ee64c0eb854
|
|
| MD5 |
f68c67bf0616ab4ae182b2704157be4a
|
|
| BLAKE2b-256 |
197f4736e8658c5ec095a8e2cacb4854b04bef6a0d9687c5187d375efe17d3f9
|