Skip to main content

Tools to design RF components and networks.

Project description

RF tools

Tools to design RF components and networks

Installation

To install via pip:

python3 -m pip install git+https://github.com/garrettj403/RF-tools.git

Examples: Command Line

Analyze a WR4.3 rectangular waveguide:

Input:

$ waveguide WR4.3 --freq 230

Output:

    Rectangular Waveguide: WR4.3
    --------------------------------------------------
    a               =   1.092               [mm]
    b               =   0.546               [mm]

    low freq.       = 171.553               [GHz]
    mid freq.       = 215.471               [GHz]
    high freq.      = 259.388               [GHz]

    cutoff TE10     = 137.242               [GHz]
    cutoff TE20     = 274.485               [GHz]
    cutoff TE01     = 274.485               [GHz]
    cutoff TE/TM11  = 306.883               [GHz]

    -> at 230.0 GHz
    wavelength      =   1.624               [mm]
    impedance       = 469.469               [ohms]

Analyze a 0.5 mm radius circular waveguide:

Input:

$ cwaveguide 0.5 --freq 345

Output:

    Circular Waveguide:
    --------------------------------------------------
    a               =   0.500               [mm]

    low freq.       = 219.601               [GHz]
    mid freq.       = 275.819               [GHz]
    high freq.      = 332.037               [GHz]

    cutoff TE11     = 175.681               [GHz]
    cutoff TM01     = 229.502               [GHz]
    cutoff TE21     = 291.434               [GHz]
    cutoff TE01     = 365.676               [GHz]
    cutoff TM11     = 365.676               [GHz]

    -> at 345.0 GHz
    wavelength      =   1.010               [mm]
    impedance       = 437.735               [ohms]

Calculate noise temperature using Y-factor technique:

Input:

$ noisetemp 4.9/2.2 --freq 850 --thot 300 --tcold 20

Output:

    Noise temperature from Y-factor
    --------------------------------------------------

    Y-factor        =   2.227

    -> using CW equations with f = 850 GHz
    Hot load        = 300.462       [K]
    Cold load       =  26.496       [K]

    Noise temp.     = 196.735       [K]

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

rftools-0.0.2.tar.gz (14.4 kB view details)

Uploaded Source

Built Distribution

rftools-0.0.2-py3-none-any.whl (16.8 kB view details)

Uploaded Python 3

File details

Details for the file rftools-0.0.2.tar.gz.

File metadata

  • Download URL: rftools-0.0.2.tar.gz
  • Upload date:
  • Size: 14.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

File hashes

Hashes for rftools-0.0.2.tar.gz
Algorithm Hash digest
SHA256 c5221a187e78dbcba94f141a9fd22ab9e8edd16084714a42859ee00170dad630
MD5 704278e756030ec14210fe5c75e5b33c
BLAKE2b-256 9820f3a89d93d83b09f0a5ee35554a22105b72d5ad5c61785861621415784647

See more details on using hashes here.

File details

Details for the file rftools-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: rftools-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 16.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

File hashes

Hashes for rftools-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ff5793ba1e4cd10fc62d3afa2f226483c2ac917282102a5045c9b137d5acc910
MD5 4acbd26ffacfaa593c5acd6e5d35eff8
BLAKE2b-256 22010d0529a2c05a0306ca1ae46482a0602ab55cff53b63af8f111a92b48c7d7

See more details on using hashes here.

Supported by

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