Simulation of electromagnetic wave hitting an interface with a different medium.
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
em_waves-0.0.2.tar.gz
(4.3 kB
view hashes)