PyOptik 1.6.3.post0__tar.gz → 1.6.5.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.
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/.github/workflows/deploy_anaconda.yml +1 -1
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/PKG-INFO +6 -2
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/PyOptik/_version.py +2 -2
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/PyOptik/base_class.py +8 -4
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/PyOptik/material.py +12 -6
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/PyOptik/sellmeier_class.py +26 -13
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/PyOptik/tabulated_class.py +14 -7
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/PyOptik.egg-info/PKG-INFO +6 -2
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/README.rst +5 -1
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/conf.py +10 -2
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/meta.yaml +5 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/pyproject.toml +3 -1
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/.github/dependabot.yml +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/.github/workflows/deploy_coverage.yml +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/.github/workflows/deploy_documentation.yml +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/.github/workflows/deploy_workflow.yml +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/.gitignore +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/.readthedocs.yml +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/LICENSE +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/PyOptik/__init__.py +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/PyOptik/__main__.py +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/PyOptik/data/__init__.py +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/PyOptik/data/sellmeier/BAK1.yml +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/PyOptik/data/sellmeier/BK7.yml +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/PyOptik/data/sellmeier/SF5.yml +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/PyOptik/data/sellmeier/ZBLAN.yml +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/PyOptik/data/sellmeier/__init__.py +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/PyOptik/data/sellmeier/argon.yml +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/PyOptik/data/sellmeier/crown.yml +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/PyOptik/data/sellmeier/default.py +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/PyOptik/data/sellmeier/flint.yml +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/PyOptik/data/sellmeier/fluorine_doped_silica_1%.yml +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/PyOptik/data/sellmeier/fluorine_doped_silica_2%.yml +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/PyOptik/data/sellmeier/fused_silica.yml +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/PyOptik/data/sellmeier/germanium.yml +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/PyOptik/data/sellmeier/lithium_niobate.yml +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/PyOptik/data/sellmeier/polystyren.yml +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/PyOptik/data/sellmeier/silica.yml +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/PyOptik/data/sellmeier/silicon.yml +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/PyOptik/data/sellmeier/soda_lime_glass.yml +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/PyOptik/data/sellmeier/water.yml +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/PyOptik/data/tabulated/__init__.py +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/PyOptik/data/tabulated/aluminium.yml +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/PyOptik/data/tabulated/calcium.yml +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/PyOptik/data/tabulated/copper.yml +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/PyOptik/data/tabulated/default.py +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/PyOptik/data/tabulated/gold.yml +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/PyOptik/data/tabulated/iron.yml +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/PyOptik/data/tabulated/nickel.yml +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/PyOptik/data/tabulated/silver.yml +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/PyOptik/data/tabulated/sodium.yml +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/PyOptik/data/tabulated/zinc.yml +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/PyOptik/directories.py +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/PyOptik/utils.py +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/PyOptik.egg-info/SOURCES.txt +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/PyOptik.egg-info/dependency_links.txt +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/PyOptik.egg-info/requires.txt +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/PyOptik.egg-info/top_level.txt +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/Makefile +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/examples/README.rst +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/examples/create_sellmeier_file.py +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/examples/create_tabulated_file.py +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/examples/download_yml_file.py +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/examples/plot_bk7.py +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/examples/plot_sf5.py +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/examples/plot_silica.py +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/examples/plot_silver.py +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/examples/plot_water.py +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/images/example_bk7.png +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/images/logo.png +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/make.bat +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/_static/default.css +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/code.rst +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/add_material.ipynb +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/add_material.py +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/add_material.rst +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/add_material_codeobj.pickle +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/create_sellmeier_file.ipynb +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/create_sellmeier_file.py +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/create_sellmeier_file.py.md5 +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/create_sellmeier_file.rst +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/create_sellmeier_file_codeobj.pickle +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/create_tabulated_file.ipynb +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/create_tabulated_file.py +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/create_tabulated_file.py.md5 +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/create_tabulated_file.rst +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/create_tabulated_file_codeobj.pickle +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/download_yml_file.ipynb +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/download_yml_file.py +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/download_yml_file.py.md5 +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/download_yml_file.rst +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/download_yml_file_codeobj.pickle +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/get_values.ipynb +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/get_values.py +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/get_values.rst +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/get_values_codeobj.pickle +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/images/sphx_glr_create_sellmeier_file_001.png +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/images/sphx_glr_create_tabulated_file_001.png +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/images/sphx_glr_download_yml_file_001.png +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/images/sphx_glr_plot_bk7_001.png +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/images/sphx_glr_plot_sellmeier_0_001.png +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/images/sphx_glr_plot_sellmeier_1_001.png +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/images/sphx_glr_plot_sf5_001.png +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/images/sphx_glr_plot_silica_001.png +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/images/sphx_glr_plot_silver_001.png +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/images/sphx_glr_plot_water_001.png +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/images/thumb/sphx_glr_add_material_thumb.png +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/images/thumb/sphx_glr_create_sellmeier_file_thumb.png +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/images/thumb/sphx_glr_create_tabulated_file_thumb.png +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/images/thumb/sphx_glr_download_yml_file_thumb.png +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/images/thumb/sphx_glr_get_values_thumb.png +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/images/thumb/sphx_glr_plot_bk7_thumb.png +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/images/thumb/sphx_glr_plot_sellmeier_0_thumb.png +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/images/thumb/sphx_glr_plot_sellmeier_1_thumb.png +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/images/thumb/sphx_glr_plot_sf5_thumb.png +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/images/thumb/sphx_glr_plot_silica_thumb.png +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/images/thumb/sphx_glr_plot_silver_thumb.png +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/images/thumb/sphx_glr_plot_water_thumb.png +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/index.rst +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/plot_bk7.ipynb +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/plot_bk7.py +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/plot_bk7.py.md5 +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/plot_bk7.rst +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/plot_bk7_codeobj.pickle +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/plot_sellmeier_0.ipynb +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/plot_sellmeier_0.py +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/plot_sellmeier_0.py.md5 +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/plot_sellmeier_0.rst +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/plot_sellmeier_0_codeobj.pickle +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/plot_sellmeier_1.ipynb +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/plot_sellmeier_1.py +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/plot_sellmeier_1.py.md5 +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/plot_sellmeier_1.rst +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/plot_sellmeier_1_codeobj.pickle +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/plot_sf5.ipynb +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/plot_sf5.py +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/plot_sf5.py.md5 +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/plot_sf5.rst +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/plot_sf5_codeobj.pickle +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/plot_silica.ipynb +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/plot_silica.py +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/plot_silica.py.md5 +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/plot_silica.rst +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/plot_silica_codeobj.pickle +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/plot_silver.ipynb +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/plot_silver.py +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/plot_silver.py.md5 +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/plot_silver.rst +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/plot_silver_codeobj.pickle +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/plot_water.ipynb +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/plot_water.py +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/plot_water.py.md5 +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/plot_water.rst +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/plot_water_codeobj.pickle +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/sg_execution_times.rst +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/index.rst +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/references.rst +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/setup.cfg +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/tests/__init__.py +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/tests/test_sellmeier.py +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/tests/test_tabulated.py +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/tests/test_usual_material.py +0 -0
- {pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/tests/test_utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: PyOptik
|
|
3
|
-
Version: 1.6.
|
|
3
|
+
Version: 1.6.5.post0
|
|
4
4
|
Summary: A package for refractive index values.
|
|
5
5
|
Author-email: Martin Poinsinet de Sivry-Houle <martin.poinsinet.de.sivry@gmail.com>
|
|
6
6
|
License: MIT License
|
|
@@ -69,7 +69,7 @@ PyOptik is a powerful Python tool designed to import refractive indexes and exti
|
|
|
69
69
|
:header-rows: 1
|
|
70
70
|
|
|
71
71
|
* - Testing
|
|
72
|
-
-
|
|
72
|
+
- |ci/cd|
|
|
73
73
|
- |coverage|
|
|
74
74
|
-
|
|
75
75
|
* - Package
|
|
@@ -199,6 +199,10 @@ As of 2024, PyOptik is still under development. If you would like to collaborate
|
|
|
199
199
|
:target: https://martinpdes.github.io/PyOptik/
|
|
200
200
|
:alt: Documentation Status
|
|
201
201
|
|
|
202
|
+
.. |ci/cd| image:: https://github.com/martinpdes/pyoptik/actions/workflows/deploy_coverage.yml/badge.svg
|
|
203
|
+
:target: https://martinpdes.github.io/PyOptik/actions
|
|
204
|
+
:alt: Unittest Status
|
|
205
|
+
|
|
202
206
|
.. |PyPi| image:: https://badge.fury.io/py/pyoptik.svg
|
|
203
207
|
:target: https://badge.fury.io/py/pyoptik
|
|
204
208
|
|
|
@@ -12,5 +12,5 @@ __version__: str
|
|
|
12
12
|
__version_tuple__: VERSION_TUPLE
|
|
13
13
|
version_tuple: VERSION_TUPLE
|
|
14
14
|
|
|
15
|
-
__version__ = version = '1.6.
|
|
16
|
-
__version_tuple__ = version_tuple = (1, 6,
|
|
15
|
+
__version__ = version = '1.6.5.post0'
|
|
16
|
+
__version_tuple__ = version_tuple = (1, 6, 5)
|
|
@@ -6,8 +6,10 @@ class BaseMaterial:
|
|
|
6
6
|
"""
|
|
7
7
|
Provides an informal string representation of the Material object.
|
|
8
8
|
|
|
9
|
-
Returns
|
|
10
|
-
|
|
9
|
+
Returns
|
|
10
|
+
-------
|
|
11
|
+
str
|
|
12
|
+
Informal representation of the Material object.
|
|
11
13
|
"""
|
|
12
14
|
return f"Material: {self.filename}"
|
|
13
15
|
|
|
@@ -15,7 +17,9 @@ class BaseMaterial:
|
|
|
15
17
|
"""
|
|
16
18
|
Provides a formal string representation of the Material object, including key attributes.
|
|
17
19
|
|
|
18
|
-
Returns
|
|
19
|
-
|
|
20
|
+
Returns
|
|
21
|
+
-------
|
|
22
|
+
str
|
|
23
|
+
Formal representation of the Material object.
|
|
20
24
|
"""
|
|
21
25
|
return self.__str__()
|
|
@@ -45,14 +45,20 @@ class Material:
|
|
|
45
45
|
"""
|
|
46
46
|
Retrieve a material by name.
|
|
47
47
|
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
Parameters
|
|
49
|
+
----------
|
|
50
|
+
material_name : str
|
|
51
|
+
The name of the material to retrieve.
|
|
50
52
|
|
|
51
|
-
Returns
|
|
52
|
-
|
|
53
|
+
Returns
|
|
54
|
+
-------
|
|
55
|
+
Union[SellmeierMaterial, TabulatedMaterial]
|
|
56
|
+
An instance of the material if found.
|
|
53
57
|
|
|
54
|
-
Raises
|
|
55
|
-
|
|
58
|
+
Raises
|
|
59
|
+
------
|
|
60
|
+
FileNotFoundError
|
|
61
|
+
If the material is not found in either the Sellmeier or Tabulated lists.
|
|
56
62
|
"""
|
|
57
63
|
if material_name in data.sellmeier.material_list:
|
|
58
64
|
return SellmeierMaterial(material_name)
|
|
@@ -64,11 +64,14 @@ class SellmeierMaterial(BaseMaterial):
|
|
|
64
64
|
"""
|
|
65
65
|
Checks if a wavelength is within the material's allowable range and raises an error if it is not.
|
|
66
66
|
|
|
67
|
-
|
|
67
|
+
Parameters
|
|
68
|
+
----------
|
|
68
69
|
wavelength (float): The wavelength to check in meters.
|
|
69
70
|
|
|
70
|
-
Raises
|
|
71
|
-
|
|
71
|
+
Raises
|
|
72
|
+
------
|
|
73
|
+
ValueError
|
|
74
|
+
If the wavelength is outside the allowable range.
|
|
72
75
|
"""
|
|
73
76
|
if self.wavelength_range is not None:
|
|
74
77
|
min_value, max_value = self.wavelength_range
|
|
@@ -79,14 +82,20 @@ class SellmeierMaterial(BaseMaterial):
|
|
|
79
82
|
"""
|
|
80
83
|
Computes the refractive index n(λ) using the appropriate formula (either Formula 1 or Formula 2).
|
|
81
84
|
|
|
82
|
-
|
|
83
|
-
|
|
85
|
+
Parameters
|
|
86
|
+
----------
|
|
87
|
+
wavelength : Union[float, numpy.ndarray])
|
|
88
|
+
The wavelength λ in meters, can be a single float or a numpy array.
|
|
84
89
|
|
|
85
|
-
Returns
|
|
86
|
-
|
|
90
|
+
Returns
|
|
91
|
+
-------
|
|
92
|
+
Union[float, numpy.ndarray]
|
|
93
|
+
The refractive index n(λ) for the given wavelength or array of wavelengths.
|
|
87
94
|
|
|
88
|
-
Raises
|
|
89
|
-
|
|
95
|
+
Raises
|
|
96
|
+
------
|
|
97
|
+
ValueError
|
|
98
|
+
If the wavelength is outside the specified range or if an unsupported formula type is encountered.
|
|
90
99
|
"""
|
|
91
100
|
# Ensure that wavelength is within the allowable range if it's a single value
|
|
92
101
|
wavelength = numpy.atleast_1d(wavelength)
|
|
@@ -139,8 +148,10 @@ class SellmeierMaterial(BaseMaterial):
|
|
|
139
148
|
"""
|
|
140
149
|
Plots the refractive index as a function of wavelength over a specified range.
|
|
141
150
|
|
|
142
|
-
|
|
143
|
-
|
|
151
|
+
Parameters
|
|
152
|
+
----------
|
|
153
|
+
wavelength_range : Union[List[float], numpy.ndarray]
|
|
154
|
+
The range of wavelengths to plot, in meters.
|
|
144
155
|
"""
|
|
145
156
|
with plt.style.context(mps):
|
|
146
157
|
if wavelength is None:
|
|
@@ -168,8 +179,10 @@ class SellmeierMaterial(BaseMaterial):
|
|
|
168
179
|
"""
|
|
169
180
|
Provides a formal string representation of the Material object, including key attributes.
|
|
170
181
|
|
|
171
|
-
Returns
|
|
172
|
-
|
|
182
|
+
Returns
|
|
183
|
+
-------
|
|
184
|
+
str
|
|
185
|
+
Formal representation of the Material object.
|
|
173
186
|
"""
|
|
174
187
|
return (
|
|
175
188
|
f"\nMaterial: '{self.filename}',\n"
|
|
@@ -56,14 +56,19 @@ class TabulatedMaterial(BaseMaterial):
|
|
|
56
56
|
"""
|
|
57
57
|
Interpolates the refractive index (n) and absorption (k) values for the given wavelength(s).
|
|
58
58
|
|
|
59
|
-
|
|
59
|
+
Parameters
|
|
60
|
+
----------
|
|
60
61
|
wavelength (Union[float, numpy.ndarray]): Wavelength(s) in micrometers for which to interpolate n and k.
|
|
61
62
|
|
|
62
|
-
Returns
|
|
63
|
-
|
|
63
|
+
Returns
|
|
64
|
+
-------
|
|
65
|
+
Tuple[numpy.ndarray, numpy.ndarray]
|
|
66
|
+
Interpolated refractive index (n) and absorption (k) values.
|
|
64
67
|
|
|
65
|
-
Raises
|
|
66
|
-
|
|
68
|
+
Raises
|
|
69
|
+
------
|
|
70
|
+
ValueError
|
|
71
|
+
If the wavelength is outside the tabulated range.
|
|
67
72
|
"""
|
|
68
73
|
wavelength = numpy.asarray(wavelength)
|
|
69
74
|
|
|
@@ -111,8 +116,10 @@ class TabulatedMaterial(BaseMaterial):
|
|
|
111
116
|
"""
|
|
112
117
|
Provides a formal string representation of the TabulatedMaterial object, including key attributes.
|
|
113
118
|
|
|
114
|
-
Returns
|
|
115
|
-
|
|
119
|
+
Returns
|
|
120
|
+
-------
|
|
121
|
+
str
|
|
122
|
+
Formal representation of the TabulatedMaterial object.
|
|
116
123
|
"""
|
|
117
124
|
return (
|
|
118
125
|
f"\nTabulatedMaterial: '{self.filename}',\n"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: PyOptik
|
|
3
|
-
Version: 1.6.
|
|
3
|
+
Version: 1.6.5.post0
|
|
4
4
|
Summary: A package for refractive index values.
|
|
5
5
|
Author-email: Martin Poinsinet de Sivry-Houle <martin.poinsinet.de.sivry@gmail.com>
|
|
6
6
|
License: MIT License
|
|
@@ -69,7 +69,7 @@ PyOptik is a powerful Python tool designed to import refractive indexes and exti
|
|
|
69
69
|
:header-rows: 1
|
|
70
70
|
|
|
71
71
|
* - Testing
|
|
72
|
-
-
|
|
72
|
+
- |ci/cd|
|
|
73
73
|
- |coverage|
|
|
74
74
|
-
|
|
75
75
|
* - Package
|
|
@@ -199,6 +199,10 @@ As of 2024, PyOptik is still under development. If you would like to collaborate
|
|
|
199
199
|
:target: https://martinpdes.github.io/PyOptik/
|
|
200
200
|
:alt: Documentation Status
|
|
201
201
|
|
|
202
|
+
.. |ci/cd| image:: https://github.com/martinpdes/pyoptik/actions/workflows/deploy_coverage.yml/badge.svg
|
|
203
|
+
:target: https://martinpdes.github.io/PyOptik/actions
|
|
204
|
+
:alt: Unittest Status
|
|
205
|
+
|
|
202
206
|
.. |PyPi| image:: https://badge.fury.io/py/pyoptik.svg
|
|
203
207
|
:target: https://badge.fury.io/py/pyoptik
|
|
204
208
|
|
|
@@ -10,7 +10,7 @@ PyOptik is a powerful Python tool designed to import refractive indexes and exti
|
|
|
10
10
|
:header-rows: 1
|
|
11
11
|
|
|
12
12
|
* - Testing
|
|
13
|
-
-
|
|
13
|
+
- |ci/cd|
|
|
14
14
|
- |coverage|
|
|
15
15
|
-
|
|
16
16
|
* - Package
|
|
@@ -140,6 +140,10 @@ As of 2024, PyOptik is still under development. If you would like to collaborate
|
|
|
140
140
|
:target: https://martinpdes.github.io/PyOptik/
|
|
141
141
|
:alt: Documentation Status
|
|
142
142
|
|
|
143
|
+
.. |ci/cd| image:: https://github.com/martinpdes/pyoptik/actions/workflows/deploy_coverage.yml/badge.svg
|
|
144
|
+
:target: https://martinpdes.github.io/PyOptik/actions
|
|
145
|
+
:alt: Unittest Status
|
|
146
|
+
|
|
143
147
|
.. |PyPi| image:: https://badge.fury.io/py/pyoptik.svg
|
|
144
148
|
:target: https://badge.fury.io/py/pyoptik
|
|
145
149
|
|
|
@@ -22,7 +22,6 @@ autodoc_mock_imports = [
|
|
|
22
22
|
'matplotlib',
|
|
23
23
|
'scipy'
|
|
24
24
|
'numpydoc',
|
|
25
|
-
'MPSPlots',
|
|
26
25
|
]
|
|
27
26
|
|
|
28
27
|
|
|
@@ -36,10 +35,19 @@ version = PyOptik.__version__
|
|
|
36
35
|
|
|
37
36
|
extensions = [
|
|
38
37
|
'sphinx.ext.mathjax',
|
|
39
|
-
'
|
|
38
|
+
'pyvista.ext.plot_directive',
|
|
40
39
|
'sphinx_gallery.gen_gallery',
|
|
40
|
+
'sphinx.ext.autodoc',
|
|
41
|
+
'sphinx.ext.napoleon',
|
|
42
|
+
'sphinx.ext.viewcode',
|
|
43
|
+
'sphinx.ext.autosectionlabel',
|
|
44
|
+
'sphinx.ext.intersphinx',
|
|
41
45
|
]
|
|
42
46
|
|
|
47
|
+
# Napoleon settings for docstrings
|
|
48
|
+
napoleon_google_docstring = False
|
|
49
|
+
napoleon_numpy_docstring = True
|
|
50
|
+
|
|
43
51
|
|
|
44
52
|
def reset_mpl(gallery_conf, fname):
|
|
45
53
|
use_mpsplots_style()
|
|
@@ -3,6 +3,7 @@ package:
|
|
|
3
3
|
version: {{ GIT_DESCRIBE_TAG }}
|
|
4
4
|
|
|
5
5
|
source:
|
|
6
|
+
path: ../
|
|
6
7
|
git_url: https://github.com/MartinPdeS/PyOptik.git
|
|
7
8
|
|
|
8
9
|
build:
|
|
@@ -10,6 +11,10 @@ build:
|
|
|
10
11
|
script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation
|
|
11
12
|
number: 0
|
|
12
13
|
|
|
14
|
+
channels:
|
|
15
|
+
- conda-forge
|
|
16
|
+
- martinpdes
|
|
17
|
+
|
|
13
18
|
requirements:
|
|
14
19
|
host:
|
|
15
20
|
- python >=3.8
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/PyOptik/data/sellmeier/fluorine_doped_silica_1%.yml
RENAMED
|
File without changes
|
{pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/PyOptik/data/sellmeier/fluorine_doped_silica_2%.yml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/create_sellmeier_file.py.md5
RENAMED
|
File without changes
|
|
File without changes
|
{pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/create_sellmeier_file_codeobj.pickle
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/create_tabulated_file.py.md5
RENAMED
|
File without changes
|
|
File without changes
|
{pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/create_tabulated_file_codeobj.pickle
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/download_yml_file_codeobj.pickle
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/images/sphx_glr_plot_bk7_001.png
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/images/sphx_glr_plot_sf5_001.png
RENAMED
|
File without changes
|
{pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/images/sphx_glr_plot_silica_001.png
RENAMED
|
File without changes
|
{pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/images/sphx_glr_plot_silver_001.png
RENAMED
|
File without changes
|
{pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/images/sphx_glr_plot_water_001.png
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/plot_sellmeier_0_codeobj.pickle
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pyoptik-1.6.3.post0 → pyoptik-1.6.5.post0}/docs/source/gallery/plot_sellmeier_1_codeobj.pickle
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|