em-waves
Installation
pip install em_waves
Usage
from em_waves import Medium, Sine, Gaussian, Rect
f_0 = 1.8e9 # [Hz]
E_0 = 10.0 # [V/m]
free_space = Medium(ε_r=1, μ_r=1, σ=0)
medium2 = Medium(ε_r=5, μ_r=3, σ=.04)
wave = Sine(f=f_0, A=E_0)
# wave = Gaussian(rms=1.3)
# wave = Rect(width=4)
wave.add_mediums(medium1=free_space, medium2=medium2)
wave.print_data()
wave.show()
Demo installation and usage
Release files for em-waves 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| em_waves-0.0.2.tar.gz | 4.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| em_waves-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.6 kB
Release files / em_waves-0.0.2.tar.gz
| Download URL | em_waves-0.0.2.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e0b1168fefed30a911dc4286dab18d6f2632ecd1197e37a9c27466e37400c12f
|
|
BLAKE2b-256 checksum How to use checksums |
b2229508fa6db232ff6547d49c9003affcf7c02c9ca81f19cb18d7ec2161d932
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.8.0 tqdm/4.48.0 CPython/3.8.1
|
Release files / em_waves-0.0.2-py3-none-any.whl
| Download URL | em_waves-0.0.2-py3-none-any.whl |
|---|---|
| Size | 5.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8bf5bd229a744d22990fa4c970efe411b22431640281de4fb18b7bc41ba161aa
|
|
BLAKE2b-256 checksum How to use checksums |
0a1b4c43a460898ab0441bcdeb5eaaa59baf56472b1b62eefff1c208dedf4123
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.8.0 tqdm/4.48.0 CPython/3.8.1
|