ComponentPart#
- class pyedb.component_libraries.ansys_components.ComponentPart(name, index, sbin_file)#
Handle component part definition.
Overview#
Export the component S-parameters to a Touchstone |
Return a skrf.network.Network object. |
|
Return the equivalent serial resistor for capacitor only. |
|
Return the capacitor self resonant frequency in Hz. |
|
Return the equivalent serial inductor for capacitor only. |
|
Returns the capacitance value. |
|
Return the inductance value. |
Import detail#
from pyedb.component_libraries.ansys_components import ComponentPart
Property detail#
- property ComponentPart.s_parameters: skrf.network.Network#
Return a skrf.network.Network object.
Attribute detail#
- ComponentPart.name#
- ComponentPart.nb_ports = 2#
- ComponentPart.nb_freq = 0#
- ComponentPart.ref_impedance = 50.0#
- ComponentPart.type = ''#
Method detail#
- ComponentPart.write_touchstone(output_path: str) str#
Export the component S-parameters to a Touchstone
.s2pfile.The binary
sdata.bindata is read on demand and then written to output_path using scikit-rf’s Touchstone writer so the file can be consumed by the existing EDB S-parameter assignment pipeline.- Parameters:
- output_path
str Destination file path. The
.s2pextension is appended automatically when output_path has no suffix.
- output_path
- Returns:
strAbsolute path of the written Touchstone file.
- Raises:
ImportErrorIf
scikit-rfis not installed.
Examples
part = lib.capacitors[“Murata”][“GRM15”][“GRM155R71C104KA88”] path = part.write_touchstone(“/tmp/GRM155R71C104KA88.s2p”)