qewton 0.1.0__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.
Files changed (237) hide show
  1. qewton-0.1.0/LICENSE +190 -0
  2. qewton-0.1.0/PKG-INFO +113 -0
  3. qewton-0.1.0/README.md +59 -0
  4. qewton-0.1.0/pyproject.toml +162 -0
  5. qewton-0.1.0/setup.cfg +4 -0
  6. qewton-0.1.0/src/qewton/__init__.py +22 -0
  7. qewton-0.1.0/src/qewton/algorithms/__init__.py +12 -0
  8. qewton-0.1.0/src/qewton/algorithms/building_blocks/__init__.py +91 -0
  9. qewton-0.1.0/src/qewton/algorithms/building_blocks/activation_functions.py +220 -0
  10. qewton-0.1.0/src/qewton/algorithms/building_blocks/array_operations.py +550 -0
  11. qewton-0.1.0/src/qewton/algorithms/building_blocks/channel_mlp.py +166 -0
  12. qewton-0.1.0/src/qewton/algorithms/building_blocks/conv.py +1332 -0
  13. qewton-0.1.0/src/qewton/algorithms/building_blocks/creation.py +74 -0
  14. qewton-0.1.0/src/qewton/algorithms/building_blocks/derivatives.py +166 -0
  15. qewton-0.1.0/src/qewton/algorithms/building_blocks/embeddings.py +138 -0
  16. qewton-0.1.0/src/qewton/algorithms/building_blocks/fno_block.py +356 -0
  17. qewton-0.1.0/src/qewton/algorithms/building_blocks/geometry.py +120 -0
  18. qewton-0.1.0/src/qewton/algorithms/building_blocks/linear.py +182 -0
  19. qewton-0.1.0/src/qewton/algorithms/building_blocks/math.py +621 -0
  20. qewton-0.1.0/src/qewton/algorithms/building_blocks/norms.py +25 -0
  21. qewton-0.1.0/src/qewton/algorithms/building_blocks/parameters.py +99 -0
  22. qewton-0.1.0/src/qewton/algorithms/building_blocks/skip_connections.py +155 -0
  23. qewton-0.1.0/src/qewton/algorithms/building_blocks/spectral_convolution.py +343 -0
  24. qewton-0.1.0/src/qewton/algorithms/dl_models/convolutions/cnn.py +502 -0
  25. qewton-0.1.0/src/qewton/algorithms/dl_models/convolutions/encoding.py +265 -0
  26. qewton-0.1.0/src/qewton/algorithms/dl_models/deeponet/base.py +118 -0
  27. qewton-0.1.0/src/qewton/algorithms/dl_models/deeponet/deeponet_cnn.py +183 -0
  28. qewton-0.1.0/src/qewton/algorithms/dl_models/deeponet/deeponet_fcn.py +277 -0
  29. qewton-0.1.0/src/qewton/algorithms/dl_models/deeponet/merge_nodes.py +226 -0
  30. qewton-0.1.0/src/qewton/algorithms/dl_models/fcn.py +407 -0
  31. qewton-0.1.0/src/qewton/algorithms/dl_models/fno.py +343 -0
  32. qewton-0.1.0/src/qewton/algorithms/dl_models/harmonic_fcn.py +229 -0
  33. qewton-0.1.0/src/qewton/algorithms/dl_models/pca_net.py +251 -0
  34. qewton-0.1.0/src/qewton/algorithms/properties.py +16 -0
  35. qewton-0.1.0/src/qewton/backends/__init__.py +71 -0
  36. qewton-0.1.0/src/qewton/backends/base.py +270 -0
  37. qewton-0.1.0/src/qewton/backends/grad.py +62 -0
  38. qewton-0.1.0/src/qewton/backends/linalg.py +36 -0
  39. qewton-0.1.0/src/qewton/backends/math.py +1261 -0
  40. qewton-0.1.0/src/qewton/backends/nn.py +220 -0
  41. qewton-0.1.0/src/qewton/backends/numpy/base.py +109 -0
  42. qewton-0.1.0/src/qewton/backends/numpy/linalg.py +28 -0
  43. qewton-0.1.0/src/qewton/backends/numpy/math.py +379 -0
  44. qewton-0.1.0/src/qewton/backends/numpy/random.py +194 -0
  45. qewton-0.1.0/src/qewton/backends/optim.py +45 -0
  46. qewton-0.1.0/src/qewton/backends/param.py +20 -0
  47. qewton-0.1.0/src/qewton/backends/random.py +159 -0
  48. qewton-0.1.0/src/qewton/backends/tensorflow/base.py +68 -0
  49. qewton-0.1.0/src/qewton/backends/tensorflow/math.py +230 -0
  50. qewton-0.1.0/src/qewton/backends/tensorflow/optim.py +8 -0
  51. qewton-0.1.0/src/qewton/backends/torch/base.py +123 -0
  52. qewton-0.1.0/src/qewton/backends/torch/device.py +10 -0
  53. qewton-0.1.0/src/qewton/backends/torch/grad.py +140 -0
  54. qewton-0.1.0/src/qewton/backends/torch/linalg.py +26 -0
  55. qewton-0.1.0/src/qewton/backends/torch/math.py +691 -0
  56. qewton-0.1.0/src/qewton/backends/torch/nn.py +43 -0
  57. qewton-0.1.0/src/qewton/backends/torch/optim.py +102 -0
  58. qewton-0.1.0/src/qewton/backends/torch/param.py +34 -0
  59. qewton-0.1.0/src/qewton/backends/torch/random.py +254 -0
  60. qewton-0.1.0/src/qewton/config/__init__.py +25 -0
  61. qewton-0.1.0/src/qewton/config/axes.py +1012 -0
  62. qewton-0.1.0/src/qewton/config/data_configurations/__init__.py +2 -0
  63. qewton-0.1.0/src/qewton/config/data_configurations/base.py +773 -0
  64. qewton-0.1.0/src/qewton/config/data_configurations/grid.py +45 -0
  65. qewton-0.1.0/src/qewton/config/devices.py +71 -0
  66. qewton-0.1.0/src/qewton/config/dtypes.py +260 -0
  67. qewton-0.1.0/src/qewton/config/errors.py +12 -0
  68. qewton-0.1.0/src/qewton/config/saving/__init__.py +0 -0
  69. qewton-0.1.0/src/qewton/config/saving/callables.py +35 -0
  70. qewton-0.1.0/src/qewton/config/saving/loading.py +242 -0
  71. qewton-0.1.0/src/qewton/config/saving/saving.py +312 -0
  72. qewton-0.1.0/src/qewton/config/saving/schema_keys.py +36 -0
  73. qewton-0.1.0/src/qewton/config/sequences.py +194 -0
  74. qewton-0.1.0/src/qewton/config/variables.py +331 -0
  75. qewton-0.1.0/src/qewton/constraints/__init__.py +9 -0
  76. qewton-0.1.0/src/qewton/constraints/base.py +119 -0
  77. qewton-0.1.0/src/qewton/constraints/metric_constraint.py +151 -0
  78. qewton-0.1.0/src/qewton/constraints/pinn_constraint.py +145 -0
  79. qewton-0.1.0/src/qewton/constraints/weight_functions.py +170 -0
  80. qewton-0.1.0/src/qewton/data/__init__.py +3 -0
  81. qewton-0.1.0/src/qewton/data/data_processing/__init__.py +2 -0
  82. qewton-0.1.0/src/qewton/data/data_processing/normalization.py +170 -0
  83. qewton-0.1.0/src/qewton/data/data_processing/pca.py +215 -0
  84. qewton-0.1.0/src/qewton/data/dataloaders/__init__.py +4 -0
  85. qewton-0.1.0/src/qewton/data/dataloaders/base.py +385 -0
  86. qewton-0.1.0/src/qewton/data/dataloaders/sampler/__init__.py +0 -0
  87. qewton-0.1.0/src/qewton/data/dataloaders/sampler/grid_sampler.py +140 -0
  88. qewton-0.1.0/src/qewton/data/dataloaders/sampler/point_sampler.py +542 -0
  89. qewton-0.1.0/src/qewton/data/dataloaders/sampler/product_sampler.py +212 -0
  90. qewton-0.1.0/src/qewton/data/dataloaders/sampler/random_sampler.py +50 -0
  91. qewton-0.1.0/src/qewton/data/datasets/__init__.py +4 -0
  92. qewton-0.1.0/src/qewton/data/datasets/array_data/__init__.py +2 -0
  93. qewton-0.1.0/src/qewton/data/datasets/array_data/base.py +240 -0
  94. qewton-0.1.0/src/qewton/data/datasets/array_data/grid.py +87 -0
  95. qewton-0.1.0/src/qewton/data/datasets/array_data/hdf5.py +117 -0
  96. qewton-0.1.0/src/qewton/data/datasets/base.py +85 -0
  97. qewton-0.1.0/src/qewton/geometries/__init__.py +21 -0
  98. qewton-0.1.0/src/qewton/geometries/base.py +811 -0
  99. qewton-0.1.0/src/qewton/geometries/cad/__init__.py +0 -0
  100. qewton-0.1.0/src/qewton/geometries/cad/create_mesh.py +63 -0
  101. qewton-0.1.0/src/qewton/geometries/continuous/__init__.py +12 -0
  102. qewton-0.1.0/src/qewton/geometries/continuous/base.py +75 -0
  103. qewton-0.1.0/src/qewton/geometries/continuous/domain_operations/__init__.py +0 -0
  104. qewton-0.1.0/src/qewton/geometries/continuous/domain_operations/cut.py +149 -0
  105. qewton-0.1.0/src/qewton/geometries/continuous/domain_operations/intersection.py +138 -0
  106. qewton-0.1.0/src/qewton/geometries/continuous/domain_operations/sampler_helper.py +141 -0
  107. qewton-0.1.0/src/qewton/geometries/continuous/domain_operations/union.py +180 -0
  108. qewton-0.1.0/src/qewton/geometries/continuous/domains_1d/__init__.py +0 -0
  109. qewton-0.1.0/src/qewton/geometries/continuous/domains_1d/interval.py +227 -0
  110. qewton-0.1.0/src/qewton/geometries/continuous/domains_2d/__init__.py +0 -0
  111. qewton-0.1.0/src/qewton/geometries/continuous/domains_2d/circle.py +230 -0
  112. qewton-0.1.0/src/qewton/geometries/continuous/domains_2d/parallelogram.py +414 -0
  113. qewton-0.1.0/src/qewton/geometries/continuous/domains_2d/rectangle.py +31 -0
  114. qewton-0.1.0/src/qewton/geometries/continuous/domains_2d/triangle.py +337 -0
  115. qewton-0.1.0/src/qewton/geometries/continuous/domains_3d/__init__.py +0 -0
  116. qewton-0.1.0/src/qewton/geometries/continuous/domains_3d/box.py +412 -0
  117. qewton-0.1.0/src/qewton/geometries/continuous/domains_3d/cylinder.py +463 -0
  118. qewton-0.1.0/src/qewton/geometries/continuous/domains_3d/sphere.py +171 -0
  119. qewton-0.1.0/src/qewton/geometries/discrete/__init__.py +7 -0
  120. qewton-0.1.0/src/qewton/geometries/discrete/grid_geometry.py +297 -0
  121. qewton-0.1.0/src/qewton/geometries/discrete/index_grid_geometry.py +161 -0
  122. qewton-0.1.0/src/qewton/geometries/discrete/load_meshes_helper.py +89 -0
  123. qewton-0.1.0/src/qewton/geometries/discrete/mesh.py +486 -0
  124. qewton-0.1.0/src/qewton/geometries/discrete/mesh_geometry.py +654 -0
  125. qewton-0.1.0/src/qewton/geometries/discrete/mesh_stats.py +23 -0
  126. qewton-0.1.0/src/qewton/geometries/discrete/plane_slice.py +138 -0
  127. qewton-0.1.0/src/qewton/geometries/discrete/point_cloud.py +120 -0
  128. qewton-0.1.0/src/qewton/geometries/discrete/product_mesh_geometry.py +362 -0
  129. qewton-0.1.0/src/qewton/geometries/discrete/sampled_geometry.py +126 -0
  130. qewton-0.1.0/src/qewton/geometries/discrete/volume_grid.py +89 -0
  131. qewton-0.1.0/src/qewton/geometries/product.py +155 -0
  132. qewton-0.1.0/src/qewton/graphs/__init__.py +14 -0
  133. qewton-0.1.0/src/qewton/graphs/control_nodes/__init__.py +0 -0
  134. qewton-0.1.0/src/qewton/graphs/control_nodes/data_processing_node.py +52 -0
  135. qewton-0.1.0/src/qewton/graphs/control_nodes/graph_node.py +475 -0
  136. qewton-0.1.0/src/qewton/graphs/control_nodes/wrapper_node.py +52 -0
  137. qewton-0.1.0/src/qewton/graphs/edges.py +29 -0
  138. qewton-0.1.0/src/qewton/graphs/graphs.py +1986 -0
  139. qewton-0.1.0/src/qewton/graphs/nodes.py +826 -0
  140. qewton-0.1.0/src/qewton/graphs/pipelines/__init__.py +1 -0
  141. qewton-0.1.0/src/qewton/graphs/pipelines/data_pipeline.py +89 -0
  142. qewton-0.1.0/src/qewton/graphs/pipelines/pinn_pipeline.py +286 -0
  143. qewton-0.1.0/src/qewton/optim/__init__.py +22 -0
  144. qewton-0.1.0/src/qewton/optim/base.py +26 -0
  145. qewton-0.1.0/src/qewton/optim/parameters/__init__.py +17 -0
  146. qewton-0.1.0/src/qewton/optim/parameters/categorical_hyperparameter.py +101 -0
  147. qewton-0.1.0/src/qewton/optim/parameters/dag.py +125 -0
  148. qewton-0.1.0/src/qewton/optim/parameters/helpers.py +96 -0
  149. qewton-0.1.0/src/qewton/optim/parameters/hyperparameter_base.py +396 -0
  150. qewton-0.1.0/src/qewton/optim/parameters/number_hyperparameter.py +180 -0
  151. qewton-0.1.0/src/qewton/optim/parameters/trainable_parameters.py +99 -0
  152. qewton-0.1.0/src/qewton/optim/trainer/__init__.py +20 -0
  153. qewton-0.1.0/src/qewton/optim/trainer/base_trainer.py +212 -0
  154. qewton-0.1.0/src/qewton/optim/trainer/callbacks/__init__.py +0 -0
  155. qewton-0.1.0/src/qewton/optim/trainer/callbacks/base_callback.py +41 -0
  156. qewton-0.1.0/src/qewton/optim/trainer/callbacks/log_callback.py +160 -0
  157. qewton-0.1.0/src/qewton/optim/trainer/callbacks/memory_callback.py +40 -0
  158. qewton-0.1.0/src/qewton/optim/trainer/callbacks/progressbar_callback.py +37 -0
  159. qewton-0.1.0/src/qewton/optim/trainer/callbacks/stoper_callback.py +17 -0
  160. qewton-0.1.0/src/qewton/optim/trainer/callbacks/training_callbacks.py +199 -0
  161. qewton-0.1.0/src/qewton/optim/trainer/function_trainer.py +139 -0
  162. qewton-0.1.0/src/qewton/optim/trainer/graph_trainer.py +361 -0
  163. qewton-0.1.0/src/qewton/optim/trainer/optimizers/optimizers.py +95 -0
  164. qewton-0.1.0/src/qewton/optim/trainer/optimizers/schedulers.py +123 -0
  165. qewton-0.1.0/src/qewton/optim/trainer/training_controllers.py +256 -0
  166. qewton-0.1.0/src/qewton/optim/tuner/__init__.py +17 -0
  167. qewton-0.1.0/src/qewton/optim/tuner/base.py +344 -0
  168. qewton-0.1.0/src/qewton/optim/tuner/grid_search.py +44 -0
  169. qewton-0.1.0/src/qewton/optim/tuner/optuna_tuner.py +235 -0
  170. qewton-0.1.0/src/qewton/optim/tuner/random_search.py +9 -0
  171. qewton-0.1.0/src/qewton/optim/tuner/results/__init__.py +0 -0
  172. qewton-0.1.0/src/qewton/optim/tuner/results/analyzer.py +515 -0
  173. qewton-0.1.0/src/qewton/optim/tuner/results/tune_results.py +191 -0
  174. qewton-0.1.0/src/qewton/optim/tuner/tuning_callbacks/__init__.py +0 -0
  175. qewton-0.1.0/src/qewton/optim/tuner/tuning_callbacks/early_stopping.py +107 -0
  176. qewton-0.1.0/src/qewton/optim/tuner/tuning_callbacks/state.py +16 -0
  177. qewton-0.1.0/src/qewton/optim/tuner/tuning_callbacks/tuning_callback.py +12 -0
  178. qewton-0.1.0/src/qewton/visualization/__init__.py +51 -0
  179. qewton-0.1.0/src/qewton/visualization/applications/__init__.py +3 -0
  180. qewton-0.1.0/src/qewton/visualization/applications/base.py +125 -0
  181. qewton-0.1.0/src/qewton/visualization/applications/dash_app.py +141 -0
  182. qewton-0.1.0/src/qewton/visualization/applications/widget_app.py +141 -0
  183. qewton-0.1.0/src/qewton/visualization/auto.py +429 -0
  184. qewton-0.1.0/src/qewton/visualization/axes.py +339 -0
  185. qewton-0.1.0/src/qewton/visualization/figure.py +700 -0
  186. qewton-0.1.0/src/qewton/visualization/layout.py +274 -0
  187. qewton-0.1.0/src/qewton/visualization/nodes.py +63 -0
  188. qewton-0.1.0/src/qewton/visualization/plots/__init__.py +34 -0
  189. qewton-0.1.0/src/qewton/visualization/plots/base.py +190 -0
  190. qewton-0.1.0/src/qewton/visualization/plots/color_channel.py +58 -0
  191. qewton-0.1.0/src/qewton/visualization/plots/data/__init__.py +16 -0
  192. qewton-0.1.0/src/qewton/visualization/plots/data/bar.py +71 -0
  193. qewton-0.1.0/src/qewton/visualization/plots/data/base.py +747 -0
  194. qewton-0.1.0/src/qewton/visualization/plots/data/heatmap.py +81 -0
  195. qewton-0.1.0/src/qewton/visualization/plots/data/image.py +80 -0
  196. qewton-0.1.0/src/qewton/visualization/plots/data/line.py +97 -0
  197. qewton-0.1.0/src/qewton/visualization/plots/data/scatter.py +90 -0
  198. qewton-0.1.0/src/qewton/visualization/plots/data/surface.py +89 -0
  199. qewton-0.1.0/src/qewton/visualization/plots/data/vector.py +124 -0
  200. qewton-0.1.0/src/qewton/visualization/plots/geometry/__init__.py +119 -0
  201. qewton-0.1.0/src/qewton/visualization/plots/graph/__init__.py +67 -0
  202. qewton-0.1.0/src/qewton/visualization/plots/graph/layout.py +481 -0
  203. qewton-0.1.0/src/qewton/visualization/plots/result.py +366 -0
  204. qewton-0.1.0/src/qewton/visualization/plots/table/__init__.py +4 -0
  205. qewton-0.1.0/src/qewton/visualization/plots/table/base.py +354 -0
  206. qewton-0.1.0/src/qewton/visualization/plots/table/heatmap.py +96 -0
  207. qewton-0.1.0/src/qewton/visualization/plots/table/parallel_coordinates.py +78 -0
  208. qewton-0.1.0/src/qewton/visualization/plots/table/scatter.py +79 -0
  209. qewton-0.1.0/src/qewton/visualization/references.py +53 -0
  210. qewton-0.1.0/src/qewton/visualization/renderers/__init__.py +20 -0
  211. qewton-0.1.0/src/qewton/visualization/renderers/base.py +327 -0
  212. qewton-0.1.0/src/qewton/visualization/renderers/matplotlib/__init__.py +576 -0
  213. qewton-0.1.0/src/qewton/visualization/renderers/matplotlib/primitives.py +414 -0
  214. qewton-0.1.0/src/qewton/visualization/renderers/matplotlib/style.py +187 -0
  215. qewton-0.1.0/src/qewton/visualization/renderers/matplotlib/text.py +65 -0
  216. qewton-0.1.0/src/qewton/visualization/renderers/plotly/__init__.py +792 -0
  217. qewton-0.1.0/src/qewton/visualization/renderers/plotly/camera.py +70 -0
  218. qewton-0.1.0/src/qewton/visualization/renderers/plotly/card_geometry.py +538 -0
  219. qewton-0.1.0/src/qewton/visualization/renderers/plotly/embedding.py +104 -0
  220. qewton-0.1.0/src/qewton/visualization/renderers/plotly/graph.py +509 -0
  221. qewton-0.1.0/src/qewton/visualization/renderers/plotly/layout.py +108 -0
  222. qewton-0.1.0/src/qewton/visualization/renderers/plotly/primitives.py +525 -0
  223. qewton-0.1.0/src/qewton/visualization/renderers/plotly/text.py +80 -0
  224. qewton-0.1.0/src/qewton/visualization/renderers/plotly/traces.py +71 -0
  225. qewton-0.1.0/src/qewton/visualization/renderers/space.py +256 -0
  226. qewton-0.1.0/src/qewton/visualization/renderers/text.py +72 -0
  227. qewton-0.1.0/src/qewton/visualization/scales.py +302 -0
  228. qewton-0.1.0/src/qewton/visualization/themes/__init__.py +6 -0
  229. qewton-0.1.0/src/qewton/visualization/themes/base.py +274 -0
  230. qewton-0.1.0/src/qewton/visualization/themes/cmaps.py +134 -0
  231. qewton-0.1.0/src/qewton/visualization/themes/palette.py +199 -0
  232. qewton-0.1.0/src/qewton.egg-info/PKG-INFO +113 -0
  233. qewton-0.1.0/src/qewton.egg-info/SOURCES.txt +235 -0
  234. qewton-0.1.0/src/qewton.egg-info/dependency_links.txt +1 -0
  235. qewton-0.1.0/src/qewton.egg-info/requires.txt +37 -0
  236. qewton-0.1.0/src/qewton.egg-info/top_level.txt +1 -0
  237. qewton-0.1.0/tests/test_workflow.py +151 -0
