pyedb 0.50.0__py3-none-any.whl → 0.51.2__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/configuration/cfg_ports_sources.py +79 -239
- pyedb/configuration/configuration.py +27 -0
- pyedb/dotnet/clr_module.py +9 -3
- pyedb/dotnet/database/cell/hierarchy/component.py +3 -3
- pyedb/dotnet/database/cell/layout.py +10 -1
- pyedb/dotnet/database/dotnet/database.py +0 -2
- pyedb/dotnet/database/edb_data/padstacks_data.py +13 -0
- pyedb/dotnet/database/layout_validation.py +17 -13
- pyedb/dotnet/database/modeler.py +0 -1
- pyedb/dotnet/edb.py +7 -1
- pyedb/generic/design_types.py +183 -62
- pyedb/grpc/database/components.py +604 -652
- pyedb/grpc/database/control_file.py +597 -155
- pyedb/grpc/database/definition/component_def.py +17 -14
- pyedb/grpc/database/definition/materials.py +27 -27
- pyedb/grpc/database/definition/package_def.py +8 -8
- pyedb/grpc/database/definition/padstack_def.py +31 -33
- pyedb/grpc/database/definitions.py +36 -2
- pyedb/grpc/database/geometry/arc_data.py +5 -5
- pyedb/grpc/database/geometry/point_3d_data.py +3 -3
- pyedb/grpc/database/geometry/polygon_data.py +5 -5
- pyedb/grpc/database/hfss.py +412 -395
- pyedb/grpc/database/hierarchy/component.py +67 -58
- pyedb/grpc/database/hierarchy/pin_pair_model.py +6 -6
- pyedb/grpc/database/hierarchy/pingroup.py +13 -11
- pyedb/grpc/database/hierarchy/s_parameter_model.py +1 -1
- pyedb/grpc/database/hierarchy/spice_model.py +1 -1
- pyedb/grpc/database/layers/layer.py +2 -2
- pyedb/grpc/database/layers/stackup_layer.py +26 -23
- pyedb/grpc/database/layout/layout.py +12 -12
- pyedb/grpc/database/layout/voltage_regulator.py +8 -8
- pyedb/grpc/database/layout_validation.py +58 -7
- pyedb/grpc/database/modeler.py +248 -245
- pyedb/grpc/database/net/differential_pair.py +4 -4
- pyedb/grpc/database/net/extended_net.py +7 -8
- pyedb/grpc/database/net/net.py +57 -46
- pyedb/grpc/database/nets.py +362 -116
- pyedb/grpc/database/padstacks.py +259 -178
- pyedb/grpc/database/ports/ports.py +23 -17
- pyedb/grpc/database/primitive/padstack_instance.py +45 -30
- pyedb/grpc/database/primitive/path.py +6 -6
- pyedb/grpc/database/primitive/polygon.py +9 -9
- pyedb/grpc/database/primitive/primitive.py +21 -21
- pyedb/grpc/database/primitive/rectangle.py +1 -1
- pyedb/grpc/database/simulation_setup/hfss_advanced_settings.py +1 -1
- pyedb/grpc/database/simulation_setup/hfss_general_settings.py +1 -1
- pyedb/grpc/database/simulation_setup/hfss_settings_options.py +1 -1
- pyedb/grpc/database/simulation_setup/hfss_simulation_settings.py +6 -6
- pyedb/grpc/database/simulation_setup/hfss_simulation_setup.py +2 -2
- pyedb/grpc/database/simulation_setup/raptor_x_simulation_settings.py +2 -2
- pyedb/grpc/database/simulation_setup/raptor_x_simulation_setup.py +1 -1
- pyedb/grpc/database/simulation_setup/siwave_simulation_setup.py +3 -3
- pyedb/grpc/database/siwave.py +226 -214
- pyedb/grpc/database/source_excitations.py +307 -40
- pyedb/grpc/database/stackup.py +461 -283
- pyedb/grpc/database/terminal/bundle_terminal.py +12 -12
- pyedb/grpc/database/terminal/edge_terminal.py +6 -5
- pyedb/grpc/database/terminal/padstack_instance_terminal.py +13 -13
- pyedb/grpc/database/terminal/pingroup_terminal.py +12 -12
- pyedb/grpc/database/terminal/point_terminal.py +6 -6
- pyedb/grpc/database/terminal/terminal.py +26 -26
- pyedb/grpc/database/utility/heat_sink.py +5 -5
- pyedb/grpc/database/utility/hfss_extent_info.py +21 -21
- pyedb/grpc/database/utility/layout_statistics.py +13 -13
- pyedb/grpc/database/utility/rlc.py +3 -3
- pyedb/grpc/database/utility/sources.py +1 -1
- pyedb/grpc/database/utility/sweep_data_distribution.py +1 -1
- pyedb/grpc/edb.py +542 -739
- pyedb/grpc/edb_init.py +50 -3
- {pyedb-0.50.0.dist-info → pyedb-0.51.2.dist-info}/METADATA +1 -1
- {pyedb-0.50.0.dist-info → pyedb-0.51.2.dist-info}/RECORD +74 -75
- pyedb/grpc/database/utility/simulation_configuration.py +0 -3305
- {pyedb-0.50.0.dist-info → pyedb-0.51.2.dist-info}/LICENSE +0 -0
- {pyedb-0.50.0.dist-info → pyedb-0.51.2.dist-info}/WHEEL +0 -0
|
@@ -33,7 +33,7 @@ class ArcData(GrpcArcData):
|
|
|
33
33
|
super.__init__(edb_object.start, edb_object.end, optional)
|
|
34
34
|
|
|
35
35
|
@property
|
|
36
|
-
def center(self):
|
|
36
|
+
def center(self) -> list[float]:
|
|
37
37
|
"""Arc data center.
|
|
38
38
|
|
|
39
39
|
Returns
|
|
@@ -45,7 +45,7 @@ class ArcData(GrpcArcData):
|
|
|
45
45
|
return [self.center.x.value, self.center.y.value]
|
|
46
46
|
|
|
47
47
|
@property
|
|
48
|
-
def start(self):
|
|
48
|
+
def start(self) -> list[float]:
|
|
49
49
|
"""Arc data start point.
|
|
50
50
|
|
|
51
51
|
Returns
|
|
@@ -57,7 +57,7 @@ class ArcData(GrpcArcData):
|
|
|
57
57
|
return [self.start.x.value, self.start.y.value]
|
|
58
58
|
|
|
59
59
|
@property
|
|
60
|
-
def end(self):
|
|
60
|
+
def end(self) -> list[float]:
|
|
61
61
|
"""Arc data end point.
|
|
62
62
|
|
|
63
63
|
Returns
|
|
@@ -69,7 +69,7 @@ class ArcData(GrpcArcData):
|
|
|
69
69
|
return [self.end.x.value, self.end.y.value]
|
|
70
70
|
|
|
71
71
|
@property
|
|
72
|
-
def mid_point(self):
|
|
72
|
+
def mid_point(self) -> list[float]:
|
|
73
73
|
"""Arc data mid point.
|
|
74
74
|
|
|
75
75
|
Returns
|
|
@@ -81,7 +81,7 @@ class ArcData(GrpcArcData):
|
|
|
81
81
|
return [self.midpoint.x.value, self.midpoint.y.value]
|
|
82
82
|
|
|
83
83
|
@property
|
|
84
|
-
def points(self):
|
|
84
|
+
def points(self) -> list[list[float]]:
|
|
85
85
|
"""Arc data points.
|
|
86
86
|
|
|
87
87
|
Returns
|
|
@@ -31,7 +31,7 @@ class Point3DData(GrpcPoint3DData):
|
|
|
31
31
|
super().__init__(x, y, z)
|
|
32
32
|
|
|
33
33
|
@property
|
|
34
|
-
def x(self):
|
|
34
|
+
def x(self) -> float:
|
|
35
35
|
"""X position.
|
|
36
36
|
|
|
37
37
|
Returns
|
|
@@ -47,7 +47,7 @@ class Point3DData(GrpcPoint3DData):
|
|
|
47
47
|
self.x = GrpcValue(value)
|
|
48
48
|
|
|
49
49
|
@property
|
|
50
|
-
def y(self):
|
|
50
|
+
def y(self) -> float:
|
|
51
51
|
"""Y position.
|
|
52
52
|
|
|
53
53
|
Returns
|
|
@@ -63,7 +63,7 @@ class Point3DData(GrpcPoint3DData):
|
|
|
63
63
|
self.y = GrpcValue(value)
|
|
64
64
|
|
|
65
65
|
@property
|
|
66
|
-
def z(self):
|
|
66
|
+
def z(self) -> float:
|
|
67
67
|
"""Z position.
|
|
68
68
|
|
|
69
69
|
Returns
|
|
@@ -54,7 +54,7 @@ class PolygonData(GrpcPolygonData):
|
|
|
54
54
|
self._edb_object = edb_object
|
|
55
55
|
|
|
56
56
|
@property
|
|
57
|
-
def bounding_box(self):
|
|
57
|
+
def bounding_box(self) -> list[float]:
|
|
58
58
|
"""Bounding box.
|
|
59
59
|
|
|
60
60
|
Returns
|
|
@@ -68,7 +68,7 @@ class PolygonData(GrpcPolygonData):
|
|
|
68
68
|
return [bbox[0].x.value, bbox[0].xyvalue, bbox[1].x.value, bbox[1].y.value]
|
|
69
69
|
|
|
70
70
|
@property
|
|
71
|
-
def arcs(self):
|
|
71
|
+
def arcs(self) -> list[ArcData]:
|
|
72
72
|
"""Get the Primitive Arc Data.
|
|
73
73
|
|
|
74
74
|
Returns
|
|
@@ -79,7 +79,7 @@ class PolygonData(GrpcPolygonData):
|
|
|
79
79
|
return arcs
|
|
80
80
|
|
|
81
81
|
@property
|
|
82
|
-
def points(self):
|
|
82
|
+
def points(self) -> list[list[float]]:
|
|
83
83
|
"""Get all points in polygon.
|
|
84
84
|
|
|
85
85
|
Returns
|
|
@@ -95,7 +95,7 @@ class PolygonData(GrpcPolygonData):
|
|
|
95
95
|
return PolygonData.create_from_points(points=list_of_point_data, closed=closed)
|
|
96
96
|
|
|
97
97
|
@staticmethod
|
|
98
|
-
def create_from_bounding_box(points):
|
|
98
|
+
def create_from_bounding_box(points) -> GrpcPolygonData:
|
|
99
99
|
"""Create PolygonData from point list.
|
|
100
100
|
|
|
101
101
|
Returns
|
|
@@ -105,7 +105,7 @@ class PolygonData(GrpcPolygonData):
|
|
|
105
105
|
"""
|
|
106
106
|
return PolygonData.create_from_bounding_box(points=points)
|
|
107
107
|
|
|
108
|
-
def expand(self, offset=0.001, tolerance=1e-12, round_corners=True, maximum_corner_extension=0.001):
|
|
108
|
+
def expand(self, offset=0.001, tolerance=1e-12, round_corners=True, maximum_corner_extension=0.001) -> bool:
|
|
109
109
|
"""Expand the polygon shape by an absolute value in all direction.
|
|
110
110
|
Offset can be negative for negative expansion.
|
|
111
111
|
|