TraceSamplingFormat

The trace sampling format property.

Example

app = pf.GetApplication()
app:NewProject()
app:OpenFile(FEKO_HOME..[[/shared/Resources/Automation/helix_6_2_PBC_1x1_ContinuousFarField.fek]])
farFieldData = app.Models[1].Configurations[1].FarFields[1]
cartesianGraph = app.CartesianGraphs:Add()
trace = cartesianGraph.Traces:Add(farFieldData)

    -- Set 'TraceSamplingFormat' properties

trace.Sampling.Method = pf.Enums.SamplingMethodEnum.SpecifiedSamples
trace.Sampling.Resolution = 50

Usage locations (object properties)

The following objects have properties using the TraceSamplingFormat object:

Property List

Method
The method for determining where sample points of the trace are calculated, specified by the SamplingMethodEnum, e.g. Auto, DiscretePoints, SpecifiedResolution. (Read/Write SamplingMethodEnum)
Resolution
The number of samples to use when SamplingMethod is SpecifiedResolution. (Read/Write number)

Property Details

Method
The method for determining where sample points of the trace are calculated, specified by the SamplingMethodEnum, e.g. Auto, DiscretePoints, SpecifiedResolution.
Type
SamplingMethodEnum
Access
Read/Write
Resolution
The number of samples to use when SamplingMethod is SpecifiedResolution.
Type
number
Access
Read/Write