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
The TraceSamplingFormat object can be accessed from the following locations:
- Properties
- CharacteristicModeTrace object has property Sampling.
- CustomDataSmithTrace object has property Sampling.
- CustomDataTrace object has property Sampling.
- MathTrace object has property Sampling.
- SpiceProbeTrace object has property Sampling.
- FarFieldPowerIntegralTrace object has property Sampling.
- NearFieldPowerIntegralTrace object has property Sampling.
- TRCoefficientTrace object has property Sampling.
- LoadSmithTrace object has property Sampling.
- ExcitationSmithTrace object has property Sampling.
- SARTrace object has property Sampling.
- WireCurrentsTrace object has property Sampling.
- SParameterTrace object has property Sampling.
- PowerTrace object has property Sampling.
- LoadTrace object has property Sampling.
- ExcitationTrace object has property Sampling.
- FarFieldTrace object has property Sampling.
- NearFieldTrace object has property Sampling.
- ReceivingAntennaTrace object has property Sampling.
- NetworkTrace object has property Sampling.
- ResultTrace object has property Sampling.
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