pyfemtet 0.4.18__py3-none-any.whl → 0.4.19__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 pyfemtet might be problematic. Click here for more details.

pyfemtet/__init__.py CHANGED
@@ -1 +1 @@
1
- __version__ = "0.4.18"
1
+ __version__ = "0.4.19"
@@ -58,7 +58,14 @@ class PredictionModelCreator:
58
58
  xx = np.linspace(lb1, ub1, N) # shape: (N,)
59
59
 
60
60
  # create raveled grid data
61
- tmp_df = pd.DataFrame(columns=history.prm_names)
61
+ tmp_df = pd.DataFrame(
62
+ columns=history.prm_names,
63
+ index=range(len(xx.ravel())), # index で df の長さを指定しないと remaining_x の代入で工夫が必要になる
64
+ )
65
+
66
+ # 変数名ごとに見ていって、
67
+ # 横軸に使う変数ならグリッド値を入れ、
68
+ # そうでなければ remaining_x の値を入れる(シリーズになる)
62
69
  idx = 0
63
70
  for prm_name in history.prm_names:
64
71
  if prm_name == prm_name_1:
@@ -129,7 +136,7 @@ class PredictionModelCreator:
129
136
  ),
130
137
  y=dict(
131
138
  highlight=True, show=True, color='blue',
132
- start=lb2, end=ub2, size=(ub1-lb1)/N
139
+ start=lb2, end=ub2, size=(ub2-lb2)/N
133
140
  ),
134
141
  z=dict(highlight=False, show=False),
135
142
  )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyfemtet
3
- Version: 0.4.18
3
+ Version: 0.4.19
4
4
  Summary: Design parameter optimization using Femtet.
5
5
  Home-page: https://github.com/pyfemtet/pyfemtet
6
6
  License: BSD-3-Clause
@@ -12,7 +12,7 @@ pyfemtet/FemtetPJTSample/her_ex40_parametric.py,sha256=B5PQoh71Q3KN2CyLU1gP_Yh9g
12
12
  pyfemtet/FemtetPJTSample/wat_ex14_parallel_parametric.py,sha256=UfhJffuXyhzdIWNpOrpV6xLTK1fuVvgyhlyg4Rp-628,2148
13
13
  pyfemtet/FemtetPJTSample/wat_ex14_parametric.femprj,sha256=pxacKe0NPNUPAcxqo2cATFApsMKiVt2g2e_FOk4fpjA,172895
14
14
  pyfemtet/FemtetPJTSample/wat_ex14_parametric.py,sha256=LGbWxCek0Ad2YrDCKykiQkE3aIypM4g8P3mLd_2anEE,2052
15
- pyfemtet/__init__.py,sha256=a5avv24uYEb5W2thcqIbr6E9OpU6I6-h8HTMc0EN1FQ,22
15
+ pyfemtet/__init__.py,sha256=OCiQi0NygMAlBjlUUnm1SyRHaOf3qlZ_qx2T9-TEFkQ,22
16
16
  pyfemtet/_test_util.py,sha256=CT9J19qQ4gYT5glFs8WwlTDmc3SokvdE5ucpB-KCOro,4274
17
17
  pyfemtet/core.py,sha256=3lqfBGJ5IuKz2Nqj5pRo7YQqKwx_0ZDL72u95Ur_1p0,1386
18
18
  pyfemtet/dispatch_extensions.py,sha256=XVZajbjh7mb6NG4Hq8qff2TJWab75r4Hd59cIvCRsVg,16213
@@ -132,7 +132,7 @@ pyfemtet/opt/visualization/complex_components/control_femtet.py,sha256=b4gn_pQMX
132
132
  pyfemtet/opt/visualization/complex_components/main_figure_creator.py,sha256=mdX1DvMp75iGHMLzI13ki216iPO-wvB6XdxDqWdZVeM,5140
133
133
  pyfemtet/opt/visualization/complex_components/main_graph.py,sha256=4eAGHrmnFhmlRQD2rDrAiNSUAe7AGxbNBZZBIlGUuTQ,9450
134
134
  pyfemtet/opt/visualization/complex_components/pm_graph.py,sha256=bfHqhQnZtS_N6-rDvKw0Lnib2orDR76oF_c32ARxT9Y,23124
135
- pyfemtet/opt/visualization/complex_components/pm_graph_creator.py,sha256=fU-AR5HJBX-slVhvVEFttdeousZ9QeOqIwPnrXDPeqk,6737
135
+ pyfemtet/opt/visualization/complex_components/pm_graph_creator.py,sha256=Keqx02h50Kg1OYXlkveVfNvCBndfC4FdRpQo8Fuam9Q,7101
136
136
  pyfemtet/opt/visualization/process_monitor/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
137
137
  pyfemtet/opt/visualization/process_monitor/application.py,sha256=JACrJdwmKWpHzdPpgGtAEAkODDEegSHJ2pOc7KwuDWw,7631
138
138
  pyfemtet/opt/visualization/process_monitor/pages.py,sha256=0mgvgBsCPxZ--uhP_EaeqT3FVFuhgOi6-KiXdnL0vEQ,11280
@@ -145,8 +145,8 @@ pyfemtet/opt/visualization/wrapped_components/dbc.py,sha256=wzR1ZMOb4uwPNTMFn5up
145
145
  pyfemtet/opt/visualization/wrapped_components/dcc.py,sha256=hcW7SR6VIMn4S4-JMyohvOzdc0Aw8A4chIeHqQEUbFU,17499
146
146
  pyfemtet/opt/visualization/wrapped_components/html.py,sha256=sE2XHTDY1GvA1NW7y6SKWf-WglVXFKKvXhU9h3z53_g,95652
147
147
  pyfemtet/opt/visualization/wrapped_components/str_enum.py,sha256=NZqbh2jNEAckvJyZv__MWeRs2F2Q-dkJCWo30rU2rrM,1383
148
- pyfemtet-0.4.18.dist-info/LICENSE,sha256=sVQBhyoglGJUu65-BP3iR6ujORI6YgEU2Qm-V4fGlOA,1485
149
- pyfemtet-0.4.18.dist-info/METADATA,sha256=cfOBy7jzFREQ-7vhXCmXH54xia2j_N-1wxFPIkedYTg,3421
150
- pyfemtet-0.4.18.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
151
- pyfemtet-0.4.18.dist-info/entry_points.txt,sha256=ZfYqRaoiPtuWqFi2_msccyrVF0LurMn-IHlYamAegZo,104
152
- pyfemtet-0.4.18.dist-info/RECORD,,
148
+ pyfemtet-0.4.19.dist-info/LICENSE,sha256=sVQBhyoglGJUu65-BP3iR6ujORI6YgEU2Qm-V4fGlOA,1485
149
+ pyfemtet-0.4.19.dist-info/METADATA,sha256=hRr5yBMmdzSVSaLV4hUA0kk9omm7SFpE-mT5ogpx6u4,3421
150
+ pyfemtet-0.4.19.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
151
+ pyfemtet-0.4.19.dist-info/entry_points.txt,sha256=ZfYqRaoiPtuWqFi2_msccyrVF0LurMn-IHlYamAegZo,104
152
+ pyfemtet-0.4.19.dist-info/RECORD,,