create_scattering#
- Hfss.create_scattering(plot='S Parameter Plot Nominal', sweep=None, ports=None, ports_excited=None, variations=None)[source]#
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
list
orstr
,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
True
when successful,False
when 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