Adding Far Field Traces
Add a far field trace by searching and navigating the documentation. Customize the trace quantities and font sizes.
-
Search for FarField in the integrated help.
The results returned in response to the FarField query includes FarField (object).Tip: If there are too many matches in the integrated help we can find more clues by looking in POSTFEKO itself.
-
Look in the POSTFEKO GUI.
Note: The result palette displays an empty panel with the heading Traces.
-
Look for Traces in the integrated help.
The results returned in response to the Traces query includes Traces (collection).Note: Since there can be multiple traces in a project, a trace is part of a collection.
-
Double-click Traces (collection).
The Choose Topic dialog is displayed.
-
Double-click CartesianGraph.
Note: Traces are added to the ResultTraceCollection.
- View the CartesianGraph object.
-
Click the ResultTraceCollection hyperlink to obtain more
information regarding the ResultTraceCollection.
Note: You will use the :Add(result) method in the automation script.
-
Click FarField on the Home tab in
the POSTFEKO GUI.
Note: You can load more than one model into POSTFEKO. In addition every model can have more than one configuration, far field request and graph. You must specify the model file, configuration, farfield and graph.Use the following syntax to add the trace to the graph.
my_farfield_trace = my_graph.Traces:Add(app.Models[1].Configurations[1].FarFields[1])
-
To change to dB, look in the POSTFEKO GUI
on the result palette.
Note: The dB check box resides under a group named Quantity. This provides a clue what to look for in the documentation.Note: It is also possible to search for “dB” in the documentation although this search would yield multiple topics.
-
Look for “quantity” in the integrated help. Double-click Quantity
(property).
This gives a number of topics.
-
Select the FarFieldTrace topic.
The property list for the FarFieldTrace (object) contains the .Quantity property.
-
Click the FarFieldQuantity hyperlink.
The property list shows the Boolean property .ValuesScaledToDB.
-
Set the far field to dB by using the following syntax.
my_farfield_trace.Quantity.ValuesScaledToDB = true
-
To change the Independent axis to
phi, Look for “axis” in the integrated help.
Select the FarFieldTrace topic.
Use the IndepentAxis property for the FarFieldTrace (object) which requires a string input.
my_farfield_trace.IndependentAxis = "phi"
-
To change the far field's Fixed axis to 30 degrees, look
for fixed in the integrated help. Select the FixedAxes
(property) topic.
Several traces have this property, therefore select the FarFieldTrace topic.Use the :SetFixedAxisValue(axis, value, unit)method under the Method list.
my_farfield_trace:SetFixedAxisValue("theta",30,"deg")