get_all_insertion_loss_list#
- Hfss.get_all_insertion_loss_list(drivers: list | None = None, receivers: list | None = None, drivers_prefix_name: str = '', receivers_prefix_name: str = '', math_formula: str = '', nets: list | None = None) list[str]#
Get a list of all insertion losses from two lists of excitations (driver and receiver).
- Parameters:
- drivers
list,optional List of drivers. The default is
[]. For example,["1"].- receivers
list,optional List of receivers. The default is
[]. The number of drivers equals the number of receivers. For example,["2"].- drivers_prefix_name
str,optional Prefix to add to driver names. For example,
"DIE". The default is"".- receivers_prefix_name
str,optional Prefix to add to receiver names. For example,
"BGA". The default is"".- math_formula
str,optional One of the available AEDT mathematical formulas to apply. For example,
abs, dB.- nets
list,optional List of nets to filter the output. The default is
None, in which case all parameters are returned.
- drivers
- Returns:
References
>>> oEditor.GetAllPorts
Examples
>>> # Example 1: Get insertion loss between specific driver and receiver pairs >>> hfss.get_all_insertion_loss_list( ... drivers=["Port1_TX", "Port2_TX", "Port3_TX"], ... receivers=["Port1_RX", "Port2_RX", "Port3_RX"], ... math_formula="dB", ... ) ['dB(S(Port1_TX,Port1_RX))', 'dB(S(Port2_TX,Port2_RX))', 'dB(S(Port3_TX,Port3_RX))']
>>> # Example 2: Get insertion loss using prefix filtering >>> hfss.get_all_insertion_loss_list(drivers_prefix_name="DIE", receivers_prefix_name="BGA") ['S(DIE_Port1,BGA_Port1)', 'S(DIE_Port2,BGA_Port2)']