KiCad PCB EDA Suite
Loading...
Searching...
No Matches
SMITH_MATH Namespace Reference

Functions

bool GammaToImpedance (double aRe, double aIm, double aZ0, double &aResistance, double &aReactance)
 < Impedance of a reflection coefficient, z = z0 ( 1 + gamma ) / ( 1 - gamma ), false at the gamma = 1 singularity.
 
double VSWR (double aGammaMag)
 
double ReturnLoss (double aGammaMag)
 Series equivalent element of a reactance at one frequency, henries for aReactance > 0, farads for aReactance < 0.
 
double SeriesInductance (double aReactance, double aFreq)
 
double SeriesCapacitance (double aReactance, double aFreq)
 Pan that keeps the gamma point under aPos fixed when the view zooms to aNewZoom.
 
wxRealPoint ZoomAboutPoint (const SMITH_VIEW &aView, const wxPoint &aPos, double aNewZoom)
 S-parameter vectors are named S_<responsePort>_<drivePort>.
 
bool ParseSParamPorts (const wxString &aVectorName, long *aResponsePort, long *aDrivePort)
 

Function Documentation

◆ GammaToImpedance()

bool SMITH_MATH::GammaToImpedance ( double aRe,
double aIm,
double aZ0,
double & aResistance,
double & aReactance )
inline

< Impedance of a reflection coefficient, z = z0 ( 1 + gamma ) / ( 1 - gamma ), false at the gamma = 1 singularity.

Definition at line 65 of file smith_math.h.

Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), and SMITH_CURSOR::Plot().

◆ ParseSParamPorts()

bool SMITH_MATH::ParseSParamPorts ( const wxString & aVectorName,
long * aResponsePort,
long * aDrivePort )
inline

◆ ReturnLoss()

double SMITH_MATH::ReturnLoss ( double aGammaMag)
inline

Series equivalent element of a reactance at one frequency, henries for aReactance > 0, farads for aReactance < 0.

Definition at line 86 of file smith_math.h.

Referenced by BOOST_AUTO_TEST_CASE(), and SMITH_CURSOR::Plot().

◆ SeriesCapacitance()

double SMITH_MATH::SeriesCapacitance ( double aReactance,
double aFreq )
inline

Pan that keeps the gamma point under aPos fixed when the view zooms to aNewZoom.

Definition at line 101 of file smith_math.h.

References M_PI.

Referenced by BOOST_AUTO_TEST_CASE(), and SMITH_CURSOR::Plot().

◆ SeriesInductance()

double SMITH_MATH::SeriesInductance ( double aReactance,
double aFreq )
inline

Definition at line 96 of file smith_math.h.

References M_PI.

Referenced by BOOST_AUTO_TEST_CASE(), and SMITH_CURSOR::Plot().

◆ VSWR()

double SMITH_MATH::VSWR ( double aGammaMag)
inline

Definition at line 78 of file smith_math.h.

Referenced by BOOST_AUTO_TEST_CASE(), and SMITH_CURSOR::Plot().

◆ ZoomAboutPoint()

wxRealPoint SMITH_MATH::ZoomAboutPoint ( const SMITH_VIEW & aView,
const wxPoint & aPos,
double aNewZoom )
inline

S-parameter vectors are named S_<responsePort>_<drivePort>.

Definition at line 107 of file smith_math.h.

References SMITH_VIEW::center, SMITH_VIEW::radius, SMITH_VIEW::ToGamma(), and SMITH_VIEW::zoom.

Referenced by BOOST_AUTO_TEST_CASE(), and SIM_PLOT_TAB::SmithZoomAt().