FiberFusing 1.0.0.post0__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.

Potentially problematic release.


This version of FiberFusing might be problematic. Click here for more details.

Files changed (406) hide show
  1. fiberfusing-1.0.0.post0/.github/dependabot.yml +11 -0
  2. fiberfusing-1.0.0.post0/.github/workflows/deploy_anaconda.yml +34 -0
  3. fiberfusing-1.0.0.post0/.github/workflows/deploy_coverage.yml +54 -0
  4. fiberfusing-1.0.0.post0/.github/workflows/deploy_documentation.yml +60 -0
  5. fiberfusing-1.0.0.post0/.github/workflows/deploy_pypi.yml +30 -0
  6. fiberfusing-1.0.0.post0/.gitignore +17 -0
  7. fiberfusing-1.0.0.post0/.readthedocs.yml +35 -0
  8. fiberfusing-1.0.0.post0/FiberFusing/__init__.py +15 -0
  9. fiberfusing-1.0.0.post0/FiberFusing/_version.py +16 -0
  10. fiberfusing-1.0.0.post0/FiberFusing/background.py +88 -0
  11. fiberfusing-1.0.0.post0/FiberFusing/base_fused.py +624 -0
  12. fiberfusing-1.0.0.post0/FiberFusing/buffer.py +162 -0
  13. fiberfusing-1.0.0.post0/FiberFusing/components/__init__.py +0 -0
  14. fiberfusing-1.0.0.post0/FiberFusing/components/base_class.py +161 -0
  15. fiberfusing-1.0.0.post0/FiberFusing/components/linestring.py +111 -0
  16. fiberfusing-1.0.0.post0/FiberFusing/components/point.py +88 -0
  17. fiberfusing-1.0.0.post0/FiberFusing/components/polygon.py +405 -0
  18. fiberfusing-1.0.0.post0/FiberFusing/components/utils.py +59 -0
  19. fiberfusing-1.0.0.post0/FiberFusing/configuration/__init__.py +7 -0
  20. fiberfusing-1.0.0.post0/FiberFusing/configuration/line/__init__.py +10 -0
  21. fiberfusing-1.0.0.post0/FiberFusing/configuration/line/configuration_01x01.py +30 -0
  22. fiberfusing-1.0.0.post0/FiberFusing/configuration/line/configuration_02x02.py +37 -0
  23. fiberfusing-1.0.0.post0/FiberFusing/configuration/line/configuration_03x03.py +36 -0
  24. fiberfusing-1.0.0.post0/FiberFusing/configuration/line/configuration_04x04.py +36 -0
  25. fiberfusing-1.0.0.post0/FiberFusing/configuration/line/configuration_05x05.py +36 -0
  26. fiberfusing-1.0.0.post0/FiberFusing/configuration/ring/__init__.py +15 -0
  27. fiberfusing-1.0.0.post0/FiberFusing/configuration/ring/configuration_01x01.py +30 -0
  28. fiberfusing-1.0.0.post0/FiberFusing/configuration/ring/configuration_02x02.py +35 -0
  29. fiberfusing-1.0.0.post0/FiberFusing/configuration/ring/configuration_03x03.py +43 -0
  30. fiberfusing-1.0.0.post0/FiberFusing/configuration/ring/configuration_04x04.py +43 -0
  31. fiberfusing-1.0.0.post0/FiberFusing/configuration/ring/configuration_05x05.py +43 -0
  32. fiberfusing-1.0.0.post0/FiberFusing/configuration/ring/configuration_06x06.py +43 -0
  33. fiberfusing-1.0.0.post0/FiberFusing/configuration/ring/configuration_07x07.py +44 -0
  34. fiberfusing-1.0.0.post0/FiberFusing/configuration/ring/configuration_10x10.py +50 -0
  35. fiberfusing-1.0.0.post0/FiberFusing/configuration/ring/configuration_12x12.py +55 -0
  36. fiberfusing-1.0.0.post0/FiberFusing/configuration/ring/configuration_19x19.py +57 -0
  37. fiberfusing-1.0.0.post0/FiberFusing/configuration/ring/mode_groupe_pl_6.py +48 -0
  38. fiberfusing-1.0.0.post0/FiberFusing/configuration/ring/scaling_photonic_lantern_10.py +56 -0
  39. fiberfusing-1.0.0.post0/FiberFusing/connection.py +369 -0
  40. fiberfusing-1.0.0.post0/FiberFusing/connection_optimization.py +246 -0
  41. fiberfusing-1.0.0.post0/FiberFusing/coordinate_system.py +240 -0
  42. fiberfusing-1.0.0.post0/FiberFusing/directories.py +39 -0
  43. fiberfusing-1.0.0.post0/FiberFusing/fiber/__init__.py +0 -0
  44. fiberfusing-1.0.0.post0/FiberFusing/fiber/catalogue.py +164 -0
  45. fiberfusing-1.0.0.post0/FiberFusing/fiber/fiber_files/1550BHP.yaml +14 -0
  46. fiberfusing-1.0.0.post0/FiberFusing/fiber/fiber_files/DCF13.yaml +18 -0
  47. fiberfusing-1.0.0.post0/FiberFusing/fiber/fiber_files/DCF1300S_20.yaml +17 -0
  48. fiberfusing-1.0.0.post0/FiberFusing/fiber/fiber_files/DCF1300S_26.yaml +18 -0
  49. fiberfusing-1.0.0.post0/FiberFusing/fiber/fiber_files/DCF1300S_33.yaml +17 -0
  50. fiberfusing-1.0.0.post0/FiberFusing/fiber/fiber_files/DCF1300S_42.yaml +18 -0
  51. fiberfusing-1.0.0.post0/FiberFusing/fiber/fiber_files/F2028M12.yaml +18 -0
  52. fiberfusing-1.0.0.post0/FiberFusing/fiber/fiber_files/F2028M21.yaml +18 -0
  53. fiberfusing-1.0.0.post0/FiberFusing/fiber/fiber_files/F2028M24.yaml +18 -0
  54. fiberfusing-1.0.0.post0/FiberFusing/fiber/fiber_files/F2058G1.yaml +18 -0
  55. fiberfusing-1.0.0.post0/FiberFusing/fiber/fiber_files/F2058L1.yaml +18 -0
  56. fiberfusing-1.0.0.post0/FiberFusing/fiber/fiber_files/HI1060.yaml +14 -0
  57. fiberfusing-1.0.0.post0/FiberFusing/fiber/fiber_files/HP630.yaml +13 -0
  58. fiberfusing-1.0.0.post0/FiberFusing/fiber/fiber_files/SM1950.yaml +14 -0
  59. fiberfusing-1.0.0.post0/FiberFusing/fiber/fiber_files/SMF28.yaml +14 -0
  60. fiberfusing-1.0.0.post0/FiberFusing/fiber/fiber_files/fluorine_doped_1%_capillary.yaml +9 -0
  61. fiberfusing-1.0.0.post0/FiberFusing/fiber/fiber_files/fluorine_doped_2%_capillary.yaml +9 -0
  62. fiberfusing-1.0.0.post0/FiberFusing/fiber/fiber_files/test_fiber.yaml +14 -0
  63. fiberfusing-1.0.0.post0/FiberFusing/fiber/fiber_files/test_multimode_fiber.yaml +14 -0
  64. fiberfusing-1.0.0.post0/FiberFusing/fiber/generic_fiber.py +472 -0
  65. fiberfusing-1.0.0.post0/FiberFusing/fiber/loader.py +119 -0
  66. fiberfusing-1.0.0.post0/FiberFusing/fiber/structure_collection.py +173 -0
  67. fiberfusing-1.0.0.post0/FiberFusing/fiber_structure.py +208 -0
  68. fiberfusing-1.0.0.post0/FiberFusing/geometry.py +405 -0
  69. fiberfusing-1.0.0.post0/FiberFusing/optical_structure.py +96 -0
  70. fiberfusing-1.0.0.post0/FiberFusing/overlay_structure_on_mesh.py +37 -0
  71. fiberfusing-1.0.0.post0/FiberFusing/plottings.py +44 -0
  72. fiberfusing-1.0.0.post0/FiberFusing/utils.py +218 -0
  73. fiberfusing-1.0.0.post0/FiberFusing.egg-info/PKG-INFO +170 -0
  74. fiberfusing-1.0.0.post0/FiberFusing.egg-info/SOURCES.txt +404 -0
  75. fiberfusing-1.0.0.post0/FiberFusing.egg-info/dependency_links.txt +1 -0
  76. fiberfusing-1.0.0.post0/FiberFusing.egg-info/requires.txt +23 -0
  77. fiberfusing-1.0.0.post0/FiberFusing.egg-info/top_level.txt +1 -0
  78. fiberfusing-1.0.0.post0/LICENSE +21 -0
  79. fiberfusing-1.0.0.post0/PKG-INFO +170 -0
  80. fiberfusing-1.0.0.post0/README.rst +105 -0
  81. fiberfusing-1.0.0.post0/docs/Makefile +19 -0
  82. fiberfusing-1.0.0.post0/docs/examples/README.rst +6 -0
  83. fiberfusing-1.0.0.post0/docs/examples/clad/README.rst +2 -0
  84. fiberfusing-1.0.0.post0/docs/examples/clad/plot_line_3.py +18 -0
  85. fiberfusing-1.0.0.post0/docs/examples/clad/plot_line_4.py +18 -0
  86. fiberfusing-1.0.0.post0/docs/examples/clad/plot_line_5.py +18 -0
  87. fiberfusing-1.0.0.post0/docs/examples/clad/plot_ring_12.py +16 -0
  88. fiberfusing-1.0.0.post0/docs/examples/clad/plot_ring_19.py +17 -0
  89. fiberfusing-1.0.0.post0/docs/examples/clad/plot_ring_2.py +17 -0
  90. fiberfusing-1.0.0.post0/docs/examples/clad/plot_ring_3py +17 -0
  91. fiberfusing-1.0.0.post0/docs/examples/clad/plot_ring_4.py +17 -0
  92. fiberfusing-1.0.0.post0/docs/examples/clad/plot_ring_7.py +17 -0
  93. fiberfusing-1.0.0.post0/docs/examples/clad/plot_single.py +17 -0
  94. fiberfusing-1.0.0.post0/docs/examples/geometry/README.rst +2 -0
  95. fiberfusing-1.0.0.post0/docs/examples/geometry/plot_line_3.py +44 -0
  96. fiberfusing-1.0.0.post0/docs/examples/geometry/plot_line_4.py +44 -0
  97. fiberfusing-1.0.0.post0/docs/examples/geometry/plot_line_5.py +44 -0
  98. fiberfusing-1.0.0.post0/docs/examples/geometry/plot_ring_10.py +43 -0
  99. fiberfusing-1.0.0.post0/docs/examples/geometry/plot_ring_2.py +44 -0
  100. fiberfusing-1.0.0.post0/docs/examples/geometry/plot_ring_3.py +44 -0
  101. fiberfusing-1.0.0.post0/docs/examples/geometry/plot_ring_4.py +45 -0
  102. fiberfusing-1.0.0.post0/docs/examples/geometry/plot_ring_5.py +45 -0
  103. fiberfusing-1.0.0.post0/docs/examples/geometry/plot_ring_7.py +44 -0
  104. fiberfusing-1.0.0.post0/docs/examples/geometry/plot_single.py +44 -0
  105. fiberfusing-1.0.0.post0/docs/images/logo.png +0 -0
  106. fiberfusing-1.0.0.post0/docs/make.bat +35 -0
  107. fiberfusing-1.0.0.post0/docs/source/_static/default.css +19 -0
  108. fiberfusing-1.0.0.post0/docs/source/code/buffer.rst +17 -0
  109. fiberfusing-1.0.0.post0/docs/source/code/components.rst +31 -0
  110. fiberfusing-1.0.0.post0/docs/source/code/coordinate_system.rst +10 -0
  111. fiberfusing-1.0.0.post0/docs/source/code/geometry.rst +10 -0
  112. fiberfusing-1.0.0.post0/docs/source/code/overlay_structure.rst +10 -0
  113. fiberfusing-1.0.0.post0/docs/source/code/utils.rst +22 -0
  114. fiberfusing-1.0.0.post0/docs/source/code.rst +21 -0
  115. fiberfusing-1.0.0.post0/docs/source/conf.py +177 -0
  116. fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/sphx_glr_plot_clad_01_001.png +0 -0
  117. fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/sphx_glr_plot_clad_02_001.png +0 -0
  118. fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/sphx_glr_plot_clad_03_001.png +0 -0
  119. fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/sphx_glr_plot_clad_04_001.png +0 -0
  120. fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/sphx_glr_plot_clad_05_001.png +0 -0
  121. fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/sphx_glr_plot_clad_06_001.png +0 -0
  122. fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/sphx_glr_plot_clad_07_001.png +0 -0
  123. fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/sphx_glr_plot_clad_08_001.png +0 -0
  124. fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/sphx_glr_plot_clad_09_001.png +0 -0
  125. fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/sphx_glr_plot_clad_10_001.png +0 -0
  126. fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/sphx_glr_plot_line_3_001.png +0 -0
  127. fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/sphx_glr_plot_line_4_001.png +0 -0
  128. fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/sphx_glr_plot_line_5_001.png +0 -0
  129. fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/sphx_glr_plot_ring_12_001.png +0 -0
  130. fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/sphx_glr_plot_ring_19_001.png +0 -0
  131. fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/sphx_glr_plot_ring_2_001.png +0 -0
  132. fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/sphx_glr_plot_ring_4_001.png +0 -0
  133. fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/sphx_glr_plot_ring_7_001.png +0 -0
  134. fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/sphx_glr_plot_single_001.png +0 -0
  135. fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/thumb/sphx_glr_plot_clad_01_thumb.png +0 -0
  136. fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/thumb/sphx_glr_plot_clad_02_thumb.png +0 -0
  137. fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/thumb/sphx_glr_plot_clad_03_thumb.png +0 -0
  138. fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/thumb/sphx_glr_plot_clad_04_thumb.png +0 -0
  139. fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/thumb/sphx_glr_plot_clad_05_thumb.png +0 -0
  140. fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/thumb/sphx_glr_plot_clad_06_thumb.png +0 -0
  141. fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/thumb/sphx_glr_plot_clad_07_thumb.png +0 -0
  142. fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/thumb/sphx_glr_plot_clad_08_thumb.png +0 -0
  143. fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/thumb/sphx_glr_plot_clad_09_thumb.png +0 -0
  144. fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/thumb/sphx_glr_plot_clad_10_thumb.png +0 -0
  145. fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/thumb/sphx_glr_plot_line_3_thumb.png +0 -0
  146. fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/thumb/sphx_glr_plot_line_4_thumb.png +0 -0
  147. fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/thumb/sphx_glr_plot_line_5_thumb.png +0 -0
  148. fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/thumb/sphx_glr_plot_ring_12_thumb.png +0 -0
  149. fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/thumb/sphx_glr_plot_ring_19_thumb.png +0 -0
  150. fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/thumb/sphx_glr_plot_ring_2_thumb.png +0 -0
  151. fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/thumb/sphx_glr_plot_ring_4_thumb.png +0 -0
  152. fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/thumb/sphx_glr_plot_ring_7_thumb.png +0 -0
  153. fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/thumb/sphx_glr_plot_single_thumb.png +0 -0
  154. fiberfusing-1.0.0.post0/docs/source/gallery/clad/index.rst +189 -0
  155. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_01.ipynb +43 -0
  156. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_01.py +17 -0
  157. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_01.py.md5 +1 -0
  158. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_01.rst +81 -0
  159. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_01_codeobj.pickle +0 -0
  160. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_02.ipynb +43 -0
  161. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_02.py +17 -0
  162. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_02.py.md5 +1 -0
  163. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_02.rst +81 -0
  164. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_02_codeobj.pickle +0 -0
  165. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_03.ipynb +43 -0
  166. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_03.py +17 -0
  167. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_03.py.md5 +1 -0
  168. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_03.rst +92 -0
  169. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_03_codeobj.pickle +0 -0
  170. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_04.ipynb +43 -0
  171. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_04.py +17 -0
  172. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_04.py.md5 +1 -0
  173. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_04.rst +81 -0
  174. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_04_codeobj.pickle +0 -0
  175. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_05.ipynb +43 -0
  176. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_05.py +17 -0
  177. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_05.py.md5 +1 -0
  178. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_05.rst +94 -0
  179. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_05_codeobj.pickle +0 -0
  180. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_06.ipynb +43 -0
  181. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_06.py +16 -0
  182. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_06.py.md5 +1 -0
  183. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_06.rst +80 -0
  184. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_06_codeobj.pickle +0 -0
  185. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_07.ipynb +43 -0
  186. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_07.py +17 -0
  187. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_07.py.md5 +1 -0
  188. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_07.rst +81 -0
  189. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_07_codeobj.pickle +0 -0
  190. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_08.ipynb +43 -0
  191. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_08.py +18 -0
  192. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_08.py.md5 +1 -0
  193. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_08.rst +93 -0
  194. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_08_codeobj.pickle +0 -0
  195. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_09.ipynb +43 -0
  196. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_09.py +18 -0
  197. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_09.py.md5 +1 -0
  198. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_09.rst +82 -0
  199. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_09_codeobj.pickle +0 -0
  200. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_10.ipynb +43 -0
  201. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_10.py +18 -0
  202. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_10.py.md5 +1 -0
  203. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_10.rst +93 -0
  204. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_10_codeobj.pickle +0 -0
  205. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_line_3.ipynb +43 -0
  206. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_line_3.py +18 -0
  207. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_line_3.py.md5 +1 -0
  208. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_line_3.rst +166 -0
  209. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_line_3_codeobj.pickle +0 -0
  210. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_line_4.ipynb +43 -0
  211. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_line_4.py +18 -0
  212. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_line_4.py.md5 +1 -0
  213. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_line_4.rst +82 -0
  214. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_line_4_codeobj.pickle +0 -0
  215. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_line_5.ipynb +43 -0
  216. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_line_5.py +18 -0
  217. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_line_5.py.md5 +1 -0
  218. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_line_5.rst +82 -0
  219. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_line_5_codeobj.pickle +0 -0
  220. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_ring_12.ipynb +43 -0
  221. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_ring_12.py +16 -0
  222. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_ring_12.py.md5 +1 -0
  223. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_ring_12.rst +80 -0
  224. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_ring_12_codeobj.pickle +0 -0
  225. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_ring_19.ipynb +43 -0
  226. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_ring_19.py +17 -0
  227. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_ring_19.py.md5 +1 -0
  228. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_ring_19.rst +81 -0
  229. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_ring_19_codeobj.pickle +0 -0
  230. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_ring_2.ipynb +43 -0
  231. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_ring_2.py +17 -0
  232. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_ring_2.py.md5 +1 -0
  233. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_ring_2.rst +81 -0
  234. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_ring_2_codeobj.pickle +0 -0
  235. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_ring_4.ipynb +43 -0
  236. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_ring_4.py +17 -0
  237. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_ring_4.py.md5 +1 -0
  238. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_ring_4.rst +81 -0
  239. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_ring_4_codeobj.pickle +0 -0
  240. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_ring_7.ipynb +43 -0
  241. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_ring_7.py +17 -0
  242. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_ring_7.py.md5 +1 -0
  243. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_ring_7.rst +94 -0
  244. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_ring_7_codeobj.pickle +0 -0
  245. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_single.ipynb +43 -0
  246. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_single.py +17 -0
  247. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_single.py.md5 +1 -0
  248. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_single.rst +81 -0
  249. fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_single_codeobj.pickle +0 -0
  250. fiberfusing-1.0.0.post0/docs/source/gallery/clad/sg_execution_times.rst +29 -0
  251. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/sphx_glr_plot_geometry_01_001.png +0 -0
  252. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/sphx_glr_plot_geometry_02_001.png +0 -0
  253. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/sphx_glr_plot_geometry_03_001.png +0 -0
  254. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/sphx_glr_plot_geometry_04_001.png +0 -0
  255. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/sphx_glr_plot_geometry_05_001.png +0 -0
  256. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/sphx_glr_plot_geometry_06_001.png +0 -0
  257. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/sphx_glr_plot_geometry_07_001.png +0 -0
  258. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/sphx_glr_plot_geometry_08_001.png +0 -0
  259. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/sphx_glr_plot_geometry_09_001.png +0 -0
  260. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/sphx_glr_plot_geometry_10_001.png +0 -0
  261. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/sphx_glr_plot_line_3_001.png +0 -0
  262. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/sphx_glr_plot_line_4_001.png +0 -0
  263. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/sphx_glr_plot_line_5_001.png +0 -0
  264. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/sphx_glr_plot_ring_10_001.png +0 -0
  265. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/sphx_glr_plot_ring_2_001.png +0 -0
  266. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/sphx_glr_plot_ring_3_001.png +0 -0
  267. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/sphx_glr_plot_ring_4_001.png +0 -0
  268. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/sphx_glr_plot_ring_5_001.png +0 -0
  269. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/sphx_glr_plot_ring_7_001.png +0 -0
  270. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/sphx_glr_plot_single_001.png +0 -0
  271. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/thumb/sphx_glr_plot_geometry_01_thumb.png +0 -0
  272. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/thumb/sphx_glr_plot_geometry_02_thumb.png +0 -0
  273. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/thumb/sphx_glr_plot_geometry_03_thumb.png +0 -0
  274. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/thumb/sphx_glr_plot_geometry_04_thumb.png +0 -0
  275. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/thumb/sphx_glr_plot_geometry_05_thumb.png +0 -0
  276. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/thumb/sphx_glr_plot_geometry_06_thumb.png +0 -0
  277. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/thumb/sphx_glr_plot_geometry_07_thumb.png +0 -0
  278. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/thumb/sphx_glr_plot_geometry_08_thumb.png +0 -0
  279. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/thumb/sphx_glr_plot_geometry_09_thumb.png +0 -0
  280. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/thumb/sphx_glr_plot_geometry_10_thumb.png +0 -0
  281. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/thumb/sphx_glr_plot_line_3_thumb.png +0 -0
  282. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/thumb/sphx_glr_plot_line_4_thumb.png +0 -0
  283. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/thumb/sphx_glr_plot_line_5_thumb.png +0 -0
  284. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/thumb/sphx_glr_plot_ring_10_thumb.png +0 -0
  285. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/thumb/sphx_glr_plot_ring_2_thumb.png +0 -0
  286. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/thumb/sphx_glr_plot_ring_3_thumb.png +0 -0
  287. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/thumb/sphx_glr_plot_ring_4_thumb.png +0 -0
  288. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/thumb/sphx_glr_plot_ring_5_thumb.png +0 -0
  289. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/thumb/sphx_glr_plot_ring_7_thumb.png +0 -0
  290. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/thumb/sphx_glr_plot_single_thumb.png +0 -0
  291. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/index.rst +207 -0
  292. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_01.ipynb +43 -0
  293. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_01.py +35 -0
  294. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_01.py.md5 +1 -0
  295. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_01.rst +99 -0
  296. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_01_codeobj.pickle +0 -0
  297. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_02.ipynb +43 -0
  298. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_02.py +39 -0
  299. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_02.py.md5 +1 -0
  300. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_02.rst +103 -0
  301. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_02_codeobj.pickle +0 -0
  302. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_03.ipynb +43 -0
  303. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_03.py +36 -0
  304. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_03.py.md5 +1 -0
  305. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_03.rst +113 -0
  306. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_03_codeobj.pickle +0 -0
  307. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_04.ipynb +43 -0
  308. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_04.py +39 -0
  309. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_04.py.md5 +1 -0
  310. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_04.rst +103 -0
  311. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_04_codeobj.pickle +0 -0
  312. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_05.ipynb +43 -0
  313. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_05.py +38 -0
  314. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_05.py.md5 +1 -0
  315. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_05.rst +102 -0
  316. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_05_codeobj.pickle +0 -0
  317. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_06.ipynb +43 -0
  318. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_06.py +38 -0
  319. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_06.py.md5 +1 -0
  320. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_06.rst +115 -0
  321. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_06_codeobj.pickle +0 -0
  322. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_07.ipynb +43 -0
  323. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_07.py +36 -0
  324. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_07.py.md5 +1 -0
  325. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_07.rst +100 -0
  326. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_07_codeobj.pickle +0 -0
  327. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_08.ipynb +43 -0
  328. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_08.py +37 -0
  329. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_08.py.md5 +1 -0
  330. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_08.rst +112 -0
  331. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_08_codeobj.pickle +0 -0
  332. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_09.ipynb +43 -0
  333. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_09.py +37 -0
  334. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_09.py.md5 +1 -0
  335. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_09.rst +101 -0
  336. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_09_codeobj.pickle +0 -0
  337. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_10.ipynb +43 -0
  338. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_10.py +37 -0
  339. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_10.py.md5 +1 -0
  340. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_10.rst +112 -0
  341. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_10_codeobj.pickle +0 -0
  342. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_line_3.ipynb +61 -0
  343. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_line_3.py +44 -0
  344. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_line_3.py.md5 +1 -0
  345. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_line_3.rst +201 -0
  346. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_line_3_codeobj.pickle +0 -0
  347. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_line_4.ipynb +61 -0
  348. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_line_4.py +44 -0
  349. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_line_4.py.md5 +1 -0
  350. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_line_4.rst +121 -0
  351. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_line_4_codeobj.pickle +0 -0
  352. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_line_5.ipynb +61 -0
  353. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_line_5.py +44 -0
  354. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_line_5.py.md5 +1 -0
  355. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_line_5.rst +121 -0
  356. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_line_5_codeobj.pickle +0 -0
  357. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_ring_10.ipynb +61 -0
  358. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_ring_10.py +43 -0
  359. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_ring_10.py.md5 +1 -0
  360. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_ring_10.rst +120 -0
  361. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_ring_10_codeobj.pickle +0 -0
  362. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_ring_2.ipynb +61 -0
  363. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_ring_2.py +44 -0
  364. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_ring_2.py.md5 +1 -0
  365. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_ring_2.rst +121 -0
  366. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_ring_2_codeobj.pickle +0 -0
  367. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_ring_3.ipynb +61 -0
  368. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_ring_3.py +44 -0
  369. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_ring_3.py.md5 +1 -0
  370. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_ring_3.rst +130 -0
  371. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_ring_3_codeobj.pickle +0 -0
  372. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_ring_4.ipynb +61 -0
  373. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_ring_4.py +45 -0
  374. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_ring_4.py.md5 +1 -0
  375. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_ring_4.rst +122 -0
  376. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_ring_4_codeobj.pickle +0 -0
  377. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_ring_5.ipynb +61 -0
  378. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_ring_5.py +45 -0
  379. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_ring_5.py.md5 +1 -0
  380. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_ring_5.rst +122 -0
  381. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_ring_5_codeobj.pickle +0 -0
  382. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_ring_7.ipynb +61 -0
  383. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_ring_7.py +44 -0
  384. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_ring_7.py.md5 +1 -0
  385. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_ring_7.rst +130 -0
  386. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_ring_7_codeobj.pickle +0 -0
  387. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_single.ipynb +61 -0
  388. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_single.py +44 -0
  389. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_single.py.md5 +1 -0
  390. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_single.rst +121 -0
  391. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_single_codeobj.pickle +0 -0
  392. fiberfusing-1.0.0.post0/docs/source/gallery/geometry/sg_execution_times.rst +31 -0
  393. fiberfusing-1.0.0.post0/docs/source/gallery/index.rst +401 -0
  394. fiberfusing-1.0.0.post0/docs/source/index.rst +16 -0
  395. fiberfusing-1.0.0.post0/docs/source/references.rst +6 -0
  396. fiberfusing-1.0.0.post0/docs/source/theory.rst +5 -0
  397. fiberfusing-1.0.0.post0/meta.yaml +68 -0
  398. fiberfusing-1.0.0.post0/pyproject.toml +91 -0
  399. fiberfusing-1.0.0.post0/setup.cfg +4 -0
  400. fiberfusing-1.0.0.post0/tests/__init__.py +0 -0
  401. fiberfusing-1.0.0.post0/tests/fiber_loader.py +64 -0
  402. fiberfusing-1.0.0.post0/tests/test_boundaries.py +56 -0
  403. fiberfusing-1.0.0.post0/tests/test_cooordinate_system.py +141 -0
  404. fiberfusing-1.0.0.post0/tests/test_fiber.py +71 -0
  405. fiberfusing-1.0.0.post0/tests/test_fused_structure.py +36 -0
  406. fiberfusing-1.0.0.post0/tests/test_geometries.py +115 -0
