pyedb 0.36.0__py3-none-any.whl → 0.38.0__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_common.py +1 -1
- pyedb/configuration/cfg_components.py +228 -200
- pyedb/configuration/cfg_data.py +3 -1
- pyedb/configuration/cfg_modeler.py +6 -6
- pyedb/configuration/cfg_padstacks.py +345 -289
- pyedb/configuration/cfg_ports_sources.py +191 -42
- pyedb/configuration/configuration.py +5 -2
- pyedb/dotnet/edb.py +1 -1
- pyedb/dotnet/edb_core/cell/layout.py +24 -8
- pyedb/dotnet/edb_core/edb_data/nets_data.py +1 -1
- pyedb/dotnet/edb_core/edb_data/padstacks_data.py +62 -26
- pyedb/dotnet/edb_core/geometry/polygon_data.py +5 -0
- pyedb/dotnet/edb_core/modeler.py +1 -2
- pyedb/dotnet/edb_core/padstack.py +2 -1
- pyedb/dotnet/edb_core/sim_setup_data/data/settings.py +15 -0
- pyedb/dotnet/edb_core/sim_setup_data/data/sweep_data.py +3 -3
- pyedb/dotnet/edb_core/utilities/simulation_setup.py +1 -0
- pyedb/extensions/pre_layout_design_toolkit/via_design.py +1151 -0
- pyedb/ipc2581/ecad/cad_data/step.py +1 -1
- {pyedb-0.36.0.dist-info → pyedb-0.38.0.dist-info}/METADATA +5 -5
- {pyedb-0.36.0.dist-info → pyedb-0.38.0.dist-info}/RECORD +24 -23
- {pyedb-0.36.0.dist-info → pyedb-0.38.0.dist-info}/LICENSE +0 -0
- {pyedb-0.36.0.dist-info → pyedb-0.38.0.dist-info}/WHEEL +0 -0
|
@@ -1859,8 +1859,9 @@ class EdbPadstacks(object):
|
|
|
1859
1859
|
for _x, _y in zip(x_grid.ravel(), y_grid.ravel())
|
|
1860
1860
|
}
|
|
1861
1861
|
|
|
1862
|
+
all_instances = self.instances
|
|
1862
1863
|
for item in padstacks_inbox:
|
|
1863
1864
|
if item not in to_keep:
|
|
1864
|
-
|
|
1865
|
+
all_instances[item].delete()
|
|
1865
1866
|
|
|
1866
1867
|
return True
|
|
@@ -149,6 +149,21 @@ class AdaptiveSettings(object):
|
|
|
149
149
|
self.adaptive_settings.MinPasses = value
|
|
150
150
|
self._parent._update_setup()
|
|
151
151
|
|
|
152
|
+
@property
|
|
153
|
+
def min_converged_passes(self):
|
|
154
|
+
"""Minimum number of converged passes.
|
|
155
|
+
|
|
156
|
+
Returns
|
|
157
|
+
-------
|
|
158
|
+
int
|
|
159
|
+
"""
|
|
160
|
+
return self.adaptive_settings.MinConvergedPasses
|
|
161
|
+
|
|
162
|
+
@min_converged_passes.setter
|
|
163
|
+
def min_converged_passes(self, value):
|
|
164
|
+
self.adaptive_settings.MinConvergedPasses = value
|
|
165
|
+
self._parent._update_setup()
|
|
166
|
+
|
|
152
167
|
@property
|
|
153
168
|
def save_fields(self):
|
|
154
169
|
"""Whether to turn on save fields.
|
|
@@ -160,11 +160,11 @@ class SweepData(object):
|
|
|
160
160
|
@freq_sweep_type.setter
|
|
161
161
|
def freq_sweep_type(self, value):
|
|
162
162
|
edb_freq_sweep_type = self._edb_object.TFreqSweepType
|
|
163
|
-
if value in [0, "kInterpolatingSweep"]:
|
|
163
|
+
if value in [0, "kInterpolatingSweep", "interpolation"]:
|
|
164
164
|
self._edb_object.FreqSweepType = edb_freq_sweep_type.kInterpolatingSweep
|
|
165
|
-
elif value in [1, "kDiscreteSweep"]:
|
|
165
|
+
elif value in [1, "kDiscreteSweep", "discrete"]:
|
|
166
166
|
self._edb_object.FreqSweepType = edb_freq_sweep_type.kDiscreteSweep
|
|
167
|
-
elif value in [2, "kBroadbandFastSweep"]:
|
|
167
|
+
elif value in [2, "kBroadbandFastSweep", "broadband"]:
|
|
168
168
|
self._edb_object.FreqSweepType = edb_freq_sweep_type.kBroadbandFastSweep
|
|
169
169
|
elif value in [3, "kNumSweepTypes"]:
|
|
170
170
|
self._edb_object.FreqSweepType = edb_freq_sweep_type.kNumSweepTypes
|
|
@@ -265,6 +265,7 @@ class SimulationSetup(object):
|
|
|
265
265
|
for k, v in kwargs.items():
|
|
266
266
|
if k in dir(sweep_data):
|
|
267
267
|
setattr(sweep_data, k, v)
|
|
268
|
+
sweep_data.freq_sweep_type = kwargs.get("sweep_type") if kwargs.get("sweep_type") else "interpolation"
|
|
268
269
|
|
|
269
270
|
if frequency_set is None:
|
|
270
271
|
sweep_type = "linear_scale"
|