pyedb 0.38.0__py3-none-any.whl → 0.39.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pyedb might be problematic. Click here for more details.
- pyedb/__init__.py +1 -1
- pyedb/common/nets.py +53 -139
- pyedb/configuration/cfg_components.py +1 -1
- pyedb/configuration/cfg_general.py +4 -2
- pyedb/configuration/cfg_modeler.py +1 -1
- pyedb/configuration/cfg_package_definition.py +1 -1
- pyedb/configuration/cfg_padstacks.py +1 -1
- pyedb/configuration/cfg_ports_sources.py +56 -23
- pyedb/configuration/configuration.py +18 -1
- pyedb/dotnet/{application → database}/Variables.py +21 -21
- pyedb/dotnet/{edb_core → database}/cell/connectable.py +5 -5
- pyedb/dotnet/{edb_core → database}/cell/hierarchy/component.py +11 -11
- pyedb/dotnet/{edb_core → database}/cell/hierarchy/hierarchy_obj.py +1 -1
- pyedb/dotnet/{edb_core → database}/cell/hierarchy/model.py +1 -1
- pyedb/dotnet/{edb_core → database}/cell/layout.py +17 -17
- pyedb/dotnet/{edb_core → database}/cell/layout_obj.py +3 -3
- pyedb/dotnet/{edb_core → database}/cell/primitive/bondwire.py +1 -1
- pyedb/dotnet/{edb_core → database}/cell/primitive/path.py +4 -4
- pyedb/dotnet/{edb_core → database}/cell/primitive/primitive.py +14 -14
- pyedb/dotnet/{edb_core → database}/cell/terminal/bundle_terminal.py +2 -2
- pyedb/dotnet/{edb_core → database}/cell/terminal/edge_terminal.py +4 -4
- pyedb/dotnet/{edb_core → database}/cell/terminal/padstack_instance_terminal.py +2 -2
- pyedb/dotnet/{edb_core → database}/cell/terminal/pingroup_terminal.py +2 -2
- pyedb/dotnet/{edb_core → database}/cell/terminal/point_terminal.py +2 -2
- pyedb/dotnet/{edb_core → database}/cell/terminal/terminal.py +11 -11
- pyedb/dotnet/{edb_core → database}/cell/voltage_regulator.py +2 -2
- pyedb/dotnet/{edb_core → database}/components.py +101 -124
- pyedb/dotnet/{edb_core → database}/definition/component_def.py +5 -5
- pyedb/dotnet/{edb_core → database}/definition/component_model.py +1 -1
- pyedb/dotnet/{edb_core → database}/definition/definition_obj.py +1 -1
- pyedb/dotnet/{edb_core → database}/definition/definitions.py +2 -2
- pyedb/dotnet/{edb_core → database}/definition/package_def.py +4 -4
- pyedb/dotnet/{edb_core → database}/dotnet/database.py +8 -8
- pyedb/dotnet/{edb_core → database}/dotnet/primitive.py +9 -9
- pyedb/dotnet/{edb_core → database}/edb_data/control_file.py +12 -12
- pyedb/dotnet/{edb_core → database}/edb_data/hfss_extent_info.py +7 -7
- pyedb/dotnet/{edb_core → database}/edb_data/nets_data.py +10 -13
- pyedb/dotnet/{edb_core → database}/edb_data/padstacks_data.py +16 -16
- pyedb/dotnet/{edb_core → database}/edb_data/ports.py +4 -4
- pyedb/dotnet/{edb_core → database}/edb_data/primitives_data.py +5 -5
- pyedb/dotnet/{edb_core → database}/edb_data/raptor_x_simulation_setup_data.py +4 -4
- pyedb/dotnet/{edb_core → database}/edb_data/simulation_configuration.py +10 -10
- pyedb/dotnet/{edb_core → database}/edb_data/sources.py +4 -4
- pyedb/dotnet/{edb_core → database}/edb_data/variables.py +1 -1
- pyedb/dotnet/{edb_core → database}/geometry/polygon_data.py +4 -4
- pyedb/dotnet/{edb_core → database}/hfss.py +8 -8
- pyedb/dotnet/{edb_core → database}/layout_obj_instance.py +1 -1
- pyedb/dotnet/{edb_core → database}/layout_validation.py +2 -2
- pyedb/dotnet/{edb_core → database}/materials.py +23 -8
- pyedb/dotnet/{edb_core → database}/modeler.py +27 -27
- pyedb/dotnet/{edb_core → database}/net_class.py +8 -8
- pyedb/dotnet/{edb_core → database}/nets.py +12 -12
- pyedb/dotnet/{edb_core → database}/padstack.py +15 -15
- pyedb/dotnet/{edb_core → database}/sim_setup_data/data/mesh_operation.py +1 -1
- pyedb/dotnet/{edb_core → database}/sim_setup_data/data/settings.py +3 -3
- pyedb/dotnet/{edb_core → database}/sim_setup_data/data/sim_setup_info.py +2 -2
- pyedb/dotnet/{edb_core → database}/sim_setup_data/data/simulation_settings.py +1 -1
- pyedb/dotnet/{edb_core → database}/sim_setup_data/data/siw_dc_ir_settings.py +1 -1
- pyedb/dotnet/{edb_core → database}/sim_setup_data/data/sweep_data.py +1 -1
- pyedb/dotnet/{edb_core → database}/siwave.py +10 -10
- pyedb/dotnet/{edb_core → database}/stackup.py +12 -12
- pyedb/dotnet/{edb_core → database}/utilities/hfss_simulation_setup.py +15 -15
- pyedb/dotnet/{edb_core → database}/utilities/obj_base.py +1 -1
- pyedb/dotnet/{edb_core → database}/utilities/simulation_setup.py +3 -3
- pyedb/dotnet/{edb_core → database}/utilities/siwave_simulation_setup.py +6 -6
- pyedb/dotnet/edb.py +117 -112
- pyedb/generic/design_types.py +26 -19
- pyedb/generic/general_methods.py +1 -1
- pyedb/generic/plot.py +0 -2
- pyedb/grpc/database/__init__.py +1 -0
- pyedb/grpc/database/components.py +2354 -0
- pyedb/grpc/database/control_file.py +1277 -0
- pyedb/grpc/database/definition/component_def.py +218 -0
- pyedb/grpc/database/definition/component_model.py +39 -0
- pyedb/grpc/database/definition/component_pin.py +32 -0
- pyedb/grpc/database/definition/materials.py +1207 -0
- pyedb/grpc/database/definition/n_port_component_model.py +34 -0
- pyedb/grpc/database/definition/package_def.py +227 -0
- pyedb/grpc/database/definition/padstack_def.py +842 -0
- pyedb/grpc/database/definitions.py +70 -0
- pyedb/grpc/database/general.py +43 -0
- pyedb/grpc/database/geometry/__init__.py +0 -0
- pyedb/grpc/database/geometry/arc_data.py +93 -0
- pyedb/grpc/database/geometry/point_3d_data.py +79 -0
- pyedb/grpc/database/geometry/point_data.py +30 -0
- pyedb/grpc/database/geometry/polygon_data.py +133 -0
- pyedb/grpc/database/hfss.py +1279 -0
- pyedb/grpc/database/hierarchy/__init__.py +0 -0
- pyedb/grpc/database/hierarchy/component.py +1301 -0
- pyedb/grpc/database/hierarchy/model.py +31 -0
- pyedb/grpc/database/hierarchy/netlist_model.py +30 -0
- pyedb/grpc/database/hierarchy/pin_pair_model.py +128 -0
- pyedb/grpc/database/hierarchy/pingroup.py +245 -0
- pyedb/grpc/database/hierarchy/s_parameter_model.py +33 -0
- pyedb/grpc/database/hierarchy/spice_model.py +48 -0
- pyedb/grpc/database/layers/__init__.py +0 -0
- pyedb/grpc/database/layers/layer.py +57 -0
- pyedb/grpc/database/layers/stackup_layer.py +410 -0
- pyedb/grpc/database/layout/__init__.py +0 -0
- pyedb/grpc/database/layout/cell.py +30 -0
- pyedb/grpc/database/layout/layout.py +196 -0
- pyedb/grpc/database/layout/voltage_regulator.py +149 -0
- pyedb/grpc/database/layout_validation.py +319 -0
- pyedb/grpc/database/modeler.py +1468 -0
- pyedb/grpc/database/net/__init__.py +0 -0
- pyedb/grpc/database/net/differential_pair.py +138 -0
- pyedb/grpc/database/net/extended_net.py +340 -0
- pyedb/grpc/database/net/net.py +198 -0
- pyedb/grpc/database/net/net_class.py +93 -0
- pyedb/grpc/database/nets.py +633 -0
- pyedb/grpc/database/padstacks.py +1500 -0
- pyedb/grpc/database/ports/__init__.py +0 -0
- pyedb/grpc/database/ports/ports.py +396 -0
- pyedb/grpc/database/primitive/__init__.py +3 -0
- pyedb/grpc/database/primitive/bondwire.py +181 -0
- pyedb/grpc/database/primitive/circle.py +75 -0
- pyedb/grpc/database/primitive/padstack_instance.py +1116 -0
- pyedb/grpc/database/primitive/path.py +346 -0
- pyedb/grpc/database/primitive/polygon.py +276 -0
- pyedb/grpc/database/primitive/primitive.py +739 -0
- pyedb/grpc/database/primitive/rectangle.py +146 -0
- pyedb/grpc/database/simulation_setup/__init__.py +0 -0
- pyedb/grpc/database/simulation_setup/adaptive_frequency.py +33 -0
- pyedb/grpc/database/simulation_setup/hfss_advanced_meshing_settings.py +32 -0
- pyedb/grpc/database/simulation_setup/hfss_advanced_settings.py +59 -0
- pyedb/grpc/database/simulation_setup/hfss_dcr_settings.py +35 -0
- pyedb/grpc/database/simulation_setup/hfss_general_settings.py +61 -0
- pyedb/grpc/database/simulation_setup/hfss_settings_options.py +78 -0
- pyedb/grpc/database/simulation_setup/hfss_simulation_settings.py +118 -0
- pyedb/grpc/database/simulation_setup/hfss_simulation_setup.py +355 -0
- pyedb/grpc/database/simulation_setup/hfss_solver_settings.py +34 -0
- pyedb/grpc/database/simulation_setup/mesh_operation.py +34 -0
- pyedb/grpc/database/simulation_setup/raptor_x_advanced_settings.py +34 -0
- pyedb/grpc/database/simulation_setup/raptor_x_general_settings.py +33 -0
- pyedb/grpc/database/simulation_setup/raptor_x_simulation_settings.py +64 -0
- pyedb/grpc/database/simulation_setup/raptor_x_simulation_setup.py +125 -0
- pyedb/grpc/database/simulation_setup/siwave_dcir_simulation_setup.py +34 -0
- pyedb/grpc/database/simulation_setup/siwave_simulation_setup.py +119 -0
- pyedb/grpc/database/simulation_setup/sweep_data.py +32 -0
- pyedb/grpc/database/siwave.py +1023 -0
- pyedb/grpc/database/source_excitations.py +2572 -0
- pyedb/grpc/database/stackup.py +2574 -0
- pyedb/grpc/database/terminal/__init__.py +0 -0
- pyedb/grpc/database/terminal/bundle_terminal.py +218 -0
- pyedb/grpc/database/terminal/edge_terminal.py +51 -0
- pyedb/grpc/database/terminal/padstack_instance_terminal.py +171 -0
- pyedb/grpc/database/terminal/pingroup_terminal.py +162 -0
- pyedb/grpc/database/terminal/point_terminal.py +99 -0
- pyedb/grpc/database/terminal/terminal.py +470 -0
- pyedb/grpc/database/utility/__init__.py +3 -0
- pyedb/grpc/database/utility/constants.py +25 -0
- pyedb/grpc/database/utility/heat_sink.py +124 -0
- pyedb/grpc/database/utility/hfss_extent_info.py +448 -0
- pyedb/grpc/database/utility/layout_statistics.py +277 -0
- pyedb/grpc/database/utility/rlc.py +80 -0
- pyedb/grpc/database/utility/simulation_configuration.py +3305 -0
- pyedb/grpc/database/utility/sources.py +388 -0
- pyedb/grpc/database/utility/sweep_data_distribution.py +83 -0
- pyedb/grpc/database/utility/xml_control_file.py +1277 -0
- pyedb/grpc/edb.py +4152 -0
- pyedb/grpc/edb_init.py +481 -0
- pyedb/grpc/rpc_session.py +177 -0
- pyedb/ipc2581/ecad/cad_data/assembly_drawing.py +3 -2
- pyedb/ipc2581/ecad/cad_data/feature.py +4 -3
- pyedb/ipc2581/ecad/cad_data/layer_feature.py +32 -20
- pyedb/ipc2581/ecad/cad_data/outline.py +3 -2
- pyedb/ipc2581/ecad/cad_data/package.py +4 -3
- pyedb/ipc2581/ecad/cad_data/path.py +82 -31
- pyedb/ipc2581/ecad/cad_data/polygon.py +122 -60
- pyedb/ipc2581/ecad/cad_data/profile.py +13 -12
- pyedb/ipc2581/ecad/cad_data/step.py +53 -21
- pyedb/ipc2581/ipc2581.py +47 -49
- pyedb/modeler/geometry_operators.py +1 -1
- {pyedb-0.38.0.dist-info → pyedb-0.39.1.dist-info}/METADATA +5 -2
- pyedb-0.39.1.dist-info/RECORD +288 -0
- pyedb-0.38.0.dist-info/RECORD +0 -195
- /pyedb/dotnet/{edb_core → database}/__init__.py +0 -0
- /pyedb/dotnet/{application → database/cell}/__init__.py +0 -0
- /pyedb/dotnet/{edb_core/cell → database/cell/hierarchy}/__init__.py +0 -0
- /pyedb/dotnet/{edb_core → database}/cell/hierarchy/netlist_model.py +0 -0
- /pyedb/dotnet/{edb_core → database}/cell/hierarchy/pin_pair_model.py +0 -0
- /pyedb/dotnet/{edb_core → database}/cell/hierarchy/s_parameter_model.py +0 -0
- /pyedb/dotnet/{edb_core → database}/cell/hierarchy/spice_model.py +0 -0
- /pyedb/dotnet/{edb_core → database}/cell/primitive/__init__.py +0 -0
- /pyedb/dotnet/{edb_core/cell/hierarchy → database/cell/terminal}/__init__.py +0 -0
- /pyedb/dotnet/{edb_core/cell/terminal → database/definition}/__init__.py +0 -0
- /pyedb/dotnet/{edb_core/definition → database/dotnet}/__init__.py +0 -0
- /pyedb/dotnet/{edb_core/dotnet → database/edb_data}/__init__.py +0 -0
- /pyedb/dotnet/{edb_core → database}/edb_data/design_options.py +0 -0
- /pyedb/dotnet/{edb_core → database}/edb_data/edbvalue.py +0 -0
- /pyedb/dotnet/{edb_core → database}/edb_data/layer_data.py +0 -0
- /pyedb/dotnet/{edb_core → database}/edb_data/utilities.py +0 -0
- /pyedb/dotnet/{edb_core → database}/general.py +0 -0
- /pyedb/dotnet/{edb_core/edb_data → database/geometry}/__init__.py +0 -0
- /pyedb/dotnet/{edb_core → database}/geometry/point_data.py +0 -0
- /pyedb/dotnet/{edb_core → database}/sim_setup_data/__init__.py +0 -0
- /pyedb/dotnet/{edb_core → database}/sim_setup_data/data/__init__.py +0 -0
- /pyedb/dotnet/{edb_core → database}/sim_setup_data/data/adaptive_frequency_data.py +0 -0
- /pyedb/dotnet/{edb_core/geometry → database/sim_setup_data/io}/__init__.py +0 -0
- /pyedb/dotnet/{edb_core → database}/sim_setup_data/io/siwave.py +0 -0
- /pyedb/dotnet/{edb_core → database}/utilities/__init__.py +0 -0
- /pyedb/dotnet/{edb_core → database}/utilities/heatsink.py +0 -0
- /pyedb/{dotnet/edb_core/sim_setup_data/io → grpc/database/definition}/__init__.py +0 -0
- {pyedb-0.38.0.dist-info → pyedb-0.39.1.dist-info}/LICENSE +0 -0
- {pyedb-0.38.0.dist-info → pyedb-0.39.1.dist-info}/WHEEL +0 -0
|
@@ -27,19 +27,19 @@ This module contains these classes: ``CircuitPort``, ``CurrentSource``, ``EdbSiw
|
|
|
27
27
|
import os
|
|
28
28
|
import time
|
|
29
29
|
|
|
30
|
-
from pyedb.dotnet.
|
|
31
|
-
from pyedb.dotnet.
|
|
30
|
+
from pyedb.dotnet.database.edb_data.padstacks_data import EDBPadstackInstance
|
|
31
|
+
from pyedb.dotnet.database.edb_data.simulation_configuration import (
|
|
32
32
|
SimulationConfiguration,
|
|
33
33
|
SourceType,
|
|
34
34
|
)
|
|
35
|
-
from pyedb.dotnet.
|
|
35
|
+
from pyedb.dotnet.database.edb_data.sources import (
|
|
36
36
|
CircuitPort,
|
|
37
37
|
CurrentSource,
|
|
38
38
|
DCTerminal,
|
|
39
39
|
ResistorSource,
|
|
40
40
|
VoltageSource,
|
|
41
41
|
)
|
|
42
|
-
from pyedb.dotnet.
|
|
42
|
+
from pyedb.dotnet.database.general import convert_py_list_to_net_list
|
|
43
43
|
from pyedb.generic.constants import SolverType, SweepType
|
|
44
44
|
from pyedb.generic.general_methods import _retry_ntimes, generate_unique_name
|
|
45
45
|
from pyedb.misc.siw_feature_config.xtalk_scan.scan_config import SiwaveScanConfig
|
|
@@ -846,7 +846,7 @@ class EdbSiwave(object):
|
|
|
846
846
|
|
|
847
847
|
Returns
|
|
848
848
|
-------
|
|
849
|
-
:class:`pyedb.dotnet.
|
|
849
|
+
:class:`pyedb.dotnet.database.edb_data.siwave_simulation_setup_data.SiwaveSYZSimulationSetup`
|
|
850
850
|
Setup object class.
|
|
851
851
|
"""
|
|
852
852
|
setup = self._pedb.create_siwave_syz_setup()
|
|
@@ -888,7 +888,7 @@ class EdbSiwave(object):
|
|
|
888
888
|
|
|
889
889
|
Returns
|
|
890
890
|
-------
|
|
891
|
-
:class:`pyedb.dotnet.
|
|
891
|
+
:class:`pyedb.dotnet.database.edb_data.siwave_simulation_setup_data.SiwaveDCSimulationSetup`
|
|
892
892
|
Setup object class.
|
|
893
893
|
|
|
894
894
|
Examples
|
|
@@ -1200,7 +1200,7 @@ class EdbSiwave(object):
|
|
|
1200
1200
|
|
|
1201
1201
|
Returns
|
|
1202
1202
|
-------
|
|
1203
|
-
class:`pyedb.dotnet.
|
|
1203
|
+
class:`pyedb.dotnet.database.components.Components`
|
|
1204
1204
|
Created EDB component.
|
|
1205
1205
|
|
|
1206
1206
|
"""
|
|
@@ -1453,16 +1453,16 @@ class EdbSiwave(object):
|
|
|
1453
1453
|
Set the voltage regulator active or not. Default value is ``True``.
|
|
1454
1454
|
voltage ; str, float
|
|
1455
1455
|
Set the voltage value.
|
|
1456
|
-
positive_sensor_pin : int, .class pyedb.dotnet.
|
|
1456
|
+
positive_sensor_pin : int, .class pyedb.dotnet.database.edb_data.padstacks_data.EDBPadstackInstance
|
|
1457
1457
|
defining the positive sensor pin.
|
|
1458
|
-
negative_sensor_pin : int, .class pyedb.dotnet.
|
|
1458
|
+
negative_sensor_pin : int, .class pyedb.dotnet.database.edb_data.padstacks_data.EDBPadstackInstance
|
|
1459
1459
|
defining the negative sensor pin.
|
|
1460
1460
|
load_regulation_current : str or float
|
|
1461
1461
|
definition the load regulation current value.
|
|
1462
1462
|
load_regulation_percent : float
|
|
1463
1463
|
definition the load regulation percent value.
|
|
1464
1464
|
"""
|
|
1465
|
-
from pyedb.dotnet.
|
|
1465
|
+
from pyedb.dotnet.database.cell.voltage_regulator import VoltageRegulator
|
|
1466
1466
|
|
|
1467
1467
|
voltage = self._pedb.edb_value(voltage)
|
|
1468
1468
|
load_regulation_current = self._pedb.edb_value(load_regulation_current)
|
|
@@ -33,12 +33,12 @@ import logging
|
|
|
33
33
|
import math
|
|
34
34
|
import warnings
|
|
35
35
|
|
|
36
|
-
from pyedb.dotnet.
|
|
36
|
+
from pyedb.dotnet.database.edb_data.layer_data import (
|
|
37
37
|
LayerEdbClass,
|
|
38
38
|
StackupLayerEdbClass,
|
|
39
39
|
layer_cast,
|
|
40
40
|
)
|
|
41
|
-
from pyedb.dotnet.
|
|
41
|
+
from pyedb.dotnet.database.general import convert_py_list_to_net_list
|
|
42
42
|
from pyedb.generic.general_methods import ET, generate_unique_name
|
|
43
43
|
from pyedb.misc.aedtlib_personalib_install import write_pretty_xml
|
|
44
44
|
|
|
@@ -300,7 +300,7 @@ class LayerCollection(object):
|
|
|
300
300
|
|
|
301
301
|
Returns
|
|
302
302
|
-------
|
|
303
|
-
Dict[str, :class:`pyedb.dotnet.
|
|
303
|
+
Dict[str, :class:`pyedb.dotnet.database.edb_data.layer_data.LayerEdbClass`]
|
|
304
304
|
"""
|
|
305
305
|
return {name: obj for name, obj in self.all_layers.items() if obj.is_stackup_layer}
|
|
306
306
|
|
|
@@ -636,7 +636,7 @@ class Stackup(LayerCollection):
|
|
|
636
636
|
|
|
637
637
|
Returns
|
|
638
638
|
-------
|
|
639
|
-
Dict[str, :class:`pyedb.dotnet.
|
|
639
|
+
Dict[str, :class:`pyedb.dotnet.database.edb_data.layer_data.LayerEdbClass`]
|
|
640
640
|
"""
|
|
641
641
|
layer_type = self._pedb.edb_api.cell.layer_type.SignalLayer
|
|
642
642
|
_lays = OrderedDict()
|
|
@@ -651,7 +651,7 @@ class Stackup(LayerCollection):
|
|
|
651
651
|
|
|
652
652
|
Returns
|
|
653
653
|
-------
|
|
654
|
-
dict[str, :class:`dotnet.
|
|
654
|
+
dict[str, :class:`dotnet.database.edb_data.layer_data.EDBLayer`]
|
|
655
655
|
Dictionary of dielectric layers.
|
|
656
656
|
"""
|
|
657
657
|
layer_type = self._pedb.edb_api.cell.layer_type.DielectricLayer
|
|
@@ -669,7 +669,7 @@ class Stackup(LayerCollection):
|
|
|
669
669
|
|
|
670
670
|
Parameters
|
|
671
671
|
----------
|
|
672
|
-
layer_clone : :class:`dotnet.
|
|
672
|
+
layer_clone : :class:`dotnet.database.EDB_Data.EDBLayer`
|
|
673
673
|
operation : str
|
|
674
674
|
Options are ``"change_attribute"``, ``"change_name"``,``"change_position"``, ``"insert_below"``,
|
|
675
675
|
``"insert_above"``, ``"add_on_top"``, ``"add_on_bottom"``, ``"non_stackup"``, ``"add_at_elevation"``.
|
|
@@ -837,7 +837,7 @@ class Stackup(LayerCollection):
|
|
|
837
837
|
|
|
838
838
|
Returns
|
|
839
839
|
-------
|
|
840
|
-
:class:`pyedb.dotnet.
|
|
840
|
+
:class:`pyedb.dotnet.database.edb_data.layer_data.LayerEdbClass`
|
|
841
841
|
"""
|
|
842
842
|
if layer_name in self.layers:
|
|
843
843
|
logger.error("layer {} exists.".format(layer_name))
|
|
@@ -2236,7 +2236,7 @@ class Stackup(LayerCollection):
|
|
|
2236
2236
|
def _import_xml(self, file_path, rename=False):
|
|
2237
2237
|
"""Read external xml file and convert into json file.
|
|
2238
2238
|
You can use xml file to import layer stackup but using json file is recommended.
|
|
2239
|
-
see :class:`pyedb.dotnet.
|
|
2239
|
+
see :class:`pyedb.dotnet.database.edb_data.simulation_configuration.SimulationConfiguration´ class to
|
|
2240
2240
|
generate files`.
|
|
2241
2241
|
|
|
2242
2242
|
Parameters
|
|
@@ -2417,9 +2417,9 @@ class Stackup(LayerCollection):
|
|
|
2417
2417
|
plot_definitions : str, list, optional
|
|
2418
2418
|
List of padstack definitions to plot on the stackup.
|
|
2419
2419
|
It is supported only for Laminate mode.
|
|
2420
|
-
first_layer : str or :class:`pyedb.dotnet.
|
|
2420
|
+
first_layer : str or :class:`pyedb.dotnet.database.edb_data.layer_data.LayerEdbClass`
|
|
2421
2421
|
First layer to plot from the bottom. Default is `None` to start plotting from bottom.
|
|
2422
|
-
last_layer : str or :class:`pyedb.dotnet.
|
|
2422
|
+
last_layer : str or :class:`pyedb.dotnet.database.edb_data.layer_data.LayerEdbClass`
|
|
2423
2423
|
Last layer to plot from the bottom. Default is `None` to plot up to top layer.
|
|
2424
2424
|
scale_elevation : bool, optional
|
|
2425
2425
|
The real layer thickness is scaled so that max_thickness = 3 * min_thickness.
|
|
@@ -2443,7 +2443,7 @@ class Stackup(LayerCollection):
|
|
|
2443
2443
|
elif isinstance(first_layer, LayerEdbClass):
|
|
2444
2444
|
bottom_layer = first_layer.name
|
|
2445
2445
|
else:
|
|
2446
|
-
raise AttributeError("first_layer must be str or class `dotnet.
|
|
2446
|
+
raise AttributeError("first_layer must be str or class `dotnet.database.edb_data.layer_data.LayerEdbClass`")
|
|
2447
2447
|
if last_layer is None or last_layer not in layer_names:
|
|
2448
2448
|
top_layer = layer_names[0]
|
|
2449
2449
|
elif isinstance(last_layer, str):
|
|
@@ -2451,7 +2451,7 @@ class Stackup(LayerCollection):
|
|
|
2451
2451
|
elif isinstance(last_layer, LayerEdbClass):
|
|
2452
2452
|
top_layer = last_layer.name
|
|
2453
2453
|
else:
|
|
2454
|
-
raise AttributeError("last_layer must be str or class `dotnet.
|
|
2454
|
+
raise AttributeError("last_layer must be str or class `dotnet.database.edb_data.layer_data.LayerEdbClass`")
|
|
2455
2455
|
|
|
2456
2456
|
stackup_mode = self.mode
|
|
2457
2457
|
if stackup_mode not in ["Laminate", "Overlapping"]:
|
|
@@ -21,11 +21,11 @@
|
|
|
21
21
|
# SOFTWARE.
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
from pyedb.dotnet.
|
|
24
|
+
from pyedb.dotnet.database.sim_setup_data.data.mesh_operation import (
|
|
25
25
|
LengthMeshOperation,
|
|
26
26
|
SkinDepthMeshOperation,
|
|
27
27
|
)
|
|
28
|
-
from pyedb.dotnet.
|
|
28
|
+
from pyedb.dotnet.database.sim_setup_data.data.settings import (
|
|
29
29
|
AdaptiveSettings,
|
|
30
30
|
AdvancedMeshSettings,
|
|
31
31
|
CurveApproxSettings,
|
|
@@ -35,8 +35,8 @@ from pyedb.dotnet.edb_core.sim_setup_data.data.settings import (
|
|
|
35
35
|
HfssSolverSettings,
|
|
36
36
|
ViaSettings,
|
|
37
37
|
)
|
|
38
|
-
from pyedb.dotnet.
|
|
39
|
-
from pyedb.dotnet.
|
|
38
|
+
from pyedb.dotnet.database.sim_setup_data.data.sim_setup_info import SimSetupInfo
|
|
39
|
+
from pyedb.dotnet.database.utilities.simulation_setup import SimulationSetup
|
|
40
40
|
from pyedb.generic.general_methods import generate_unique_name
|
|
41
41
|
|
|
42
42
|
|
|
@@ -101,7 +101,7 @@ class HfssSimulationSetup(SimulationSetup):
|
|
|
101
101
|
|
|
102
102
|
Returns
|
|
103
103
|
-------
|
|
104
|
-
:class:`pyedb.dotnet.
|
|
104
|
+
:class:`pyedb.dotnet.database.edb_data.hfss_simulation_setup_data.HfssSolverSettings`
|
|
105
105
|
|
|
106
106
|
"""
|
|
107
107
|
return HfssSolverSettings(self)
|
|
@@ -112,7 +112,7 @@ class HfssSimulationSetup(SimulationSetup):
|
|
|
112
112
|
|
|
113
113
|
Returns
|
|
114
114
|
-------
|
|
115
|
-
:class:`pyedb.dotnet.
|
|
115
|
+
:class:`pyedb.dotnet.database.edb_data.hfss_simulation_setup_data.AdaptiveSettings`
|
|
116
116
|
|
|
117
117
|
"""
|
|
118
118
|
return AdaptiveSettings(self)
|
|
@@ -123,7 +123,7 @@ class HfssSimulationSetup(SimulationSetup):
|
|
|
123
123
|
|
|
124
124
|
Returns
|
|
125
125
|
-------
|
|
126
|
-
:class:`pyedb.dotnet.
|
|
126
|
+
:class:`pyedb.dotnet.database.edb_data.hfss_simulation_setup_data.DefeatureSettings`
|
|
127
127
|
|
|
128
128
|
"""
|
|
129
129
|
return DefeatureSettings(self)
|
|
@@ -134,7 +134,7 @@ class HfssSimulationSetup(SimulationSetup):
|
|
|
134
134
|
|
|
135
135
|
Returns
|
|
136
136
|
-------
|
|
137
|
-
:class:`pyedb.dotnet.
|
|
137
|
+
:class:`pyedb.dotnet.database.edb_data.hfss_simulation_setup_data.ViaSettings`
|
|
138
138
|
|
|
139
139
|
"""
|
|
140
140
|
return ViaSettings(self)
|
|
@@ -145,7 +145,7 @@ class HfssSimulationSetup(SimulationSetup):
|
|
|
145
145
|
|
|
146
146
|
Returns
|
|
147
147
|
-------
|
|
148
|
-
:class:`pyedb.dotnet.
|
|
148
|
+
:class:`pyedb.dotnet.database.edb_data.hfss_simulation_setup_data.AdvancedMeshSettings`
|
|
149
149
|
|
|
150
150
|
"""
|
|
151
151
|
return AdvancedMeshSettings(self)
|
|
@@ -156,7 +156,7 @@ class HfssSimulationSetup(SimulationSetup):
|
|
|
156
156
|
|
|
157
157
|
Returns
|
|
158
158
|
-------
|
|
159
|
-
:class:`pyedb.dotnet.
|
|
159
|
+
:class:`pyedb.dotnet.database.edb_data.hfss_simulation_setup_data.CurveApproxSettings`
|
|
160
160
|
|
|
161
161
|
"""
|
|
162
162
|
return CurveApproxSettings(self)
|
|
@@ -167,7 +167,7 @@ class HfssSimulationSetup(SimulationSetup):
|
|
|
167
167
|
|
|
168
168
|
Returns
|
|
169
169
|
-------
|
|
170
|
-
:class:`pyedb.dotnet.
|
|
170
|
+
:class:`pyedb.dotnet.database.edb_data.hfss_simulation_setup_data.DcrSettings`
|
|
171
171
|
|
|
172
172
|
"""
|
|
173
173
|
return DcrSettings(self)
|
|
@@ -178,7 +178,7 @@ class HfssSimulationSetup(SimulationSetup):
|
|
|
178
178
|
|
|
179
179
|
Returns
|
|
180
180
|
-------
|
|
181
|
-
:class:`pyedb.dotnet.
|
|
181
|
+
:class:`pyedb.dotnet.database.edb_data.hfss_simulation_setup_data.HfssPortSettings`
|
|
182
182
|
|
|
183
183
|
"""
|
|
184
184
|
return HfssPortSettings(self)
|
|
@@ -189,7 +189,7 @@ class HfssSimulationSetup(SimulationSetup):
|
|
|
189
189
|
|
|
190
190
|
Returns
|
|
191
191
|
-------
|
|
192
|
-
List of :class:`dotnet.
|
|
192
|
+
List of :class:`dotnet.database.edb_data.hfss_simulation_setup_data.MeshOperation`
|
|
193
193
|
|
|
194
194
|
"""
|
|
195
195
|
settings = self.sim_setup_info.simulation_settings.MeshOperations
|
|
@@ -238,7 +238,7 @@ class HfssSimulationSetup(SimulationSetup):
|
|
|
238
238
|
|
|
239
239
|
Returns
|
|
240
240
|
-------
|
|
241
|
-
:class:`dotnet.
|
|
241
|
+
:class:`dotnet.database.edb_data.hfss_simulation_setup_data.LengthMeshOperation`
|
|
242
242
|
"""
|
|
243
243
|
if not name:
|
|
244
244
|
name = generate_unique_name("skin")
|
|
@@ -292,7 +292,7 @@ class HfssSimulationSetup(SimulationSetup):
|
|
|
292
292
|
|
|
293
293
|
Returns
|
|
294
294
|
-------
|
|
295
|
-
:class:`dotnet.
|
|
295
|
+
:class:`dotnet.database.edb_data.hfss_simulation_setup_data.LengthMeshOperation`
|
|
296
296
|
"""
|
|
297
297
|
if not name:
|
|
298
298
|
name = generate_unique_name("length")
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
from enum import Enum
|
|
25
25
|
import warnings
|
|
26
26
|
|
|
27
|
-
from pyedb.dotnet.
|
|
28
|
-
from pyedb.dotnet.
|
|
27
|
+
from pyedb.dotnet.database.sim_setup_data.data.sim_setup_info import SimSetupInfo
|
|
28
|
+
from pyedb.dotnet.database.sim_setup_data.data.sweep_data import SweepData
|
|
29
29
|
from pyedb.generic.general_methods import generate_unique_name
|
|
30
30
|
|
|
31
31
|
|
|
@@ -335,7 +335,7 @@ class SimulationSetup(object):
|
|
|
335
335
|
|
|
336
336
|
Returns
|
|
337
337
|
-------
|
|
338
|
-
:class:`pyedb.dotnet.
|
|
338
|
+
:class:`pyedb.dotnet.database.edb_data.simulation_setup_data.EdbFrequencySweep`
|
|
339
339
|
|
|
340
340
|
Examples
|
|
341
341
|
--------
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import warnings
|
|
2
2
|
|
|
3
|
-
from pyedb.dotnet.
|
|
3
|
+
from pyedb.dotnet.database.general import (
|
|
4
4
|
convert_netdict_to_pydict,
|
|
5
5
|
convert_pydict_to_netdict,
|
|
6
6
|
)
|
|
7
|
-
from pyedb.dotnet.
|
|
8
|
-
from pyedb.dotnet.
|
|
7
|
+
from pyedb.dotnet.database.sim_setup_data.data.sim_setup_info import SimSetupInfo
|
|
8
|
+
from pyedb.dotnet.database.sim_setup_data.data.siw_dc_ir_settings import (
|
|
9
9
|
SiwaveDCIRSettings,
|
|
10
10
|
)
|
|
11
|
-
from pyedb.dotnet.
|
|
11
|
+
from pyedb.dotnet.database.sim_setup_data.io.siwave import (
|
|
12
12
|
AdvancedSettings,
|
|
13
13
|
DCAdvancedSettings,
|
|
14
14
|
DCSettings,
|
|
15
15
|
)
|
|
16
|
-
from pyedb.dotnet.
|
|
16
|
+
from pyedb.dotnet.database.utilities.simulation_setup import SimulationSetup
|
|
17
17
|
from pyedb.generic.general_methods import is_linux
|
|
18
18
|
|
|
19
19
|
|
|
@@ -335,7 +335,7 @@ class SiwaveDCSimulationSetup(SimulationSetup):
|
|
|
335
335
|
|
|
336
336
|
Returns
|
|
337
337
|
-------
|
|
338
|
-
:class:`pyedb.dotnet.
|
|
338
|
+
:class:`pyedb.dotnet.database.edb_data.siwave_simulation_setup_data.SiwaveDCAdvancedSettings`
|
|
339
339
|
"""
|
|
340
340
|
return DCAdvancedSettings(self)
|
|
341
341
|
|