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.1.tar.gz (14.4 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: rftools-0.0.1.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/45.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

File hashes

Hashes for rftools-0.0.1.tar.gz
Algorithm Hash digest
SHA256 2e240cd5f893a8399d3c054df6acb30d796f1b4fff61e878ab0ba89f46f60bb7
MD5 501fd95d2d6116f06ee487ff3a8eb71b
BLAKE2b-256 7417e758440406e8bf7e50926fae62859cc928ca4cb15f0fb2903cfeeefeef18

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rftools-0.0.1-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/45.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

File hashes

Hashes for rftools-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0d1cfd715e3620cea6132974dc87bc36fa6f05a789c0c92702171a4e5f20d8c9
MD5 eae1fedfc9b40fb71debbaa5d5cd3741
BLAKE2b-256 6fceb0721a15ee67f4df294c3d688fe6e560d6a04c726c332215c52e22f997e3

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