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.
- fiberfusing-1.0.0.post0/.github/dependabot.yml +11 -0
- fiberfusing-1.0.0.post0/.github/workflows/deploy_anaconda.yml +34 -0
- fiberfusing-1.0.0.post0/.github/workflows/deploy_coverage.yml +54 -0
- fiberfusing-1.0.0.post0/.github/workflows/deploy_documentation.yml +60 -0
- fiberfusing-1.0.0.post0/.github/workflows/deploy_pypi.yml +30 -0
- fiberfusing-1.0.0.post0/.gitignore +17 -0
- fiberfusing-1.0.0.post0/.readthedocs.yml +35 -0
- fiberfusing-1.0.0.post0/FiberFusing/__init__.py +15 -0
- fiberfusing-1.0.0.post0/FiberFusing/_version.py +16 -0
- fiberfusing-1.0.0.post0/FiberFusing/background.py +88 -0
- fiberfusing-1.0.0.post0/FiberFusing/base_fused.py +624 -0
- fiberfusing-1.0.0.post0/FiberFusing/buffer.py +162 -0
- fiberfusing-1.0.0.post0/FiberFusing/components/__init__.py +0 -0
- fiberfusing-1.0.0.post0/FiberFusing/components/base_class.py +161 -0
- fiberfusing-1.0.0.post0/FiberFusing/components/linestring.py +111 -0
- fiberfusing-1.0.0.post0/FiberFusing/components/point.py +88 -0
- fiberfusing-1.0.0.post0/FiberFusing/components/polygon.py +405 -0
- fiberfusing-1.0.0.post0/FiberFusing/components/utils.py +59 -0
- fiberfusing-1.0.0.post0/FiberFusing/configuration/__init__.py +7 -0
- fiberfusing-1.0.0.post0/FiberFusing/configuration/line/__init__.py +10 -0
- fiberfusing-1.0.0.post0/FiberFusing/configuration/line/configuration_01x01.py +30 -0
- fiberfusing-1.0.0.post0/FiberFusing/configuration/line/configuration_02x02.py +37 -0
- fiberfusing-1.0.0.post0/FiberFusing/configuration/line/configuration_03x03.py +36 -0
- fiberfusing-1.0.0.post0/FiberFusing/configuration/line/configuration_04x04.py +36 -0
- fiberfusing-1.0.0.post0/FiberFusing/configuration/line/configuration_05x05.py +36 -0
- fiberfusing-1.0.0.post0/FiberFusing/configuration/ring/__init__.py +15 -0
- fiberfusing-1.0.0.post0/FiberFusing/configuration/ring/configuration_01x01.py +30 -0
- fiberfusing-1.0.0.post0/FiberFusing/configuration/ring/configuration_02x02.py +35 -0
- fiberfusing-1.0.0.post0/FiberFusing/configuration/ring/configuration_03x03.py +43 -0
- fiberfusing-1.0.0.post0/FiberFusing/configuration/ring/configuration_04x04.py +43 -0
- fiberfusing-1.0.0.post0/FiberFusing/configuration/ring/configuration_05x05.py +43 -0
- fiberfusing-1.0.0.post0/FiberFusing/configuration/ring/configuration_06x06.py +43 -0
- fiberfusing-1.0.0.post0/FiberFusing/configuration/ring/configuration_07x07.py +44 -0
- fiberfusing-1.0.0.post0/FiberFusing/configuration/ring/configuration_10x10.py +50 -0
- fiberfusing-1.0.0.post0/FiberFusing/configuration/ring/configuration_12x12.py +55 -0
- fiberfusing-1.0.0.post0/FiberFusing/configuration/ring/configuration_19x19.py +57 -0
- fiberfusing-1.0.0.post0/FiberFusing/configuration/ring/mode_groupe_pl_6.py +48 -0
- fiberfusing-1.0.0.post0/FiberFusing/configuration/ring/scaling_photonic_lantern_10.py +56 -0
- fiberfusing-1.0.0.post0/FiberFusing/connection.py +369 -0
- fiberfusing-1.0.0.post0/FiberFusing/connection_optimization.py +246 -0
- fiberfusing-1.0.0.post0/FiberFusing/coordinate_system.py +240 -0
- fiberfusing-1.0.0.post0/FiberFusing/directories.py +39 -0
- fiberfusing-1.0.0.post0/FiberFusing/fiber/__init__.py +0 -0
- fiberfusing-1.0.0.post0/FiberFusing/fiber/catalogue.py +164 -0
- fiberfusing-1.0.0.post0/FiberFusing/fiber/fiber_files/1550BHP.yaml +14 -0
- fiberfusing-1.0.0.post0/FiberFusing/fiber/fiber_files/DCF13.yaml +18 -0
- fiberfusing-1.0.0.post0/FiberFusing/fiber/fiber_files/DCF1300S_20.yaml +17 -0
- fiberfusing-1.0.0.post0/FiberFusing/fiber/fiber_files/DCF1300S_26.yaml +18 -0
- fiberfusing-1.0.0.post0/FiberFusing/fiber/fiber_files/DCF1300S_33.yaml +17 -0
- fiberfusing-1.0.0.post0/FiberFusing/fiber/fiber_files/DCF1300S_42.yaml +18 -0
- fiberfusing-1.0.0.post0/FiberFusing/fiber/fiber_files/F2028M12.yaml +18 -0
- fiberfusing-1.0.0.post0/FiberFusing/fiber/fiber_files/F2028M21.yaml +18 -0
- fiberfusing-1.0.0.post0/FiberFusing/fiber/fiber_files/F2028M24.yaml +18 -0
- fiberfusing-1.0.0.post0/FiberFusing/fiber/fiber_files/F2058G1.yaml +18 -0
- fiberfusing-1.0.0.post0/FiberFusing/fiber/fiber_files/F2058L1.yaml +18 -0
- fiberfusing-1.0.0.post0/FiberFusing/fiber/fiber_files/HI1060.yaml +14 -0
- fiberfusing-1.0.0.post0/FiberFusing/fiber/fiber_files/HP630.yaml +13 -0
- fiberfusing-1.0.0.post0/FiberFusing/fiber/fiber_files/SM1950.yaml +14 -0
- fiberfusing-1.0.0.post0/FiberFusing/fiber/fiber_files/SMF28.yaml +14 -0
- fiberfusing-1.0.0.post0/FiberFusing/fiber/fiber_files/fluorine_doped_1%_capillary.yaml +9 -0
- fiberfusing-1.0.0.post0/FiberFusing/fiber/fiber_files/fluorine_doped_2%_capillary.yaml +9 -0
- fiberfusing-1.0.0.post0/FiberFusing/fiber/fiber_files/test_fiber.yaml +14 -0
- fiberfusing-1.0.0.post0/FiberFusing/fiber/fiber_files/test_multimode_fiber.yaml +14 -0
- fiberfusing-1.0.0.post0/FiberFusing/fiber/generic_fiber.py +472 -0
- fiberfusing-1.0.0.post0/FiberFusing/fiber/loader.py +119 -0
- fiberfusing-1.0.0.post0/FiberFusing/fiber/structure_collection.py +173 -0
- fiberfusing-1.0.0.post0/FiberFusing/fiber_structure.py +208 -0
- fiberfusing-1.0.0.post0/FiberFusing/geometry.py +405 -0
- fiberfusing-1.0.0.post0/FiberFusing/optical_structure.py +96 -0
- fiberfusing-1.0.0.post0/FiberFusing/overlay_structure_on_mesh.py +37 -0
- fiberfusing-1.0.0.post0/FiberFusing/plottings.py +44 -0
- fiberfusing-1.0.0.post0/FiberFusing/utils.py +218 -0
- fiberfusing-1.0.0.post0/FiberFusing.egg-info/PKG-INFO +170 -0
- fiberfusing-1.0.0.post0/FiberFusing.egg-info/SOURCES.txt +404 -0
- fiberfusing-1.0.0.post0/FiberFusing.egg-info/dependency_links.txt +1 -0
- fiberfusing-1.0.0.post0/FiberFusing.egg-info/requires.txt +23 -0
- fiberfusing-1.0.0.post0/FiberFusing.egg-info/top_level.txt +1 -0
- fiberfusing-1.0.0.post0/LICENSE +21 -0
- fiberfusing-1.0.0.post0/PKG-INFO +170 -0
- fiberfusing-1.0.0.post0/README.rst +105 -0
- fiberfusing-1.0.0.post0/docs/Makefile +19 -0
- fiberfusing-1.0.0.post0/docs/examples/README.rst +6 -0
- fiberfusing-1.0.0.post0/docs/examples/clad/README.rst +2 -0
- fiberfusing-1.0.0.post0/docs/examples/clad/plot_line_3.py +18 -0
- fiberfusing-1.0.0.post0/docs/examples/clad/plot_line_4.py +18 -0
- fiberfusing-1.0.0.post0/docs/examples/clad/plot_line_5.py +18 -0
- fiberfusing-1.0.0.post0/docs/examples/clad/plot_ring_12.py +16 -0
- fiberfusing-1.0.0.post0/docs/examples/clad/plot_ring_19.py +17 -0
- fiberfusing-1.0.0.post0/docs/examples/clad/plot_ring_2.py +17 -0
- fiberfusing-1.0.0.post0/docs/examples/clad/plot_ring_3py +17 -0
- fiberfusing-1.0.0.post0/docs/examples/clad/plot_ring_4.py +17 -0
- fiberfusing-1.0.0.post0/docs/examples/clad/plot_ring_7.py +17 -0
- fiberfusing-1.0.0.post0/docs/examples/clad/plot_single.py +17 -0
- fiberfusing-1.0.0.post0/docs/examples/geometry/README.rst +2 -0
- fiberfusing-1.0.0.post0/docs/examples/geometry/plot_line_3.py +44 -0
- fiberfusing-1.0.0.post0/docs/examples/geometry/plot_line_4.py +44 -0
- fiberfusing-1.0.0.post0/docs/examples/geometry/plot_line_5.py +44 -0
- fiberfusing-1.0.0.post0/docs/examples/geometry/plot_ring_10.py +43 -0
- fiberfusing-1.0.0.post0/docs/examples/geometry/plot_ring_2.py +44 -0
- fiberfusing-1.0.0.post0/docs/examples/geometry/plot_ring_3.py +44 -0
- fiberfusing-1.0.0.post0/docs/examples/geometry/plot_ring_4.py +45 -0
- fiberfusing-1.0.0.post0/docs/examples/geometry/plot_ring_5.py +45 -0
- fiberfusing-1.0.0.post0/docs/examples/geometry/plot_ring_7.py +44 -0
- fiberfusing-1.0.0.post0/docs/examples/geometry/plot_single.py +44 -0
- fiberfusing-1.0.0.post0/docs/images/logo.png +0 -0
- fiberfusing-1.0.0.post0/docs/make.bat +35 -0
- fiberfusing-1.0.0.post0/docs/source/_static/default.css +19 -0
- fiberfusing-1.0.0.post0/docs/source/code/buffer.rst +17 -0
- fiberfusing-1.0.0.post0/docs/source/code/components.rst +31 -0
- fiberfusing-1.0.0.post0/docs/source/code/coordinate_system.rst +10 -0
- fiberfusing-1.0.0.post0/docs/source/code/geometry.rst +10 -0
- fiberfusing-1.0.0.post0/docs/source/code/overlay_structure.rst +10 -0
- fiberfusing-1.0.0.post0/docs/source/code/utils.rst +22 -0
- fiberfusing-1.0.0.post0/docs/source/code.rst +21 -0
- fiberfusing-1.0.0.post0/docs/source/conf.py +177 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/sphx_glr_plot_clad_01_001.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/sphx_glr_plot_clad_02_001.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/sphx_glr_plot_clad_03_001.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/sphx_glr_plot_clad_04_001.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/sphx_glr_plot_clad_05_001.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/sphx_glr_plot_clad_06_001.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/sphx_glr_plot_clad_07_001.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/sphx_glr_plot_clad_08_001.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/sphx_glr_plot_clad_09_001.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/sphx_glr_plot_clad_10_001.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/sphx_glr_plot_line_3_001.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/sphx_glr_plot_line_4_001.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/sphx_glr_plot_line_5_001.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/sphx_glr_plot_ring_12_001.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/sphx_glr_plot_ring_19_001.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/sphx_glr_plot_ring_2_001.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/sphx_glr_plot_ring_4_001.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/sphx_glr_plot_ring_7_001.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/sphx_glr_plot_single_001.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/thumb/sphx_glr_plot_clad_01_thumb.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/thumb/sphx_glr_plot_clad_02_thumb.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/thumb/sphx_glr_plot_clad_03_thumb.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/thumb/sphx_glr_plot_clad_04_thumb.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/thumb/sphx_glr_plot_clad_05_thumb.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/thumb/sphx_glr_plot_clad_06_thumb.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/thumb/sphx_glr_plot_clad_07_thumb.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/thumb/sphx_glr_plot_clad_08_thumb.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/thumb/sphx_glr_plot_clad_09_thumb.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/thumb/sphx_glr_plot_clad_10_thumb.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/thumb/sphx_glr_plot_line_3_thumb.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/thumb/sphx_glr_plot_line_4_thumb.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/thumb/sphx_glr_plot_line_5_thumb.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/thumb/sphx_glr_plot_ring_12_thumb.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/thumb/sphx_glr_plot_ring_19_thumb.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/thumb/sphx_glr_plot_ring_2_thumb.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/thumb/sphx_glr_plot_ring_4_thumb.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/thumb/sphx_glr_plot_ring_7_thumb.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/images/thumb/sphx_glr_plot_single_thumb.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/index.rst +189 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_01.ipynb +43 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_01.py +17 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_01.py.md5 +1 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_01.rst +81 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_01_codeobj.pickle +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_02.ipynb +43 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_02.py +17 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_02.py.md5 +1 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_02.rst +81 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_02_codeobj.pickle +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_03.ipynb +43 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_03.py +17 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_03.py.md5 +1 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_03.rst +92 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_03_codeobj.pickle +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_04.ipynb +43 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_04.py +17 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_04.py.md5 +1 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_04.rst +81 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_04_codeobj.pickle +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_05.ipynb +43 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_05.py +17 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_05.py.md5 +1 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_05.rst +94 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_05_codeobj.pickle +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_06.ipynb +43 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_06.py +16 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_06.py.md5 +1 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_06.rst +80 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_06_codeobj.pickle +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_07.ipynb +43 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_07.py +17 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_07.py.md5 +1 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_07.rst +81 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_07_codeobj.pickle +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_08.ipynb +43 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_08.py +18 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_08.py.md5 +1 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_08.rst +93 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_08_codeobj.pickle +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_09.ipynb +43 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_09.py +18 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_09.py.md5 +1 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_09.rst +82 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_09_codeobj.pickle +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_10.ipynb +43 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_10.py +18 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_10.py.md5 +1 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_10.rst +93 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_clad_10_codeobj.pickle +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_line_3.ipynb +43 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_line_3.py +18 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_line_3.py.md5 +1 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_line_3.rst +166 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_line_3_codeobj.pickle +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_line_4.ipynb +43 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_line_4.py +18 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_line_4.py.md5 +1 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_line_4.rst +82 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_line_4_codeobj.pickle +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_line_5.ipynb +43 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_line_5.py +18 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_line_5.py.md5 +1 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_line_5.rst +82 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_line_5_codeobj.pickle +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_ring_12.ipynb +43 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_ring_12.py +16 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_ring_12.py.md5 +1 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_ring_12.rst +80 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_ring_12_codeobj.pickle +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_ring_19.ipynb +43 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_ring_19.py +17 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_ring_19.py.md5 +1 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_ring_19.rst +81 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_ring_19_codeobj.pickle +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_ring_2.ipynb +43 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_ring_2.py +17 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_ring_2.py.md5 +1 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_ring_2.rst +81 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_ring_2_codeobj.pickle +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_ring_4.ipynb +43 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_ring_4.py +17 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_ring_4.py.md5 +1 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_ring_4.rst +81 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_ring_4_codeobj.pickle +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_ring_7.ipynb +43 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_ring_7.py +17 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_ring_7.py.md5 +1 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_ring_7.rst +94 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_ring_7_codeobj.pickle +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_single.ipynb +43 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_single.py +17 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_single.py.md5 +1 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_single.rst +81 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/plot_single_codeobj.pickle +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/clad/sg_execution_times.rst +29 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/sphx_glr_plot_geometry_01_001.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/sphx_glr_plot_geometry_02_001.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/sphx_glr_plot_geometry_03_001.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/sphx_glr_plot_geometry_04_001.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/sphx_glr_plot_geometry_05_001.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/sphx_glr_plot_geometry_06_001.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/sphx_glr_plot_geometry_07_001.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/sphx_glr_plot_geometry_08_001.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/sphx_glr_plot_geometry_09_001.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/sphx_glr_plot_geometry_10_001.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/sphx_glr_plot_line_3_001.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/sphx_glr_plot_line_4_001.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/sphx_glr_plot_line_5_001.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/sphx_glr_plot_ring_10_001.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/sphx_glr_plot_ring_2_001.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/sphx_glr_plot_ring_3_001.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/sphx_glr_plot_ring_4_001.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/sphx_glr_plot_ring_5_001.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/sphx_glr_plot_ring_7_001.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/sphx_glr_plot_single_001.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/thumb/sphx_glr_plot_geometry_01_thumb.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/thumb/sphx_glr_plot_geometry_02_thumb.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/thumb/sphx_glr_plot_geometry_03_thumb.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/thumb/sphx_glr_plot_geometry_04_thumb.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/thumb/sphx_glr_plot_geometry_05_thumb.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/thumb/sphx_glr_plot_geometry_06_thumb.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/thumb/sphx_glr_plot_geometry_07_thumb.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/thumb/sphx_glr_plot_geometry_08_thumb.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/thumb/sphx_glr_plot_geometry_09_thumb.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/thumb/sphx_glr_plot_geometry_10_thumb.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/thumb/sphx_glr_plot_line_3_thumb.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/thumb/sphx_glr_plot_line_4_thumb.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/thumb/sphx_glr_plot_line_5_thumb.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/thumb/sphx_glr_plot_ring_10_thumb.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/thumb/sphx_glr_plot_ring_2_thumb.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/thumb/sphx_glr_plot_ring_3_thumb.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/thumb/sphx_glr_plot_ring_4_thumb.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/thumb/sphx_glr_plot_ring_5_thumb.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/thumb/sphx_glr_plot_ring_7_thumb.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/images/thumb/sphx_glr_plot_single_thumb.png +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/index.rst +207 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_01.ipynb +43 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_01.py +35 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_01.py.md5 +1 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_01.rst +99 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_01_codeobj.pickle +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_02.ipynb +43 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_02.py +39 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_02.py.md5 +1 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_02.rst +103 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_02_codeobj.pickle +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_03.ipynb +43 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_03.py +36 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_03.py.md5 +1 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_03.rst +113 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_03_codeobj.pickle +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_04.ipynb +43 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_04.py +39 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_04.py.md5 +1 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_04.rst +103 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_04_codeobj.pickle +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_05.ipynb +43 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_05.py +38 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_05.py.md5 +1 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_05.rst +102 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_05_codeobj.pickle +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_06.ipynb +43 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_06.py +38 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_06.py.md5 +1 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_06.rst +115 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_06_codeobj.pickle +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_07.ipynb +43 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_07.py +36 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_07.py.md5 +1 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_07.rst +100 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_07_codeobj.pickle +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_08.ipynb +43 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_08.py +37 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_08.py.md5 +1 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_08.rst +112 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_08_codeobj.pickle +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_09.ipynb +43 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_09.py +37 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_09.py.md5 +1 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_09.rst +101 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_09_codeobj.pickle +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_10.ipynb +43 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_10.py +37 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_10.py.md5 +1 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_10.rst +112 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_geometry_10_codeobj.pickle +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_line_3.ipynb +61 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_line_3.py +44 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_line_3.py.md5 +1 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_line_3.rst +201 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_line_3_codeobj.pickle +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_line_4.ipynb +61 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_line_4.py +44 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_line_4.py.md5 +1 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_line_4.rst +121 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_line_4_codeobj.pickle +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_line_5.ipynb +61 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_line_5.py +44 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_line_5.py.md5 +1 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_line_5.rst +121 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_line_5_codeobj.pickle +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_ring_10.ipynb +61 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_ring_10.py +43 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_ring_10.py.md5 +1 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_ring_10.rst +120 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_ring_10_codeobj.pickle +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_ring_2.ipynb +61 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_ring_2.py +44 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_ring_2.py.md5 +1 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_ring_2.rst +121 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_ring_2_codeobj.pickle +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_ring_3.ipynb +61 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_ring_3.py +44 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_ring_3.py.md5 +1 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_ring_3.rst +130 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_ring_3_codeobj.pickle +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_ring_4.ipynb +61 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_ring_4.py +45 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_ring_4.py.md5 +1 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_ring_4.rst +122 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_ring_4_codeobj.pickle +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_ring_5.ipynb +61 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_ring_5.py +45 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_ring_5.py.md5 +1 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_ring_5.rst +122 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_ring_5_codeobj.pickle +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_ring_7.ipynb +61 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_ring_7.py +44 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_ring_7.py.md5 +1 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_ring_7.rst +130 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_ring_7_codeobj.pickle +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_single.ipynb +61 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_single.py +44 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_single.py.md5 +1 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_single.rst +121 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/plot_single_codeobj.pickle +0 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/geometry/sg_execution_times.rst +31 -0
- fiberfusing-1.0.0.post0/docs/source/gallery/index.rst +401 -0
- fiberfusing-1.0.0.post0/docs/source/index.rst +16 -0
- fiberfusing-1.0.0.post0/docs/source/references.rst +6 -0
- fiberfusing-1.0.0.post0/docs/source/theory.rst +5 -0
- fiberfusing-1.0.0.post0/meta.yaml +68 -0
- fiberfusing-1.0.0.post0/pyproject.toml +91 -0
- fiberfusing-1.0.0.post0/setup.cfg +4 -0
- fiberfusing-1.0.0.post0/tests/__init__.py +0 -0
- fiberfusing-1.0.0.post0/tests/fiber_loader.py +64 -0
- fiberfusing-1.0.0.post0/tests/test_boundaries.py +56 -0
- fiberfusing-1.0.0.post0/tests/test_cooordinate_system.py +141 -0
- fiberfusing-1.0.0.post0/tests/test_fiber.py +71 -0
- fiberfusing-1.0.0.post0/tests/test_fused_structure.py +36 -0
- fiberfusing-1.0.0.post0/tests/test_geometries.py +115 -0
|
@@ -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,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
|
+
)
|