create_scattering#
- Hfss.create_scattering(plot: str | None = 'S Parameter Plot Nominal', sweep: str | None = None, ports: list | None = None, ports_excited: list | None = None, variations: str | None = None) bool#
Create an S-parameter report.
- Parameters:
- plot
str,optional Name of the plot. The default is
"S Parameter Plot Nominal".- sweep
str,optional Name of the sweep. The default is
None.- ports
list,optional List of port names. The first index, i, in S[i,j]. The default is
None.- ports_excited
listorstr,optional List of port names. The seconds index, j in S[i,j]. The default is
None.- variations
str,optional The default is
None.
- plot
- Returns:
- bool
Truewhen successful,Falsewhen failed.
References
>>> oModule.CreateReport
Examples
Create an S-parameter plot named
"S Parameter Plot Nominal"for a 3-port network. plotting S11, S21, S31. The port names areP1,P2, andP3.>>> hfss.create_scattering(ports=["P1", "P2", "P3"], ports_excited=["P1", "P1", "P1"]) True