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.24.dev1.tar.gz (3.8 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.24.dev1.tar.gz.

File metadata

File hashes

Hashes for radar_range_equation-2025.10.24.dev1.tar.gz
Algorithm Hash digest
SHA256 150f65a23c4d6bc517f9ab0b110971bb1b389bbabf8e1ea2ea441de560cfe90c
MD5 805405e73116138f2b646afb93473ac5
BLAKE2b-256 81172c5f5f337425f5516c50c09a5f59e041e1a9c168d637610600c70efab1fc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for radar_range_equation-2025.10.24.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 089cc3568aa0f76d33f4ff6e54cde23733176c41a980d7bca259f658e4374a84
MD5 6101c4decba66c51e285f9e6fbff1f2c
BLAKE2b-256 13bc6482cf2d38eae21921098a8f89fb4787d09a5426c716bf73fedfe0a6b5d6

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