KiCad PCB EDA Suite
Loading...
Searching...
No Matches
smith_math.h File Reference
#include <algorithm>
#include <cmath>
#include <limits>
#include <math/util.h>
#include <wx/gdicmn.h>
#include <wx/string.h>

Go to the source code of this file.

Classes

struct  SMITH_VIEW
 < Smith chart placement plus pan/zoom, maps a gamma point to a screen pixel and back. More...
 

Namespaces

namespace  SMITH_MATH
 

Functions

bool SMITH_MATH::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 SMITH_MATH::VSWR (double aGammaMag)
 
double SMITH_MATH::ReturnLoss (double aGammaMag)
 Series equivalent element of a reactance at one frequency, henries for aReactance > 0, farads for aReactance < 0.
 
double SMITH_MATH::SeriesInductance (double aReactance, double aFreq)
 
double SMITH_MATH::SeriesCapacitance (double aReactance, double aFreq)
 Pan that keeps the gamma point under aPos fixed when the view zooms to aNewZoom.
 
wxRealPoint SMITH_MATH::ZoomAboutPoint (const SMITH_VIEW &aView, const wxPoint &aPos, double aNewZoom)
 S-parameter vectors are named S_<responsePort>_<drivePort>.
 
bool SMITH_MATH::ParseSParamPorts (const wxString &aVectorName, long *aResponsePort, long *aDrivePort)