Skip to main content

RF tools

Tools for designing RF components and networks

Installation

# for latest version (from GitHub)
python3 -m pip install git+https://github.com/garrettj403/RF-tools.git

# for lastest release (from PyPI)
python3 -m pip install rftools

Examples of the Command Line Tools

Calculate the properties of a WR4.3 rectangular waveguide at 230 GHz:

Input:

$ waveguide WR4.3 --freq 230

Output:

    Rectangular Waveguide: WR4.3
    --------------------------------------------------

    Dimensions:
    a                      1.092        [mm]
    b                      0.546        [mm]

    Standard frequency range:
    low                  171.553        [GHz]
    mid                  215.471        [GHz]
    high                 259.388        [GHz]

    Cutoff frequencies:
    TE10                 137.242        [GHz]
    TE20                 274.485        [GHz]
    TE01                 274.485        [GHz]
    TE/TM11              306.883        [GHz]

    Properties at 230.0 GHz:
    wavelength             1.624        [mm]
    impedance            469.469        [ohms]

Calculate the attenuation constant of a WR2.8 waveguide at 345 GHz:

Input

$ waveguide-att --type WR2.8 --freq 345 --cond 5.85e7

Output

    Rectangular Waveguide: WR2.8
    --------------------------------------------------

    Dimensions:
    a                    711.200        [um]
    b                    355.600        [um]

    Standard frequency range:
    low                  263.457        [GHz]
    mid                  330.901        [GHz]
    high                 398.346        [GHz]

    Properties at 345 GHz:
    wavelength             1.098        [mm]
    impedance            475.852        [ohms]

    Attenuation at 345 GHz:
    conductivity           5.850 E+07   [S/m]
    skin depth           112.030        [nm]
    attenuation            1.976        [Np/m]
                          17.160        [dB/m]
                           0.172        [dB/cm]

Calculate the properties of a 0.5 mm radius circular waveguide at 345 GHz:

Input:

$ cwaveguide 0.5 --freq 345

Output:

    Circular Waveguide:
    --------------------------------------------------

    Dimensions:
    radius a               0.500        [mm]

    Cutoff frequencies:
    TE11                 175.681        [GHz]
    TM01                 229.502        [GHz]
    TE21                 291.434        [GHz]
    TE01                 365.676        [GHz]
    TM11                 365.676        [GHz]

    Properties at 345.0 GHz:
    wavelength             1.010        [mm]
    impedance            437.735        [ohms]

Calculate the noise temperature using the Y-factor technique:

Input:

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

Output:

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

    Physical temperature of black body loads:
    Hot load             300.000        [K]
    Cold load             20.000        [K]

    Equiv. temp. from CW equations (with f=850.0 GHz):
    Hot load             300.462        [K]
    Cold load             26.496        [K]

    Y-factor               2.227

    Noise temperature    196.735        [K]

Calculate the width of a microstrip:

Input:

$ 50ohm-line --z0 50 --thickness 15 --er 2.2

Output:

    Microstrip:
    --------------------------------------------------

    Input values:
    desired Z0            50.000        [ohms]
    thickness (t)         15.000        [mil]
    rel. permittivity      2.200

    Output:
    microstrip width       1.174        [mm]

Metadata

Release files for rftools 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rftools 0.0.3
File Size Uploaded
rftools-0.0.3.tar.gz 18.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for rftools 0.0.3
File Interpreter ABI Platform
rftools-0.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 40.3 kB

Release files / rftools-0.0.3.tar.gz

Download URL rftools-0.0.3.tar.gz
Size 18.0 kB
Tags Source
SHA-256 checksum
How to use checksums
388db8cad597b199d6e29b47d7bd87f7b23b16b6b8afc3f967737da12eeb669e
BLAKE2b-256 checksum
How to use checksums
22e27e7d20775013ef0d6bdbff3b2869ce1e4cd0acdd800f0eec213543034926
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.6

Release files / rftools-0.0.3-py3-none-any.whl

Download URL rftools-0.0.3-py3-none-any.whl
Size 22.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b180d6de6f600dd4cd1fade79197a68be6852f536088aca13369d556d945de8e
BLAKE2b-256 checksum
How to use checksums
ae88649958b0edcb9138d973b5759bf9e36082a43c61ba814c009c69bd4891bc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.6

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page