CustomSmithTraceQuantity

The custom data Smith trace quantity properties.

Example

app = pf.GetApplication()
app:NewProject()
app:OpenFile(FEKO_HOME..[[/shared/Resources/Automation/CustomDataSession.pfs]])

    -- Retrieve the custom math script and plot it on a Smith chart
    
customData = app.MathScripts["CustomMath1"]
graph = app.SmithCharts:Add()
customDataTrace = graph.Traces:Add(customData)

    -- SetProperties the trace quantities
    
customDataTrace.Quantity.ReferenceImpedance = 100
customDataTrace.Quantity.PhaseAdditionEnabled = true
customDataTrace.Quantity.Phase = 30

Usage locations (object properties)

The following objects have properties using the CustomSmithTraceQuantity object:

Property List

Phase
The phase to be added to the trace. The value is in degrees [-360,360]. (Read/Write number)
PhaseAdditionEnabled
Enable phase addition for the trace. (Read/Write boolean)
ReferenceImpedance
The reference impedance value in ohm to use. (Read/Write number)
Type
The type of quantity to be plotted. (Read/Write string)

Property Details

Phase
The phase to be added to the trace. The value is in degrees [-360,360].
Type
number
Access
Read/Write
PhaseAdditionEnabled
Enable phase addition for the trace.
Type
boolean
Access
Read/Write
ReferenceImpedance
The reference impedance value in ohm to use.
Type
number
Access
Read/Write
Type
The type of quantity to be plotted.
Type
string
Access
Read/Write