Adding Far Field Traces

Add a far field trace by searching and navigating the documentation. Customize the trace quantities and font sizes.

1. 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.
2. Look in the POSTFEKO GUI.
Note: The result palette displays an empty panel with the heading Traces.
3. 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.
4. Double-click Traces (collection).
The Choose Topic dialog is displayed.
5. Double-click CartesianGraph.
Note: Traces are added to the ResultTraceCollection.
6. View the CartesianGraph object.
7. Click the ResultTraceCollection hyperlink to obtain more information regarding the ResultTraceCollection.
Note: You will use the :Add(result) method in the automation script.
8. 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])
9. 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.
10. Look for “quantity” in the integrated help. Double-click Quantity (property).
This gives a number of topics.
11. Select the FarFieldTrace topic.
The property list for the FarFieldTrace (object) contains the .Quantity property.
12. Click the FarFieldQuantity hyperlink.
The property list shows the Boolean property .ValuesScaledToDB.
13. Set the far field to dB by using the following syntax.
my_farfield_trace.Quantity.ValuesScaledToDB = true
14. 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"
15. 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")