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.dev2.tar.gz (5.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.26.dev2.tar.gz.

File metadata

File hashes

Hashes for radar_range_equation-2025.10.26.dev2.tar.gz
Algorithm Hash digest
SHA256 d0bbf1879122f207c10836d9f3be0e5d1947799eb17819fcff18a8de92ccaccc
MD5 a9cd950e5675ac86fbc61cbcb4b6be48
BLAKE2b-256 600688a060d589f7e1026967bc52ba7a9981006716e1697110d05171612a8c25

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for radar_range_equation-2025.10.26.dev2-py3-none-any.whl
Algorithm Hash digest
SHA256 4e1a8e122c42b3f94428d8e197b4a36febca3be0b6ed6aff4f2dd64bcdc00451
MD5 8ec1e47160965c7bbde610e6de44d67c
BLAKE2b-256 021605a6783966393639e478daa1dd435da6ca83ecdcd89b3c026670d3be6dbf

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