@@ -0,0 +1,11 @@
1
+ # Specify reviewers for pull requests
2
+
3
+ version: 2
4
+ updates:
5
+ - package-ecosystem: "pip"
6
+ directory: "/"
7
+ target-branch: "master"
8
+ schedule:
9
+ interval: "weekly"
10
+ day: "sunday"
11
+ time: "09:00"
@@ -0,0 +1,34 @@
1
+ name: Deploy Conda Package
2
+
3
+ on:
4
+ push:
5
+ branches: [ "master" ]
6
+ tags:
7
+ - '*'
8
+ pull_request:
9
+ branches: [ "master" ]
10
+
11
+ jobs:
12
+ build_and_publish_conda_package:
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - name: Checkout Repository
16
+ uses: actions/checkout@v4
17
+
18
+ - name: Set up Miniconda
19
+ uses: conda-incubator/setup-miniconda@v2
20
+ with:
21
+ channels: conda-forge
22
+ python-version: '3.11'
23
+
24
+ - name: Upload to Anaconda (if tag)
25
+ if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
26
+ run: |
27
+ conda config --set anaconda_upload true
28
+
29
+ - name: Create Conda Environment and Install Dependencies
30
+ env:
31
+ ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }} # Ensure the Anaconda token is set
32
+ run: |
33
+ conda install conda-build anaconda-client conda-verify -y
34
+ conda build . -c martinpdes
@@ -0,0 +1,54 @@
1
+ # .github/workflows/deploy_coverage.yml
2
+ name: Coverage
3
+
4
+ on:
5
+ push:
6
+ branches: [ "master" ]
7
+ tags:
8
+ - '*'
9
+ pull_request:
10
+ branches: [ "master" ]
11
+
12
+
13
+ jobs:
14
+ coverage:
15
+ name: Run test and generate coverage data
16
+ runs-on: ubuntu-latest
17
+ permissions:
18
+ pull-requests: write
19
+ contents: write
20
+
21
+ steps:
22
+ - name: "Set-up: Python 3.10"
23
+ uses: actions/setup-python@v4
24
+ id: cp310
25
+ with:
26
+ python-version: "3.10"
27
+
28
+ - name: "Install: Dependencies for headless server"
29
+ shell: bash
30
+ run: |
31
+ sudo apt-get update
32
+ sudo apt-get install xvfb
33
+
34
+ - name: "Checkout requirements and files for testing"
35
+ uses: actions/checkout@v4
36
+ with:
37
+ fetch-depth: 0
38
+ submodules: true
39
+
40
+ - name: Install everything, run the tests, produce the .coverage file
41
+ run: |
42
+ python -m pip install wheel build
43
+ python -m build --wheel
44
+ python -m pip install .[testing]
45
+ pytest
46
+
47
+ - name: Coverage comment
48
+ if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
49
+ uses: py-cov-action/python-coverage-comment-action@v3
50
+ with:
51
+ GITHUB_PR_RUN_ID: ${{ github.event.workflow_run.id }}
52
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
53
+ MINIMUM_GREEN: 90
54
+ MINIMUM_ORANGE: 50
@@ -0,0 +1,60 @@
1
+ # .github/workflows/deploy_documentation.yml
2
+ name: Documentation
3
+
4
+ on:
5
+ push:
6
+ branches: [ "master" ]
7
+ tags:
8
+ - '*'
9
+ pull_request:
10
+ branches: [ "master" ]
11
+
12
+ jobs:
13
+ documentation:
14
+ name: Run the documentation building tools
15
+ runs-on: ubuntu-latest
16
+ permissions:
17
+ pull-requests: write
18
+ contents: write
19
+
20
+ steps:
21
+ - name: "Set-up: Python 3.10"
22
+ uses: actions/setup-python@v4
23
+ id: cp310
24
+ with:
25
+ python-version: "3.10"
26
+
27
+ - name: "Install: Dependencies for headless server"
28
+ shell: bash
29
+ run: |
30
+ sudo apt-get update
31
+ sudo apt-get install xvfb
32
+
33
+ - name: "Checkout requirements and files for testing"
34
+ uses: actions/checkout@v4
35
+ with:
36
+ fetch-depth: 0
37
+ submodules: true
38
+
39
+ - name: Install everything, run the tests, produce the .coverage file
40
+ run: |
41
+ python -m pip install wheel build
42
+ python -m build --wheel
43
+ python -m pip install .[documentation]
44
+
45
+ - name: Install dependencies
46
+ run: |
47
+ pip install sphinx sphinx_rtd_theme myst_parser
48
+
49
+ - name: Sphinx build
50
+ run: |
51
+ sphinx-build docs/source _build
52
+
53
+ - name: Deploy to GitHub Pages
54
+ uses: peaceiris/actions-gh-pages@v3
55
+ if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
56
+ with:
57
+ publish_branch: gh-pages
58
+ github_token: ${{ secrets.GITHUB_TOKEN }}
59
+ publish_dir: _build/
60
+ force_orphan: true
@@ -0,0 +1,30 @@
1
+ name: Deploy Wheel
2
+
3
+ on:
4
+ push:
5
+ branches: [ "master" ]
6
+ tags:
7
+ - '*'
8
+ pull_request:
9
+ branches: [ "master" ]
10
+
11
+ permissions:
12
+ contents: write
13
+
14
+ jobs:
15
+ build_pure_python:
16
+ runs-on: ubuntu-latest
17
+ steps:
18
+ - uses: MartinPdeS/MPSActions/build_pure_python_package@master
19
+ with:
20
+ python-version: '3.10'
21
+
22
+ publish_wheel:
23
+ if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
24
+ needs: [build_pure_python]
25
+ runs-on: ubuntu-latest
26
+ steps:
27
+ - uses: MartinPdeS/MPSActions/publish_pypi@master
28
+ with:
29
+ python-version: "3.10"
30
+ password: ${{ secrets.PYPI_API_TOKEN }}
@@ -0,0 +1,17 @@
1
+ *.DS_store
2
+ *.ipynb_checkpoints*
3
+ *__pycache__*
4
+ *.so
5
+ *.pytest_cache
6
+
7
+ dist
8
+ build
9
+ *.egg*
10
+ Perso/
11
+
12
+ CMakeCache.txt
13
+ CMakeFiles
14
+ install_manifest.txt
15
+ cmake_install.cmake
16
+ htmlcov
17
+ .coverage
@@ -0,0 +1,35 @@
1
+ # .readthedocs.yml
2
+ # Read the Docs configuration file
3
+ # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
4
+
5
+ # Required
6
+ version: 2
7
+
8
+ submodules:
9
+ include: all
10
+ recursive: true
11
+
12
+ build:
13
+ os: ubuntu-22.04
14
+
15
+
16
+ tools:
17
+ python: "3.11"
18
+ jobs:
19
+ pre_install:
20
+ - Xvfb :99 &
21
+ - export DISPLAY=:99
22
+ - cd docs && rm -rf source/gallery
23
+ - sleep 3
24
+
25
+ python:
26
+ install:
27
+ - method: pip
28
+ path: .
29
+ extra_requirements:
30
+ - documentation
31
+
32
+ sphinx:
33
+ builder: html
34
+ configuration: docs/source/conf.py
35
+ fail_on_warning: false
@@ -0,0 +1,15 @@
1
+ from .geometry import Geometry # noqa: F401
2
+ from .components.point import Point # noqa: F401
3
+ from .components.linestring import LineString # noqa: F401
4
+ from .components.polygon import Polygon, EmptyPolygon # noqa: F401
5
+ from .buffer import Circle, Square # noqa: F401
6
+ from .background import BackGround # noqa: F401
7
+ from .optical_structure import CircleOpticalStructure # noqa: F401
8
+ micro = 1e-6
9
+
10
+
11
+ try:
12
+ from ._version import version as __version__ # noqa: F401
13
+
14
+ except ImportError:
15
+ __version__ = "0.0.0"
@@ -0,0 +1,16 @@
1
+ # file generated by setuptools_scm
2
+ # don't change, don't track in version control
3
+ TYPE_CHECKING = False
4
+ if TYPE_CHECKING:
5
+ from typing import Tuple, Union
6
+ VERSION_TUPLE = Tuple[Union[int, str], ...]
7
+ else:
8
+ VERSION_TUPLE = object
9
+
10
+ version: str
11
+ __version__: str
12
+ __version_tuple__: VERSION_TUPLE
13
+ version_tuple: VERSION_TUPLE
14
+
15
+ __version__ = version = '1.0.0.post0'
16
+ __version_tuple__ = version_tuple = (1, 0, 0)
@@ -0,0 +1,88 @@
1
+ #!/usr/bin/env python
2
+ # -*- coding: utf-8 -*-
3
+
4
+ from typing import Tuple, Optional
5
+ from pydantic.dataclasses import dataclass
6
+ from pydantic import ConfigDict
7
+ import numpy as np
8
+
9
+ from FiberFusing.coordinate_system import CoordinateSystem
10
+ from FiberFusing.overlay_structure_on_mesh import OverlayStructureBaseClass
11
+ from FiberFusing import Circle
12
+
13
+
14
+ class NameSpace:
15
+ """
16
+ A flexible class that allows dynamic addition of attributes via keyword arguments.
17
+ """
18
+ def __init__(self, **kwargs):
19
+ """
20
+ Initializes an instance with attributes specified by keyword arguments.
21
+
22
+ Parameters
23
+ ----------
24
+ **kwargs : dict
25
+ Arbitrary keyword arguments to set as attributes.
26
+ """
27
+ self.__dict__.update(kwargs)
28
+
29
+
30
+ @dataclass(config=ConfigDict(extra='forbid', kw_only=True))
31
+ class BackGround(OverlayStructureBaseClass):
32
+ """
33
+ Represents a background structure overlayed on a mesh, characterized by a circular shape.
34
+
35
+ Attributes
36
+ ----------
37
+ index : float
38
+ Refractive index of the background.
39
+ radius : float, optional
40
+ Radius of the circular structure, by default 1000.
41
+ position : Optional[Tuple[float, float]], optional
42
+ A tuple (x, y) specifying the position of the circle's center, by default (0, 0).
43
+ """
44
+
45
+ index: float
46
+ radius: float = 1000
47
+ position: Optional[Tuple[float, float]] = (0, 0)
48
+
49
+ def __post_init__(self):
50
+ """
51
+ Initializes the background structure by creating a circular polygon.
52
+ """
53
+ polygon = Circle(position=self.position, radius=self.radius, index=self.index)
54
+ self.structure_list = [NameSpace(index=self.index, polygon=polygon, name='background')]
55
+
56
+ @property
57
+ def refractive_index_list(self) -> list:
58
+ """
59
+ Returns the list of refractive indices for the structures.
60
+
61
+ Returns
62
+ -------
63
+ list
64
+ A list containing the refractive index of the background.
65
+ """
66
+ return [self.index]
67
+
68
+ def overlay_structures_on_mesh(self, mesh: np.ndarray, coordinate_system: CoordinateSystem) -> np.ndarray:
69
+ """
70
+ Overlays all structures onto the given mesh using the specified coordinate system.
71
+
72
+ Parameters
73
+ ----------
74
+ mesh : np.ndarray
75
+ The mesh to overlay structures onto.
76
+ coordinate_system : CoordinateSystem
77
+ The coordinate system used for overlaying.
78
+
79
+ Returns
80
+ -------
81
+ np.ndarray
82
+ A numpy ndarray with the structures overlayed onto the original mesh.
83
+ """
84
+ return self._overlay_structure_on_mesh_(
85
+ structure_list=self.structure_list,
86
+ mesh=mesh,
87
+ coordinate_system=coordinate_system
88
+ )