PyOptik 1.6.1.post0__tar.gz → 1.6.3.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/.github/workflows/deploy_anaconda.yml +34 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/.github/workflows/deploy_coverage.yml +1 -1
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/.github/workflows/deploy_documentation.yml +1 -1
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/PKG-INFO +25 -5
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/PyOptik/_version.py +2 -2
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/PyOptik/material.py +2 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/PyOptik/sellmeier_class.py +7 -1
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/PyOptik/tabulated_class.py +7 -1
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/PyOptik.egg-info/PKG-INFO +25 -5
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/PyOptik.egg-info/SOURCES.txt +2 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/PyOptik.egg-info/requires.txt +2 -1
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/README.rst +22 -3
- pyoptik-1.6.3.post0/meta.yaml +61 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/pyproject.toml +2 -1
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/.github/dependabot.yml +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/.github/workflows/deploy_workflow.yml +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/.gitignore +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/.readthedocs.yml +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/LICENSE +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/PyOptik/__init__.py +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/PyOptik/__main__.py +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/PyOptik/base_class.py +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/PyOptik/data/__init__.py +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/PyOptik/data/sellmeier/BAK1.yml +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/PyOptik/data/sellmeier/BK7.yml +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/PyOptik/data/sellmeier/SF5.yml +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/PyOptik/data/sellmeier/ZBLAN.yml +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/PyOptik/data/sellmeier/__init__.py +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/PyOptik/data/sellmeier/argon.yml +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/PyOptik/data/sellmeier/crown.yml +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/PyOptik/data/sellmeier/default.py +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/PyOptik/data/sellmeier/flint.yml +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/PyOptik/data/sellmeier/fluorine_doped_silica_1%.yml +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/PyOptik/data/sellmeier/fluorine_doped_silica_2%.yml +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/PyOptik/data/sellmeier/fused_silica.yml +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/PyOptik/data/sellmeier/germanium.yml +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/PyOptik/data/sellmeier/lithium_niobate.yml +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/PyOptik/data/sellmeier/polystyren.yml +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/PyOptik/data/sellmeier/silica.yml +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/PyOptik/data/sellmeier/silicon.yml +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/PyOptik/data/sellmeier/soda_lime_glass.yml +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/PyOptik/data/sellmeier/water.yml +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/PyOptik/data/tabulated/__init__.py +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/PyOptik/data/tabulated/aluminium.yml +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/PyOptik/data/tabulated/calcium.yml +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/PyOptik/data/tabulated/copper.yml +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/PyOptik/data/tabulated/default.py +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/PyOptik/data/tabulated/gold.yml +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/PyOptik/data/tabulated/iron.yml +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/PyOptik/data/tabulated/nickel.yml +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/PyOptik/data/tabulated/silver.yml +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/PyOptik/data/tabulated/sodium.yml +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/PyOptik/data/tabulated/zinc.yml +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/PyOptik/directories.py +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/PyOptik/utils.py +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/PyOptik.egg-info/dependency_links.txt +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/PyOptik.egg-info/top_level.txt +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/Makefile +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/examples/README.rst +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/examples/create_sellmeier_file.py +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/examples/create_tabulated_file.py +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/examples/download_yml_file.py +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/examples/plot_bk7.py +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/examples/plot_sf5.py +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/examples/plot_silica.py +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/examples/plot_silver.py +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/examples/plot_water.py +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/images/example_bk7.png +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/images/logo.png +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/make.bat +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/_static/default.css +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/code.rst +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/conf.py +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/add_material.ipynb +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/add_material.py +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/add_material.rst +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/add_material_codeobj.pickle +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/create_sellmeier_file.ipynb +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/create_sellmeier_file.py +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/create_sellmeier_file.py.md5 +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/create_sellmeier_file.rst +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/create_sellmeier_file_codeobj.pickle +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/create_tabulated_file.ipynb +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/create_tabulated_file.py +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/create_tabulated_file.py.md5 +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/create_tabulated_file.rst +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/create_tabulated_file_codeobj.pickle +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/download_yml_file.ipynb +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/download_yml_file.py +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/download_yml_file.py.md5 +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/download_yml_file.rst +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/download_yml_file_codeobj.pickle +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/get_values.ipynb +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/get_values.py +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/get_values.rst +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/get_values_codeobj.pickle +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/images/sphx_glr_create_sellmeier_file_001.png +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/images/sphx_glr_create_tabulated_file_001.png +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/images/sphx_glr_download_yml_file_001.png +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/images/sphx_glr_plot_bk7_001.png +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/images/sphx_glr_plot_sellmeier_0_001.png +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/images/sphx_glr_plot_sellmeier_1_001.png +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/images/sphx_glr_plot_sf5_001.png +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/images/sphx_glr_plot_silica_001.png +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/images/sphx_glr_plot_silver_001.png +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/images/sphx_glr_plot_water_001.png +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/images/thumb/sphx_glr_add_material_thumb.png +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/images/thumb/sphx_glr_create_sellmeier_file_thumb.png +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/images/thumb/sphx_glr_create_tabulated_file_thumb.png +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/images/thumb/sphx_glr_download_yml_file_thumb.png +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/images/thumb/sphx_glr_get_values_thumb.png +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/images/thumb/sphx_glr_plot_bk7_thumb.png +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/images/thumb/sphx_glr_plot_sellmeier_0_thumb.png +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/images/thumb/sphx_glr_plot_sellmeier_1_thumb.png +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/images/thumb/sphx_glr_plot_sf5_thumb.png +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/images/thumb/sphx_glr_plot_silica_thumb.png +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/images/thumb/sphx_glr_plot_silver_thumb.png +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/images/thumb/sphx_glr_plot_water_thumb.png +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/index.rst +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/plot_bk7.ipynb +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/plot_bk7.py +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/plot_bk7.py.md5 +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/plot_bk7.rst +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/plot_bk7_codeobj.pickle +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/plot_sellmeier_0.ipynb +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/plot_sellmeier_0.py +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/plot_sellmeier_0.py.md5 +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/plot_sellmeier_0.rst +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/plot_sellmeier_0_codeobj.pickle +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/plot_sellmeier_1.ipynb +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/plot_sellmeier_1.py +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/plot_sellmeier_1.py.md5 +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/plot_sellmeier_1.rst +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/plot_sellmeier_1_codeobj.pickle +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/plot_sf5.ipynb +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/plot_sf5.py +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/plot_sf5.py.md5 +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/plot_sf5.rst +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/plot_sf5_codeobj.pickle +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/plot_silica.ipynb +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/plot_silica.py +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/plot_silica.py.md5 +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/plot_silica.rst +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/plot_silica_codeobj.pickle +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/plot_silver.ipynb +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/plot_silver.py +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/plot_silver.py.md5 +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/plot_silver.rst +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/plot_silver_codeobj.pickle +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/plot_water.ipynb +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/plot_water.py +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/plot_water.py.md5 +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/plot_water.rst +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/plot_water_codeobj.pickle +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/sg_execution_times.rst +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/index.rst +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/references.rst +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/setup.cfg +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/tests/__init__.py +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/tests/test_sellmeier.py +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/tests/test_tabulated.py +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/tests/test_usual_material.py +0 -0
- {pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/tests/test_utils.py +0 -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 .
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: PyOptik
|
|
3
|
-
Version: 1.6.
|
|
3
|
+
Version: 1.6.3.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
|
|
@@ -39,7 +39,8 @@ License-File: LICENSE
|
|
|
39
39
|
Requires-Dist: pydantic>=2.6.3
|
|
40
40
|
Requires-Dist: numpy
|
|
41
41
|
Requires-Dist: scipy
|
|
42
|
-
Requires-Dist:
|
|
42
|
+
Requires-Dist: pyyaml
|
|
43
|
+
Requires-Dist: MPSPlots
|
|
43
44
|
Requires-Dist: tabulate
|
|
44
45
|
Provides-Extra: testing
|
|
45
46
|
Requires-Dist: pytest>=0.6; extra == "testing"
|
|
@@ -63,7 +64,22 @@ PyOptik is a powerful Python tool designed to import refractive indexes and exti
|
|
|
63
64
|
|
|
64
65
|
|Logo|
|
|
65
66
|
|
|
66
|
-
|
|
67
|
+
.. list-table::
|
|
68
|
+
:widths: 10 25 25 25
|
|
69
|
+
:header-rows: 1
|
|
70
|
+
|
|
71
|
+
* - Testing
|
|
72
|
+
-
|
|
73
|
+
- |coverage|
|
|
74
|
+
-
|
|
75
|
+
* - Package
|
|
76
|
+
- |PyPi|
|
|
77
|
+
- |PyPi_download|
|
|
78
|
+
- |anaconda|
|
|
79
|
+
* - Meta
|
|
80
|
+
- |python|
|
|
81
|
+
- |docs|
|
|
82
|
+
-
|
|
67
83
|
|
|
68
84
|
Features
|
|
69
85
|
********
|
|
@@ -75,11 +91,12 @@ Features
|
|
|
75
91
|
Installation
|
|
76
92
|
************
|
|
77
93
|
|
|
78
|
-
To install PyOptik, simply use pip
|
|
94
|
+
To install PyOptik, simply use `pip` or `conda`:
|
|
79
95
|
|
|
80
96
|
.. code:: bash
|
|
81
97
|
|
|
82
|
-
pip install
|
|
98
|
+
pip install PyOptik
|
|
99
|
+
conda install pyoptik
|
|
83
100
|
|
|
84
101
|
Usage
|
|
85
102
|
*****
|
|
@@ -191,3 +208,6 @@ As of 2024, PyOptik is still under development. If you would like to collaborate
|
|
|
191
208
|
.. |coverage| image:: https://raw.githubusercontent.com/MartinPdeS/PyOptik/python-coverage-comment-action-data/badge.svg
|
|
192
209
|
:alt: Unittest coverage
|
|
193
210
|
:target: https://htmlpreview.github.io/?https://github.com/MartinPdeS/PyOptik/blob/python-coverage-comment-action-data/htmlcov/index.html
|
|
211
|
+
|
|
212
|
+
.. |anaconda| image:: https://anaconda.org/martinpdes/pyoptik/badges/version.svg
|
|
213
|
+
:target: https://anaconda.org/martinpdes/pyoptik
|
|
@@ -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.3.post0'
|
|
16
|
+
__version_tuple__ = version_tuple = (1, 6, 3)
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# -*- coding: utf-8 -*-
|
|
3
3
|
|
|
4
4
|
from typing import Union
|
|
5
|
+
from dataclasses import dataclass
|
|
5
6
|
from PyOptik.sellmeier_class import SellmeierMaterial
|
|
6
7
|
from PyOptik.tabulated_class import TabulatedMaterial
|
|
7
8
|
from PyOptik import data
|
|
@@ -15,6 +16,7 @@ class staticproperty(property):
|
|
|
15
16
|
def __get__(self, owner_self, owner_cls):
|
|
16
17
|
return self.fget()
|
|
17
18
|
|
|
19
|
+
@dataclass(unsafe_hash=True)
|
|
18
20
|
class Material:
|
|
19
21
|
"""
|
|
20
22
|
A class representing common materials available in the PyOptik library.
|
|
@@ -12,7 +12,7 @@ import warnings
|
|
|
12
12
|
from PyOptik.base_class import BaseMaterial
|
|
13
13
|
from MPSPlots.styles import mps
|
|
14
14
|
|
|
15
|
-
@dataclass
|
|
15
|
+
@dataclass(unsafe_hash=True)
|
|
16
16
|
class SellmeierMaterial(BaseMaterial):
|
|
17
17
|
filename: str
|
|
18
18
|
coefficients: numpy.ndarray = field(init=False)
|
|
@@ -20,6 +20,12 @@ class SellmeierMaterial(BaseMaterial):
|
|
|
20
20
|
reference: Optional[str] = field(init=False)
|
|
21
21
|
formula_type: int = field(init=False)
|
|
22
22
|
|
|
23
|
+
def __repr__(self) -> str:
|
|
24
|
+
return self.__str__()
|
|
25
|
+
|
|
26
|
+
def __str__(self) -> str:
|
|
27
|
+
return self.filename
|
|
28
|
+
|
|
23
29
|
def __post_init__(self) -> None:
|
|
24
30
|
"""
|
|
25
31
|
Post-initialization method to load coefficients, wavelength range, formula type, and reference from a YAML file.
|
|
@@ -12,7 +12,7 @@ from PyOptik.base_class import BaseMaterial
|
|
|
12
12
|
from MPSPlots.styles import mps
|
|
13
13
|
import matplotlib.pyplot as plt
|
|
14
14
|
|
|
15
|
-
@dataclass
|
|
15
|
+
@dataclass(unsafe_hash=True)
|
|
16
16
|
class TabulatedMaterial(BaseMaterial):
|
|
17
17
|
filename: str
|
|
18
18
|
wavelength: numpy.ndarray = field(init=False)
|
|
@@ -20,6 +20,12 @@ class TabulatedMaterial(BaseMaterial):
|
|
|
20
20
|
k_values: numpy.ndarray = field(init=False)
|
|
21
21
|
reference: Optional[str] = field(init=False)
|
|
22
22
|
|
|
23
|
+
def __repr__(self) -> str:
|
|
24
|
+
return self.__str__()
|
|
25
|
+
|
|
26
|
+
def __str__(self) -> str:
|
|
27
|
+
return self.filename
|
|
28
|
+
|
|
23
29
|
def __post_init__(self) -> None:
|
|
24
30
|
"""
|
|
25
31
|
Post-initialization method to load the tabulated data from the YAML file.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: PyOptik
|
|
3
|
-
Version: 1.6.
|
|
3
|
+
Version: 1.6.3.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
|
|
@@ -39,7 +39,8 @@ License-File: LICENSE
|
|
|
39
39
|
Requires-Dist: pydantic>=2.6.3
|
|
40
40
|
Requires-Dist: numpy
|
|
41
41
|
Requires-Dist: scipy
|
|
42
|
-
Requires-Dist:
|
|
42
|
+
Requires-Dist: pyyaml
|
|
43
|
+
Requires-Dist: MPSPlots
|
|
43
44
|
Requires-Dist: tabulate
|
|
44
45
|
Provides-Extra: testing
|
|
45
46
|
Requires-Dist: pytest>=0.6; extra == "testing"
|
|
@@ -63,7 +64,22 @@ PyOptik is a powerful Python tool designed to import refractive indexes and exti
|
|
|
63
64
|
|
|
64
65
|
|Logo|
|
|
65
66
|
|
|
66
|
-
|
|
67
|
+
.. list-table::
|
|
68
|
+
:widths: 10 25 25 25
|
|
69
|
+
:header-rows: 1
|
|
70
|
+
|
|
71
|
+
* - Testing
|
|
72
|
+
-
|
|
73
|
+
- |coverage|
|
|
74
|
+
-
|
|
75
|
+
* - Package
|
|
76
|
+
- |PyPi|
|
|
77
|
+
- |PyPi_download|
|
|
78
|
+
- |anaconda|
|
|
79
|
+
* - Meta
|
|
80
|
+
- |python|
|
|
81
|
+
- |docs|
|
|
82
|
+
-
|
|
67
83
|
|
|
68
84
|
Features
|
|
69
85
|
********
|
|
@@ -75,11 +91,12 @@ Features
|
|
|
75
91
|
Installation
|
|
76
92
|
************
|
|
77
93
|
|
|
78
|
-
To install PyOptik, simply use pip
|
|
94
|
+
To install PyOptik, simply use `pip` or `conda`:
|
|
79
95
|
|
|
80
96
|
.. code:: bash
|
|
81
97
|
|
|
82
|
-
pip install
|
|
98
|
+
pip install PyOptik
|
|
99
|
+
conda install pyoptik
|
|
83
100
|
|
|
84
101
|
Usage
|
|
85
102
|
*****
|
|
@@ -191,3 +208,6 @@ As of 2024, PyOptik is still under development. If you would like to collaborate
|
|
|
191
208
|
.. |coverage| image:: https://raw.githubusercontent.com/MartinPdeS/PyOptik/python-coverage-comment-action-data/badge.svg
|
|
192
209
|
:alt: Unittest coverage
|
|
193
210
|
:target: https://htmlpreview.github.io/?https://github.com/MartinPdeS/PyOptik/blob/python-coverage-comment-action-data/htmlcov/index.html
|
|
211
|
+
|
|
212
|
+
.. |anaconda| image:: https://anaconda.org/martinpdes/pyoptik/badges/version.svg
|
|
213
|
+
:target: https://anaconda.org/martinpdes/pyoptik
|
|
@@ -5,7 +5,22 @@ PyOptik is a powerful Python tool designed to import refractive indexes and exti
|
|
|
5
5
|
|
|
6
6
|
|Logo|
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
.. list-table::
|
|
9
|
+
:widths: 10 25 25 25
|
|
10
|
+
:header-rows: 1
|
|
11
|
+
|
|
12
|
+
* - Testing
|
|
13
|
+
-
|
|
14
|
+
- |coverage|
|
|
15
|
+
-
|
|
16
|
+
* - Package
|
|
17
|
+
- |PyPi|
|
|
18
|
+
- |PyPi_download|
|
|
19
|
+
- |anaconda|
|
|
20
|
+
* - Meta
|
|
21
|
+
- |python|
|
|
22
|
+
- |docs|
|
|
23
|
+
-
|
|
9
24
|
|
|
10
25
|
Features
|
|
11
26
|
********
|
|
@@ -17,11 +32,12 @@ Features
|
|
|
17
32
|
Installation
|
|
18
33
|
************
|
|
19
34
|
|
|
20
|
-
To install PyOptik, simply use pip
|
|
35
|
+
To install PyOptik, simply use `pip` or `conda`:
|
|
21
36
|
|
|
22
37
|
.. code:: bash
|
|
23
38
|
|
|
24
|
-
pip install
|
|
39
|
+
pip install PyOptik
|
|
40
|
+
conda install pyoptik
|
|
25
41
|
|
|
26
42
|
Usage
|
|
27
43
|
*****
|
|
@@ -133,3 +149,6 @@ As of 2024, PyOptik is still under development. If you would like to collaborate
|
|
|
133
149
|
.. |coverage| image:: https://raw.githubusercontent.com/MartinPdeS/PyOptik/python-coverage-comment-action-data/badge.svg
|
|
134
150
|
:alt: Unittest coverage
|
|
135
151
|
:target: https://htmlpreview.github.io/?https://github.com/MartinPdeS/PyOptik/blob/python-coverage-comment-action-data/htmlcov/index.html
|
|
152
|
+
|
|
153
|
+
.. |anaconda| image:: https://anaconda.org/martinpdes/pyoptik/badges/version.svg
|
|
154
|
+
:target: https://anaconda.org/martinpdes/pyoptik
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
package:
|
|
2
|
+
name: pyoptik
|
|
3
|
+
version: {{ GIT_DESCRIBE_TAG }}
|
|
4
|
+
|
|
5
|
+
source:
|
|
6
|
+
git_url: https://github.com/MartinPdeS/PyOptik.git
|
|
7
|
+
|
|
8
|
+
build:
|
|
9
|
+
noarch: python
|
|
10
|
+
script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation
|
|
11
|
+
number: 0
|
|
12
|
+
|
|
13
|
+
requirements:
|
|
14
|
+
host:
|
|
15
|
+
- python >=3.8
|
|
16
|
+
- setuptools >=40.8.0
|
|
17
|
+
- wheel
|
|
18
|
+
- setuptools-scm >=8.0
|
|
19
|
+
- pip
|
|
20
|
+
- martinpdes::mpsplots
|
|
21
|
+
run:
|
|
22
|
+
- martinpdes::mpsplots
|
|
23
|
+
- pyyaml >=6.0
|
|
24
|
+
- requests >=2.31
|
|
25
|
+
- matplotlib >=3.8
|
|
26
|
+
- numpy >=1.26
|
|
27
|
+
- pydantic >=2.9
|
|
28
|
+
- scipy
|
|
29
|
+
- tabulate >=0.9
|
|
30
|
+
|
|
31
|
+
about:
|
|
32
|
+
home: https://github.com/MartinPdeS/PyOptik
|
|
33
|
+
license: MIT
|
|
34
|
+
summary: "A package for refractive index values."
|
|
35
|
+
description: PyOptik is a library that helps the end-user to build it's own refractive index library.
|
|
36
|
+
dev_url: https://github.com/MartinPdeS/PyOptik
|
|
37
|
+
doc_url: https://pyoptik.readthedocs.io
|
|
38
|
+
license_file: LICENSE
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
test:
|
|
42
|
+
imports:
|
|
43
|
+
- PyOptik
|
|
44
|
+
requires:
|
|
45
|
+
- pip
|
|
46
|
+
- scipy==1.11.3
|
|
47
|
+
- pytest>=0.6
|
|
48
|
+
- pytest-cov>=2.0
|
|
49
|
+
- pytest-json-report==1.5.0
|
|
50
|
+
- mypy>=0.910
|
|
51
|
+
- flake8>=3.9
|
|
52
|
+
- tox>=3.24
|
|
53
|
+
- coverage==7.6.1
|
|
54
|
+
commands:
|
|
55
|
+
- python -m pytest
|
|
56
|
+
source_files:
|
|
57
|
+
- tests
|
|
58
|
+
|
|
59
|
+
extra:
|
|
60
|
+
recipe-maintainers:
|
|
61
|
+
- MartinPdeS
|
|
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.1.post0 → pyoptik-1.6.3.post0}/PyOptik/data/sellmeier/fluorine_doped_silica_1%.yml
RENAMED
|
File without changes
|
{pyoptik-1.6.1.post0 → pyoptik-1.6.3.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
|
{pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/create_sellmeier_file.py.md5
RENAMED
|
File without changes
|
|
File without changes
|
{pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/create_sellmeier_file_codeobj.pickle
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/create_tabulated_file.py.md5
RENAMED
|
File without changes
|
|
File without changes
|
{pyoptik-1.6.1.post0 → pyoptik-1.6.3.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.1.post0 → pyoptik-1.6.3.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.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/images/sphx_glr_plot_bk7_001.png
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/images/sphx_glr_plot_sf5_001.png
RENAMED
|
File without changes
|
{pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/images/sphx_glr_plot_silica_001.png
RENAMED
|
File without changes
|
{pyoptik-1.6.1.post0 → pyoptik-1.6.3.post0}/docs/source/gallery/images/sphx_glr_plot_silver_001.png
RENAMED
|
File without changes
|
{pyoptik-1.6.1.post0 → pyoptik-1.6.3.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.1.post0 → pyoptik-1.6.3.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.1.post0 → pyoptik-1.6.3.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
|