Skip to main content

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_variable function 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

radar_range_equation-2025.10.26.dev1.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file radar_range_equation-2025.10.26.dev1.tar.gz.

File metadata

File hashes

Hashes for radar_range_equation-2025.10.26.dev1.tar.gz
Algorithm Hash digest
SHA256 57bb5c9a17be14ce1688743b0efb4c5b0aab58fcdf480d3033cef991f40bce9a
MD5 967845916e994f9c0b0811813dbc5049
BLAKE2b-256 8f908359f90f58fc282391ea69fbfe0aa8a3de4feb0b846efcc737d708f22489

See more details on using hashes here.

File details

Details for the file radar_range_equation-2025.10.26.dev1-py3-none-any.whl.

File metadata

File hashes

Hashes for radar_range_equation-2025.10.26.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 29f09e20f9b446ced9d94e65f66729b231e27f84c2d8f4978cfc9ee64c0eb854
MD5 f68c67bf0616ab4ae182b2704157be4a
BLAKE2b-256 197f4736e8658c5ec095a8e2cacb4854b04bef6a0d9687c5187d375efe17d3f9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page