get_fresnel_floquet_ports#

Hfss.get_fresnel_floquet_ports() list[str]#

Identify and validate Floquet ports from excitation names.

This method extracts port and mode information from the excitation names, checks that each port has exactly two modes, and identifies the top and bottom ports based on their bounding box Z-coordinate. The function supports only two Floquet ports. If more than two ports are defined or the mode conditions are not met, appropriate errors are logged.

Returns:
list of str

A list containing the names of the top and bottom Floquet ports, ordered by their Z-coordinate (top port first). If only one port is defined, it returns a list with that single port name.