Skip to content

Commit a9eac39

Browse files
REFACTOR: FilterSolutions_class_refacoring (#5917)
Co-authored-by: pyansys-ci-bot <92810346+pyansys-ci-bot@users.noreply.github.com>
1 parent 463b124 commit a9eac39

3 files changed

Lines changed: 1 addition & 33 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
FilterSolutions_class_refacoring

src/ansys/aedt/core/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ def custom_show_warning(message, category, filename, lineno, file=None, line=Non
9292
from ansys.aedt.core.generic.design_types import CircuitNetlist
9393
from ansys.aedt.core.generic.design_types import Desktop
9494
from ansys.aedt.core.generic.design_types import Emit
95-
from ansys.aedt.core.generic.design_types import FilterSolutions
9695
from ansys.aedt.core.generic.design_types import Hfss
9796
from ansys.aedt.core.generic.design_types import Hfss3dLayout
9897
from ansys.aedt.core.generic.design_types import Icepak

src/ansys/aedt/core/generic/design_types.py

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -50,38 +50,6 @@
5050
Simplorer = TwinBuilder
5151

5252

53-
def FilterSolutions(
54-
version=None,
55-
):
56-
"""Initialize a ``FilterSolutions` instance.
57-
58-
Parameters
59-
----------
60-
version : str optional
61-
Version of AEDT to use in ``xxxx.x`` format to use. The default is ``None``, in which case the
62-
active setup or latest installed version is used.
63-
64-
Returns
65-
-------
66-
:class:`ansys.aedt.core.filtersolutions.FilterSolutions`
67-
68-
Examples
69-
--------
70-
Define a band-pass Butterworth filter with a center frequency of 1 GHz and a pass band width of 500 MHz.
71-
72-
design = ansys.aedt.core.LumpedDesign(version="2025.1")
73-
design.attributes.filter_class = FilterClass.BAND_PASS
74-
design.attributes.filter_type = FilterType.BUTTERWORTH
75-
design.attributes.pass_band_center_frequency = "1G"
76-
design.attributes.pass_band_width_frequency = "500M"
77-
"""
78-
from ansys.aedt.core.filtersolutions import FilterSolutions as app
79-
80-
return app(
81-
version=version,
82-
)
83-
84-
8553
def launch_desktop(
8654
version=None,
8755
non_graphical=False,

0 commit comments

Comments
 (0)