get_mutual_coupling#
- Q3d.get_mutual_coupling(source1, sink1, source2, sink2, calculation='ACL', setup_sweep_name=None, variations=None)#
Get mutual coupling between two terminals.
User has to provide the pair, source and sink of each terminal. If the provided sinks are not part of the original matrix, a new matrix will be created.
- Parameters:
- source1
str First element source.
- sink1
str First element sink.
- source2
str Second element source.
- sink2
str Second element sink.
- calculation
str,optional Calculation type. Available options are:
"ACL","ACR","DCL","DCR". The default is"ACL".- setup_sweep_name
str,optional Name of the setup. The default is
None, in which case thenominal_adaptivesetup is used. Be sure to build a setup string in the form of"SetupName : SetupSweep", whereSetupSweepis the sweep name to use in the export orLastAdaptive.- variations
dict,optional Dictionary of all families including the primary sweep. The default is
Nonewhich uses all variations of the setup.
- source1
- Returns:
pyaedt.modules.solutions.SolutionDataor boolSolution Data object if successful,
Falseotherwise.
Examples
>>> from pyaedt import Q3d >>> aedtapp = Q3d() >>> data = aedtapp.modeler.get_mutual_coupling("a1", "a2", "b1", "b2", calculation="DCL")