jitxlib.physics package#

Physics Utility Definitions and Functions

PERMITTIVITY_VAC = 8.85418782e-12#

Permittivity of Free Space (Vacuum) see https://en.wikipedia.org/wiki/Vacuum_permittivity

PERMEABILITY_VAC = 1.2566370614359173e-06#

Permeability of Free Space (Vacuum) see https://en.wikipedia.org/wiki/Vacuum_permeability

wave_impedance(eps_r, mu_r)[source]#

Compute the Wave Impedance for a specific medium. The wave impedance is the ratio of the electric field to the magnetic field.

Parameters:
  • eps_r (float) – Relative Permittivity of the Medium. This value should be greater than or equal to 1.0

  • mu_r (float) – Relative Magnetic Permeability of the Medium. This value should be greater than or equal to 1.0.

Returns:

The wave impedance in Ohms.

phase_velocity(eps_r, mu_r=1.0)[source]#

Compute the Phase Velocity for a specific medium.

The phase velocity is the signal propagation velocity in a particular medium. This function assumes that the medium of propagation is homogeneous. For non-homogeneous medium, the user should compute the effective relative permittivity and then pass it to this function.

Parameters:
  • eps_r (float) – Relative Permittivity of the Medium. This value should be greater than or equal to 1.0

  • mu_r (float) – Relative Magnetic Permeability of the Medium. This value should be greater than or equal to 1.0. The default value for this parameter is 1.0 - this is a typical default for non-magnetic materials.

Returns:

The signal propagation velocity in mm / s.

SPEED_OF_LIGHT_VAC = 299792457959.71454#

Speed of Light in Free Space (Vacuum) in mm / s

guide_wavelength(f, eps_r, mu_r=1.0)[source]#

Compute the Guide Wavelength for a specific frequency in a medium. The guide wavelength is the wavelength of a TEM wave in a specific medium.

Parameters:
  • f (float) – Frequency in Hz

  • eps_r (float) – Relative Permittivity of the Medium. This value should be greater than or equal to 1.0

  • mu_r (float) – Relative Magnetic Permeability of the Medium. This value should be greater than or equal to 1.0.

Returns:

Guide Wavelength at f in mm.