qewton-0.1.0/LICENSE ADDED
@@ -0,0 +1,190 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ Copyright 2026 Tom Freudenberg, Nick Heilenkötter
179
+
180
+ Licensed under the Apache License, Version 2.0 (the "License");
181
+ you may not use this file except in compliance with the License.
182
+ You may obtain a copy of the License at
183
+
184
+ http://www.apache.org/licenses/LICENSE-2.0
185
+
186
+ Unless required by applicable law or agreed to in writing, software
187
+ distributed under the License is distributed on an "AS IS" BASIS,
188
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
189
+ See the License for the specific language governing permissions and
190
+ limitations under the License.
qewton-0.1.0/PKG-INFO ADDED
@@ -0,0 +1,113 @@
1
+ Metadata-Version: 2.4
2
+ Name: qewton
3
+ Version: 0.1.0
4
+ Summary: Deep Learning Framework for Application Problems
5
+ Author-email: Tom Freudenberg <tomfre@uni-bremen.de>, Nick Heilenkötter <heilenkoetter@uni-bremen.de>
6
+ License-Expression: Apache-2.0
7
+ Project-URL: Homepage, https://github.com/Qewton-Labs/Qewton
8
+ Project-URL: Repository, https://github.com/Qewton-Labs/Qewton
9
+ Project-URL: Issues, https://github.com/Qewton-Labs/Qewton/issues
10
+ Project-URL: Documentation, https://qewton-labs.github.io/Qewton/
11
+ Project-URL: Changelog, https://github.com/Qewton-Labs/Qewton/blob/main/CHANGELOG.rst
12
+ Keywords: deep learning,scientific machine learning,operator learning,physics-informed neural networks,pinn,neural operators,pde
13
+ Classifier: Development Status :: 4 - Beta
14
+ Classifier: Intended Audience :: Science/Research
15
+ Classifier: Intended Audience :: Developers
16
+ Classifier: Operating System :: OS Independent
17
+ Classifier: Programming Language :: Python :: 3
18
+ Classifier: Programming Language :: Python :: 3 :: Only
19
+ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
20
+ Classifier: Topic :: Scientific/Engineering :: Mathematics
21
+ Classifier: Topic :: Scientific/Engineering :: Physics
22
+ Requires-Python: >=3.10
23
+ Description-Content-Type: text/markdown
24
+ License-File: LICENSE
25
+ Requires-Dist: numpy>=2.2
26
+ Requires-Dist: matplotlib>=3.10
27
+ Requires-Dist: tqdm>=4.65
28
+ Requires-Dist: meshio>=5.3
29
+ Requires-Dist: ipykernel>=6.0
30
+ Provides-Extra: torch
31
+ Requires-Dist: torch>=2.5; extra == "torch"
32
+ Provides-Extra: gmsh
33
+ Requires-Dist: gmsh>=4.11; extra == "gmsh"
34
+ Provides-Extra: plotly
35
+ Requires-Dist: plotly>=6.1; extra == "plotly"
36
+ Requires-Dist: kaleido>=1.0; extra == "plotly"
37
+ Requires-Dist: shapely>=2.0; extra == "plotly"
38
+ Provides-Extra: dash
39
+ Requires-Dist: dash>=3.0; extra == "dash"
40
+ Requires-Dist: plotly>=6.1; extra == "dash"
41
+ Provides-Extra: widgets
42
+ Requires-Dist: ipywidgets>=8.0; extra == "widgets"
43
+ Requires-Dist: ipympl>=0.9; extra == "widgets"
44
+ Provides-Extra: tuning
45
+ Requires-Dist: optuna>=4.0; extra == "tuning"
46
+ Requires-Dist: pandas>=2.0; extra == "tuning"
47
+ Provides-Extra: tensorboard
48
+ Requires-Dist: tensorboard>=2.14; extra == "tensorboard"
49
+ Provides-Extra: hdf5
50
+ Requires-Dist: h5py>=3.8; extra == "hdf5"
51
+ Provides-Extra: all
52
+ Requires-Dist: qewton[dash,gmsh,hdf5,plotly,tensorboard,torch,tuning,widgets]; extra == "all"
53
+ Dynamic: license-file
54
+
55
+ # Qewton: Deep Learning for Physics and Engineering
56
+
57
+ In Qewton, the goal is to provide easy-to-use but powerful deep learning tools for physics and engineering to everyone, lowering the barrier to entry the field of AI for simulations in any imaginable application. We pre-implement methods such as
58
+ - Operator Learning (Fourier Neural Operators, PCA-Nets, DeepONets)
59
+ - Differentiable Physics (WIP)
60
+ - PINNs (Physics-Informed Neural Networks)
61
+ - and many more to come.
62
+
63
+ To simplify their usage, we provide
64
+ - a graph-based API for defining and training models
65
+ - connections to existing engineering and deep learning software
66
+ - automatic model selection and hyperparameter tuning
67
+ - visualization tools
68
+ - automatic shape and data configuration checking
69
+ - pre-implemented differential operators, equations and training pipelines.
70
+
71
+
72
+ ### Note:
73
+ This library is currently in beta, therefore things are subject to change. Feel free to try, contribute and suggest features.
74
+
75
+ ### Installation:
76
+ Qewton requires Python 3.10 or newer. Deep learning backends and other features are optional extras. For training models you will want a backend, e.g. PyTorch:
77
+ ```bash
78
+ pip install "qewton[torch]"
79
+ ```
80
+ Extras can be combined with commas, e.g. PyTorch together with Gmsh for meshing CAD files:
81
+ ```bash
82
+ pip install "qewton[torch,gmsh]"
83
+ ```
84
+
85
+ | Extra | Installs | Enables |
86
+ |---------------|--------------------------------------------|----------------------------------------------------------|
87
+ | *(base)* | numpy, matplotlib, tqdm, meshio, ipykernel | the core library |
88
+ | `torch` | torch | the PyTorch backend |
89
+ | `gmsh` | gmsh | meshing CAD files like STEP/STL (`create_mesh_geometry`) |
90
+ | `plotly` | plotly, kaleido, shapely | the Plotly renderer and static image export |
91
+ | `dash` | dash, plotly | interactive figures as a web app (`DashApplication`) |
92
+ | `widgets` | ipywidgets, ipympl | interactive figures in Jupyter (`WidgetApplication`) |
93
+ | `tuning` | optuna, pandas | `OptunaTuner` and `TuningAnalyzer` |
94
+ | `tensorboard` | tensorboard | `TensorboardLogger` (together with `torch`) |
95
+ | `hdf5` | h5py | `HDF5DataSet` |
96
+ | `all` | all of the above | |
97
+
98
+ The quotes keep shells like zsh from interpreting the brackets. On Linux, the Gmsh package needs a few system libraries such as libGLU (e.g. `apt install libglu1-mesa`). To use a specific PyTorch build (e.g. CPU-only or a certain CUDA version), install PyTorch first following [pytorch.org](https://pytorch.org/get-started/locally/), then install Qewton with the extras you need.
99
+
100
+ To install the latest development version from GitHub:
101
+ ```bash
102
+ pip install "qewton[torch] @ git+https://github.com/Qewton-Labs/Qewton.git"
103
+ ```
104
+
105
+ ### Structure:
106
+ The core structure of Qewton is based on few key components:
107
+ <picture>
108
+ <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/Qewton-Labs/Qewton/main/images/struktur_dark.png">
109
+ <img alt="Workflow in Qewton" src="https://raw.githubusercontent.com/Qewton-Labs/Qewton/main/images/struktur_light.png">
110
+ </picture>
111
+
112
+ ### About us:
113
+ We are the creators of [TorchPhysics](https://github.com/qewton-labs/torchphysics), a deep learning library for PDEs. With Qewton, we aim to provide a more user-friendly and flexible framework for deep learning in physics and engineering.
qewton-0.1.0/README.md ADDED
@@ -0,0 +1,59 @@
1
+ # Qewton: Deep Learning for Physics and Engineering
2
+
3
+ In Qewton, the goal is to provide easy-to-use but powerful deep learning tools for physics and engineering to everyone, lowering the barrier to entry the field of AI for simulations in any imaginable application. We pre-implement methods such as
4
+ - Operator Learning (Fourier Neural Operators, PCA-Nets, DeepONets)
5
+ - Differentiable Physics (WIP)
6
+ - PINNs (Physics-Informed Neural Networks)
7
+ - and many more to come.
8
+
9
+ To simplify their usage, we provide
10
+ - a graph-based API for defining and training models
11
+ - connections to existing engineering and deep learning software
12
+ - automatic model selection and hyperparameter tuning
13
+ - visualization tools
14
+ - automatic shape and data configuration checking
15
+ - pre-implemented differential operators, equations and training pipelines.
16
+
17
+
18
+ ### Note:
19
+ This library is currently in beta, therefore things are subject to change. Feel free to try, contribute and suggest features.
20
+
21
+ ### Installation:
22
+ Qewton requires Python 3.10 or newer. Deep learning backends and other features are optional extras. For training models you will want a backend, e.g. PyTorch:
23
+ ```bash
24
+ pip install "qewton[torch]"
25
+ ```
26
+ Extras can be combined with commas, e.g. PyTorch together with Gmsh for meshing CAD files:
27
+ ```bash
28
+ pip install "qewton[torch,gmsh]"
29
+ ```
30
+
31
+ | Extra | Installs | Enables |
32
+ |---------------|--------------------------------------------|----------------------------------------------------------|
33
+ | *(base)* | numpy, matplotlib, tqdm, meshio, ipykernel | the core library |
34
+ | `torch` | torch | the PyTorch backend |
35
+ | `gmsh` | gmsh | meshing CAD files like STEP/STL (`create_mesh_geometry`) |
36
+ | `plotly` | plotly, kaleido, shapely | the Plotly renderer and static image export |
37
+ | `dash` | dash, plotly | interactive figures as a web app (`DashApplication`) |
38
+ | `widgets` | ipywidgets, ipympl | interactive figures in Jupyter (`WidgetApplication`) |
39
+ | `tuning` | optuna, pandas | `OptunaTuner` and `TuningAnalyzer` |
40
+ | `tensorboard` | tensorboard | `TensorboardLogger` (together with `torch`) |
41
+ | `hdf5` | h5py | `HDF5DataSet` |
42
+ | `all` | all of the above | |
43
+
44
+ The quotes keep shells like zsh from interpreting the brackets. On Linux, the Gmsh package needs a few system libraries such as libGLU (e.g. `apt install libglu1-mesa`). To use a specific PyTorch build (e.g. CPU-only or a certain CUDA version), install PyTorch first following [pytorch.org](https://pytorch.org/get-started/locally/), then install Qewton with the extras you need.
45
+
46
+ To install the latest development version from GitHub:
47
+ ```bash
48
+ pip install "qewton[torch] @ git+https://github.com/Qewton-Labs/Qewton.git"
49
+ ```
50
+
51
+ ### Structure:
52
+ The core structure of Qewton is based on few key components:
53
+ <picture>
54
+ <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/Qewton-Labs/Qewton/main/images/struktur_dark.png">
55
+ <img alt="Workflow in Qewton" src="https://raw.githubusercontent.com/Qewton-Labs/Qewton/main/images/struktur_light.png">
56
+ </picture>
57
+
58
+ ### About us:
59
+ We are the creators of [TorchPhysics](https://github.com/qewton-labs/torchphysics), a deep learning library for PDEs. With Qewton, we aim to provide a more user-friendly and flexible framework for deep learning in physics and engineering.
@@ -0,0 +1,162 @@
1
+ ###########################################################
2
+ # Project setup:
3
+ ###########################################################
4
+ [build-system]
5
+ # >=77 for the SPDX `license` expression and `license-files` (PEP 639).
6
+ requires = ["setuptools>=77.0"]
7
+ build-backend = "setuptools.build_meta"
8
+
9
+ [project]
10
+ name = "qewton"
11
+ version = "0.1.0"
12
+ description = "Deep Learning Framework for Application Problems"
13
+ readme = "README.md"
14
+ license = "Apache-2.0"
15
+ license-files = ["LICENSE"]
16
+ authors = [{ name = "Tom Freudenberg", email = "tomfre@uni-bremen.de" },
17
+ { name = "Nick Heilenkötter", email = "heilenkoetter@uni-bremen.de" }]
18
+ requires-python = ">=3.10"
19
+ keywords = [
20
+ "deep learning",
21
+ "scientific machine learning",
22
+ "operator learning",
23
+ "physics-informed neural networks",
24
+ "pinn",
25
+ "neural operators",
26
+ "pde",
27
+ ]
28
+ classifiers = [
29
+ "Development Status :: 4 - Beta",
30
+ "Intended Audience :: Science/Research",
31
+ "Intended Audience :: Developers",
32
+ "Operating System :: OS Independent",
33
+ "Programming Language :: Python :: 3",
34
+ "Programming Language :: Python :: 3 :: Only",
35
+ "Topic :: Scientific/Engineering :: Artificial Intelligence",
36
+ "Topic :: Scientific/Engineering :: Mathematics",
37
+ "Topic :: Scientific/Engineering :: Physics",
38
+ ]
39
+ # The core install has no deep learning backend; pick one via the extras
40
+ # below, e.g. `pip install "qewton[torch]"`.
41
+ dependencies = [
42
+ "numpy>=2.2",
43
+ "matplotlib>=3.10",
44
+ "tqdm>=4.65",
45
+ # Loading mesh files (.msh, .vtk, .xdmf, ...) via MeshGeometry.load_mesh
46
+ "meshio>=5.3",
47
+ # Jupyter kernel: run notebooks (e.g. the examples) in Jupyter or VS Code
48
+ "ipykernel>=6.0",
49
+ ]
50
+
51
+ # Optional features. Extras combine with commas: pip install "qewton[torch,gmsh]"
52
+ [project.optional-dependencies]
53
+ # --- Deep learning backends ---
54
+ torch = ["torch>=2.5"]
55
+ # --- Geometries ---
56
+ # Mesh CAD files (STEP, STL, BREP, ...) via create_mesh_geometry
57
+ gmsh = ["gmsh>=4.11"]
58
+ # --- Visualization ---
59
+ # Plotly renderer, static image export (kaleido) and geometry cards (shapely)
60
+ plotly = ["plotly>=6.1", "kaleido>=1.0", "shapely>=2.0"]
61
+ # DashApplication: figures as an interactive web app
62
+ dash = ["dash>=3.0", "plotly>=6.1"]
63
+ # WidgetApplication: interactive figures in Jupyter notebooks
64
+ widgets = ["ipywidgets>=8.0", "ipympl>=0.9"]
65
+ # --- Training ---
66
+ # OptunaTuner and TuningAnalyzer
67
+ tuning = ["optuna>=4.0", "pandas>=2.0"]
68
+ # TensorboardLogger (also needs the torch extra)
69
+ tensorboard = ["tensorboard>=2.14"]
70
+ # HDF5DataSet
71
+ hdf5 = ["h5py>=3.8"]
72
+ # --- Everything ---
73
+ all = ["qewton[torch,gmsh,plotly,dash,widgets,tuning,tensorboard,hdf5]"]
74
+
75
+ [project.urls]
76
+ Homepage = "https://github.com/Qewton-Labs/Qewton"
77
+ Repository = "https://github.com/Qewton-Labs/Qewton"
78
+ Issues = "https://github.com/Qewton-Labs/Qewton/issues"
79
+ Documentation = "https://qewton-labs.github.io/Qewton/"
80
+ Changelog = "https://github.com/Qewton-Labs/Qewton/blob/main/CHANGELOG.rst"
81
+
82
+ [tool.setuptools]
83
+ package-dir = {"" = "src"}
84
+
85
+ [tool.setuptools.packages.find]
86
+ where = ["src"]
87
+
88
+ ###########################################################
89
+ # Formatting setup:
90
+ ###########################################################
91
+ [tool.pyright]
92
+ reportIncompatibleMethodOverride = "none"
93
+
94
+ [tool.black]
95
+ line-length = 90
96
+ skip-string-normalization = false
97
+ target-version = ["py310"]
98
+
99
+ [tool.pylint.main]
100
+ py-version = "3.10"
101
+ ignore = [
102
+ "venv",
103
+ ".venv",
104
+ "__pycache__",
105
+ ]
106
+
107
+ [tool.pylint.messages_control]
108
+ disable = [
109
+ "missing-module-docstring",
110
+ "missing-class-docstring",
111
+ "missing-function-docstring",
112
+ "duplicate-code",
113
+ "fixme",
114
+ "too-few-public-methods",
115
+ "E0402",
116
+ "R0902",
117
+ "C0415",
118
+ "W0221"
119
+ ]
120
+
121
+ [tool.pylint.format]
122
+ max-line-length = 90
123
+ indent-string = " "
124
+
125
+ [tool.pylint.naming]
126
+ function-naming-style = "snake_case"
127
+ method-naming-style = "snake_case"
128
+ variable-naming-style = "snake_case"
129
+ class-naming-style = "PascalCase"
130
+ const-naming-style = "UPPER_CASE"
131
+
132
+ [tool.pylint.design]
133
+ max-args = 10
134
+ max-locals = 15
135
+ max-branches = 12
136
+ max-statements = 50
137
+ max-returns = 5
138
+ max-positional-arguments = 12
139
+
140
+ [tool.pylint.reports]
141
+ reports = false
142
+ score = true
143
+
144
+ [tool.pytest.ini_options]
145
+ testpaths = ["tests"]
146
+ norecursedirs = ["examples", ".*", "build", "dist", "venv"]
147
+
148
+ # Development-only dependencies (PEP 735): not published as extras.
149
+ # Install with `pip install --group dev` (pip>=25.1) or `uv sync`.
150
+ [dependency-groups]
151
+ dev = [
152
+ "neuraloperator>=2.0.0",
153
+ "pytest>=8.0",
154
+ "pytest-cov>=5.0",
155
+ "pytest-xdist>=3.6",
156
+ ]
157
+ docs = [
158
+ "sphinx>=8.0",
159
+ "sphinx-autoapi>=3.0",
160
+ "furo>=2024.1",
161
+ "m2r2>=0.3",
162
+ ]
qewton-0.1.0/setup.cfg ADDED
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,22 @@
1
+ from importlib.metadata import PackageNotFoundError, version as _version
2
+
3
+ try:
4
+ __version__ = _version("qewton")
5
+ except PackageNotFoundError: # running from a source tree without installing
6
+ __version__ = "unknown"
7
+
8
+ from .algorithms import *
9
+ from .algorithms import building_blocks as bb
10
+ from .config import *
11
+ from .data import *
12
+
13
+ from .graphs import *
14
+ from .graphs.pipelines import *
15
+ from .optim.parameters import *
16
+ from . import optim
17
+ from .constraints import *
18
+
19
+ from . import visualization as viz
20
+
21
+ from . import geometries
22
+ from . import backends
@@ -0,0 +1,12 @@
1
+ from .dl_models.fcn import FCN, DeepRitzNet, QRES
2
+ from .dl_models.convolutions.cnn import CNN, UNet
3
+ from .dl_models.convolutions.encoding import ConvolutionalEncoder
4
+ from .dl_models.harmonic_fcn import HarmonicEmbedding, HarmonicFCN
5
+
6
+ from .dl_models.pca_net import PCANet
7
+ from .dl_models.fno import FNO
8
+
9
+ from .dl_models.deeponet.base import DeepONet
10
+ from .dl_models.deeponet.merge_nodes import DefaultMerger
11
+ from .dl_models.deeponet.deeponet_fcn import FCNDeepONet
12
+ from .dl_models.deeponet.deeponet_cnn import CNNDeepONet
@@ -0,0 +1,91 @@
1
+ from .parameters import ParameterNode
2
+ from .activation_functions import ReLU, Tanh, Sigmoid, AdaptiveActivation, SoftPlus
3
+ from .linear import Linear, FunctionalLinear, Quadratic
4
+ from .conv import (
5
+ FunctionalConv,
6
+ Conv,
7
+ Conv1D,
8
+ Conv2D,
9
+ Conv3D,
10
+ DoubleConv,
11
+ MaxPool1D,
12
+ MaxPool2D,
13
+ MaxPool3D,
14
+ AvgPool1D,
15
+ AvgPool2D,
16
+ AvgPool3D,
17
+ FunctionalBatchNorm,
18
+ BatchNorm,
19
+ BatchNorm1D,
20
+ BatchNorm2D,
21
+ BatchNorm3D,
22
+ Interpolate,
23
+ )
24
+
25
+ from .math import (
26
+ Add,
27
+ Subtract,
28
+ Multiply,
29
+ Divide,
30
+ Square,
31
+ Sqrt,
32
+ Power,
33
+ Mod,
34
+ Sin,
35
+ Cos,
36
+ Tan,
37
+ ArcSin,
38
+ ArcCos,
39
+ ArcTan,
40
+ Abs,
41
+ Ceil,
42
+ Floor,
43
+ Maximum,
44
+ Minimum,
45
+ MatMul,
46
+ Mean,
47
+ Sum,
48
+ Std,
49
+ Exp,
50
+ Log,
51
+ Log2,
52
+ Log10,
53
+ SVD,
54
+ Negative,
55
+ Inner,
56
+ Norm,
57
+ Dot,
58
+ Transpose,
59
+ )
60
+
61
+ from .array_operations import (
62
+ SplitVariables,
63
+ Slice,
64
+ Narrow,
65
+ Squeeze,
66
+ Unsqueeze,
67
+ ConcatVariables,
68
+ ConcatNode,
69
+ SetItem,
70
+ Reshape,
71
+ Flatten,
72
+ Unflatten,
73
+ Repeat,
74
+ ReshapeAtDim,
75
+ )
76
+ from .derivatives import (
77
+ GradientTracking,
78
+ Gradient,
79
+ Laplacian,
80
+ NormalDerivative,
81
+ Divergence,
82
+ Jacobian,
83
+ Partial,
84
+ Hessian,
85
+ MatrixDivergence,
86
+ Rotation,
87
+ SymmetricGradient,
88
+ )
89
+ from .creation import Zeros, ZerosLike, Ones, OnesLike, Identity
90
+ from .geometry import MeshInterpolationNode
91
+ from .norms import MSN