PyOpenMagnetics 1.1.3__cp313-cp313-win_amd64.whl → 1.1.4__cp313-cp313-win_amd64.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.
- PyOpenMagnetics.cp313-win_amd64.pyd +0 -0
- {pyopenmagnetics-1.1.3.dist-info → pyopenmagnetics-1.1.4.dist-info}/METADATA +7 -6
- {pyopenmagnetics-1.1.3.dist-info → pyopenmagnetics-1.1.4.dist-info}/RECORD +5 -5
- {pyopenmagnetics-1.1.3.dist-info → pyopenmagnetics-1.1.4.dist-info}/WHEEL +0 -0
- {pyopenmagnetics-1.1.3.dist-info → pyopenmagnetics-1.1.4.dist-info}/licenses/LICENSE +0 -0
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: PyOpenMagnetics
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.4
|
|
4
4
|
Summary: Python wrapper for OpenMagnetics
|
|
5
5
|
Author-Email: Alfonso Martinez <Alfonso_VII@hotmail.com>
|
|
6
6
|
Classifier: Development Status :: 4 - Beta
|
|
@@ -121,12 +121,13 @@ processed_inputs = PyOpenMagnetics.process_inputs(inputs)
|
|
|
121
121
|
|
|
122
122
|
# Get magnetic recommendations
|
|
123
123
|
# core_mode: "available cores" (stock cores) or "standard cores" (all standard shapes)
|
|
124
|
-
|
|
124
|
+
result = PyOpenMagnetics.calculate_advised_magnetics(processed_inputs, 5, "standard cores")
|
|
125
125
|
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
126
|
+
# Result format: {"data": [{"mas": {...}, "scoring": float, "scoringPerFilter": {...}}, ...]}
|
|
127
|
+
for i, item in enumerate(result["data"]):
|
|
128
|
+
mag = item["mas"]["magnetic"]
|
|
129
|
+
core = mag["core"]["functionalDescription"]
|
|
130
|
+
print(f"{i+1}. {core['shape']['name']} - {core['material']['name']} (score: {item['scoring']:.3f})")
|
|
130
131
|
```
|
|
131
132
|
|
|
132
133
|
### Calculate Core Losses
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
include/pybind11_json/pybind11_json.hpp,sha256=ycNMrjBBpmzNwIuszG-Ni7YWHzHHCivVvNzvgEBNk14,8095
|
|
2
|
-
PyOpenMagnetics.cp313-win_amd64.pyd,sha256=
|
|
2
|
+
PyOpenMagnetics.cp313-win_amd64.pyd,sha256=qBM6wlBnp2iSBmduIGbs3RS56ijPySQXrBWray8AsZI,19572736
|
|
3
3
|
share/cmake/pybind11_json/pybind11_jsonConfig.cmake,sha256=yqt4qHnKv1yQ3mG7vu4zmPMDXQQ0GZUXwt0yr8_Epic,2058
|
|
4
4
|
share/cmake/pybind11_json/pybind11_jsonConfigVersion.cmake,sha256=wJpbsnHNM9IdCw8SYdh07PgYQyMH_p9E6374xgrfpo4,1435
|
|
5
5
|
share/cmake/pybind11_json/pybind11_jsonTargets.cmake,sha256=2YDTY75tk0daY1uvV7Rw6Ph0Od4BCcMaaB7mxapP8-0,4227
|
|
6
6
|
share/pkgconfig/pybind11_json.pc,sha256=1IIOiR0JKkuoiENHuuHk9KRG6VuMfTQuMjwZFHvWp1A,147
|
|
7
|
-
pyopenmagnetics-1.1.
|
|
8
|
-
pyopenmagnetics-1.1.
|
|
9
|
-
pyopenmagnetics-1.1.
|
|
10
|
-
pyopenmagnetics-1.1.
|
|
7
|
+
pyopenmagnetics-1.1.4.dist-info/METADATA,sha256=Gwc6lzUlqcEBO6NxgIy3lROSitQngCW2867foVxZZyk,12257
|
|
8
|
+
pyopenmagnetics-1.1.4.dist-info/WHEEL,sha256=vkL3wTIkhjZa3RmEXX20hldNp6Q8qtwRjrXW6K5sw_Q,106
|
|
9
|
+
pyopenmagnetics-1.1.4.dist-info/licenses/LICENSE,sha256=n5beBRUVTrqihyXW7-COpKNiKVZiNzdYn9yUGtLcvZE,1091
|
|
10
|
+
pyopenmagnetics-1.1.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|