PyFemtet 0.2.1__tar.gz → 0.2.2__tar.gz
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.
- {pyfemtet-0.2.1 → pyfemtet-0.2.2}/PKG-INFO +4 -2
- pyfemtet-0.2.2/pyfemtet/__init__.py +1 -0
- {pyfemtet-0.2.1 → pyfemtet-0.2.2}/pyfemtet/opt/base.py +2 -2
- {pyfemtet-0.2.1 → pyfemtet-0.2.2}/pyfemtet/opt/optimizer.py +2 -2
- {pyfemtet-0.2.1 → pyfemtet-0.2.2}/pyproject.toml +2 -2
- pyfemtet-0.2.1/pyfemtet/__init__.py +0 -1
- {pyfemtet-0.2.1 → pyfemtet-0.2.2}/LICENSE +0 -0
- {pyfemtet-0.2.1 → pyfemtet-0.2.2}/README.md +0 -0
- {pyfemtet-0.2.1 → pyfemtet-0.2.2}/pyfemtet/FemtetPJTSample/NX_ex01/NX_ex01.femprj +0 -0
- {pyfemtet-0.2.1 → pyfemtet-0.2.2}/pyfemtet/FemtetPJTSample/NX_ex01/NX_ex01.prt +0 -0
- {pyfemtet-0.2.1 → pyfemtet-0.2.2}/pyfemtet/FemtetPJTSample/NX_ex01/NX_ex01.py +0 -0
- {pyfemtet-0.2.1 → pyfemtet-0.2.2}/pyfemtet/FemtetPJTSample/gau_ex08_parametric.femprj +0 -0
- {pyfemtet-0.2.1 → pyfemtet-0.2.2}/pyfemtet/FemtetPJTSample/gau_ex08_parametric.py +0 -0
- {pyfemtet-0.2.1 → pyfemtet-0.2.2}/pyfemtet/FemtetPJTSample/her_ex40_parametric.femprj +0 -0
- {pyfemtet-0.2.1 → pyfemtet-0.2.2}/pyfemtet/FemtetPJTSample/her_ex40_parametric.py +0 -0
- {pyfemtet-0.2.1 → pyfemtet-0.2.2}/pyfemtet/FemtetPJTSample/wat_ex14_parallel_parametric.py +0 -0
- {pyfemtet-0.2.1 → pyfemtet-0.2.2}/pyfemtet/FemtetPJTSample/wat_ex14_parametric.femprj +0 -0
- {pyfemtet-0.2.1 → pyfemtet-0.2.2}/pyfemtet/FemtetPJTSample/wat_ex14_parametric.py +0 -0
- {pyfemtet-0.2.1 → pyfemtet-0.2.2}/pyfemtet/_opt/_NX_Femtet.py +0 -0
- {pyfemtet-0.2.1 → pyfemtet-0.2.2}/pyfemtet/_opt/_SW_Femtet.py +0 -0
- {pyfemtet-0.2.1 → pyfemtet-0.2.2}/pyfemtet/_opt/_SimplestUI.py +0 -0
- {pyfemtet-0.2.1 → pyfemtet-0.2.2}/pyfemtet/_opt/visualization/ProcessMonitor.py +0 -0
- {pyfemtet-0.2.1 → pyfemtet-0.2.2}/pyfemtet/_opt/visualization/_dash.py +0 -0
- {pyfemtet-0.2.1 → pyfemtet-0.2.2}/pyfemtet/_opt/visualization/_visualization.py +0 -0
- {pyfemtet-0.2.1 → pyfemtet-0.2.2}/pyfemtet/_opt/visualization/_visualizationNameSpace.py +0 -0
- {pyfemtet-0.2.1 → pyfemtet-0.2.2}/pyfemtet/opt/_FemtetWithNX/update_model.py +0 -0
- {pyfemtet-0.2.1 → pyfemtet-0.2.2}/pyfemtet/opt/__init__.py +0 -0
- {pyfemtet-0.2.1 → pyfemtet-0.2.2}/pyfemtet/opt/core.py +0 -0
- {pyfemtet-0.2.1 → pyfemtet-0.2.2}/pyfemtet/opt/interface.py +0 -0
- {pyfemtet-0.2.1 → pyfemtet-0.2.2}/pyfemtet/opt/monitor.py +0 -0
- {pyfemtet-0.2.1 → pyfemtet-0.2.2}/pyfemtet/tools/DispatchUtils.py +0 -0
- {pyfemtet-0.2.1 → pyfemtet-0.2.2}/pyfemtet/tools/__init__.py +0 -0
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pyfemtet
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.2
|
|
4
4
|
Summary: Design parameter optimization using Femtet.
|
|
5
5
|
Home-page: https://github.com/pyfemtet/pyfemtet
|
|
6
6
|
License: BSD-3-Clause
|
|
7
7
|
Author: kazuma.naito
|
|
8
8
|
Author-email: kazuma.naito@murata.com
|
|
9
|
-
Requires-Python: >=3.
|
|
9
|
+
Requires-Python: >=3.9,<3.12
|
|
10
10
|
Classifier: License :: OSI Approved :: BSD License
|
|
11
11
|
Classifier: Programming Language :: Python :: 3
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
12
14
|
Classifier: Programming Language :: Python :: 3.11
|
|
13
15
|
Requires-Dist: botorch (>=0.9.5,<0.10.0)
|
|
14
16
|
Requires-Dist: dash (>=2.14.2,<3.0.0)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.2.2"
|
|
@@ -20,7 +20,7 @@ from .interface import FEMInterface, FemtetInterface
|
|
|
20
20
|
from .monitor import Monitor
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
def symlog(x: float
|
|
23
|
+
def symlog(x: float or np.ndarray):
|
|
24
24
|
"""Log function whose domain is extended to the negative region.
|
|
25
25
|
|
|
26
26
|
Symlog processing is performed internally as a measure to reduce
|
|
@@ -28,7 +28,7 @@ def symlog(x: float | np.ndarray):
|
|
|
28
28
|
between objective functions in multi-objective optimization.
|
|
29
29
|
|
|
30
30
|
Args:
|
|
31
|
-
x (float
|
|
31
|
+
x (float or np.ndarray)
|
|
32
32
|
|
|
33
33
|
Returns:
|
|
34
34
|
float
|
|
@@ -17,7 +17,7 @@ from .base import OptimizerBase
|
|
|
17
17
|
warnings.filterwarnings('ignore', category=ExperimentalWarning)
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
def generate_lhs(bounds: list[list[float]], seed: int
|
|
20
|
+
def generate_lhs(bounds: list[list[float]], seed: int or None = None) -> np.ndarray:
|
|
21
21
|
"""Latin Hypercube Sampling from given design parameter bounds.
|
|
22
22
|
|
|
23
23
|
If the number of parameters is d,
|
|
@@ -27,7 +27,7 @@ def generate_lhs(bounds: list[list[float]], seed: int | None = None) -> np.ndarr
|
|
|
27
27
|
|
|
28
28
|
Args:
|
|
29
29
|
bounds (list[list[float]]): List of [lower_bound, upper_bound] of parameters.
|
|
30
|
-
seed (int
|
|
30
|
+
seed (int or None, optional): Random seed. Defaults to None.
|
|
31
31
|
|
|
32
32
|
Returns:
|
|
33
33
|
np.ndarray: (N, d) shape ndarray.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "pyfemtet"
|
|
3
|
-
version = "0.2.
|
|
3
|
+
version = "0.2.2" # ignored by versioning plugin
|
|
4
4
|
description = "Design parameter optimization using Femtet."
|
|
5
5
|
authors = ["kazuma.naito <kazuma.naito@murata.com>"]
|
|
6
6
|
readme = "README.md"
|
|
@@ -8,7 +8,7 @@ license = "BSD-3-Clause"
|
|
|
8
8
|
repository = "https://github.com/pyfemtet/pyfemtet"
|
|
9
9
|
|
|
10
10
|
[tool.poetry.dependencies]
|
|
11
|
-
python = "
|
|
11
|
+
python = " >= 3.9, < 3.12" # ray cannot match 3.12
|
|
12
12
|
numpy = "^1.26.2"
|
|
13
13
|
pandas = "^2.1.3"
|
|
14
14
|
openpyxl = "^3.1.2"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.2.1"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|