PyOptik 1.9.8__tar.gz → 1.9.8.2__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.9.8 → pyoptik-1.9.8.2}/.github/workflows/deploy_documentation.yml +35 -23
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/PKG-INFO +8 -5
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/PyOptik/_version.py +2 -2
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/PyOptik.egg-info/PKG-INFO +8 -5
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/README.rst +7 -4
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/.flake8 +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/.github/dependabot.yml +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/.github/workflows/deploy_PyPi.yml +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/.github/workflows/deploy_anaconda.yml +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/.github/workflows/deploy_coverage.yml +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/.gitignore +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/.readthedocs.yml +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/LICENSE +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/PyOptik/__init__.py +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/PyOptik/__main__.py +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/PyOptik/data/__init__.py +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/PyOptik/data/sellmeier/BAK1.yml +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/PyOptik/data/sellmeier/BK7.yml +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/PyOptik/data/sellmeier/SF5.yml +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/PyOptik/data/sellmeier/ZBLAN.yml +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/PyOptik/data/sellmeier/air.yml +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/PyOptik/data/sellmeier/argon.yml +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/PyOptik/data/sellmeier/crown.yml +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/PyOptik/data/sellmeier/flint.yml +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/PyOptik/data/sellmeier/fused_silica.yml +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/PyOptik/data/sellmeier/germanium.yml +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/PyOptik/data/sellmeier/lithium_niobate.yml +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/PyOptik/data/sellmeier/polystyren.yml +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/PyOptik/data/sellmeier/silicon.yml +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/PyOptik/data/sellmeier/soda_lime_glass.yml +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/PyOptik/data/sellmeier/water.yml +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/PyOptik/data/tabulated/aluminium.yml +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/PyOptik/data/tabulated/calcium.yml +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/PyOptik/data/tabulated/copper.yml +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/PyOptik/data/tabulated/gold.yml +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/PyOptik/data/tabulated/iron.yml +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/PyOptik/data/tabulated/nickel.yml +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/PyOptik/data/tabulated/silver.yml +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/PyOptik/data/tabulated/sodium.yml +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/PyOptik/data/tabulated/zinc.yml +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/PyOptik/directories.py +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/PyOptik/libraries/__init__.py +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/PyOptik/libraries/classics.yml +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/PyOptik/libraries/dielectrics.yml +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/PyOptik/libraries/metals.yml +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/PyOptik/libraries/minimal.yml +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/PyOptik/libraries/organics.yml +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/PyOptik/libraries/others.yml +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/PyOptik/libraries/polymers.yml +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/PyOptik/material/__init__.py +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/PyOptik/material/base_class.py +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/PyOptik/material/sellmeier_class.py +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/PyOptik/material/tabulated_class.py +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/PyOptik/material_bank.py +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/PyOptik/material_type.py +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/PyOptik/units.py +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/PyOptik/utils.py +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/PyOptik.egg-info/SOURCES.txt +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/PyOptik.egg-info/dependency_links.txt +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/PyOptik.egg-info/requires.txt +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/PyOptik.egg-info/top_level.txt +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/development/dev_0.py +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/docs/Makefile +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/docs/examples/README.rst +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/docs/examples/sellmeier/README.rst +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/docs/examples/sellmeier/plot_bk7.py +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/docs/examples/sellmeier/plot_silica.py +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/docs/examples/sellmeier/plot_water.py +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/docs/examples/tabulated/README.rst +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/docs/examples/tabulated/plot_sf5.py +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/docs/examples/tabulated/plot_silver.py +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/docs/examples/utils/README.rst +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/docs/examples/utils/build_library.py +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/docs/examples/utils/create_sellmeier_file.py +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/docs/examples/utils/create_tabulated_file.py +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/docs/examples/utils/download_yml_file.py +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/docs/images/example_bk7.png +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/docs/images/logo.png +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/docs/make.bat +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/docs/source/_static/default.css +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/docs/source/_static/thumbnail.png +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/docs/source/code.rst +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/docs/source/conf.py +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/docs/source/gallery/index.rst +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/docs/source/index.rst +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/docs/source/references.rst +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/meta.yaml +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/pyproject.toml +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/setup.cfg +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/tests/__init__.py +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/tests/test_sellmeier.py +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/tests/test_tabulated.py +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/tests/test_usual_material.py +0 -0
- {pyoptik-1.9.8 → pyoptik-1.9.8.2}/tests/test_utils.py +0 -0
|
@@ -86,31 +86,43 @@ jobs:
|
|
|
86
86
|
sudo apt-get update
|
|
87
87
|
sudo apt-get install -y jq
|
|
88
88
|
|
|
89
|
-
- name:
|
|
89
|
+
- name: Scan for versions in docs folder and update version_switcher.json
|
|
90
90
|
run: |
|
|
91
|
-
#
|
|
92
|
-
tag="${GITHUB_REF#refs/tags/}"
|
|
93
|
-
echo "tag=$tag" >> $GITHUB_ENV
|
|
94
|
-
echo "Current tag: $tag"
|
|
95
|
-
|
|
96
|
-
- name: Update version_switcher.json with new tag
|
|
97
|
-
env:
|
|
98
|
-
TAG: ${{ env.tag }}
|
|
99
|
-
run: |
|
|
100
|
-
# Define the path to version_switcher.json and new version details
|
|
91
|
+
# Define the path to version_switcher.json
|
|
101
92
|
json_file="version_switcher.json"
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
#
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
93
|
+
docs_path="docs"
|
|
94
|
+
base_url="https://martinpdes.github.io/PyOptik"
|
|
95
|
+
|
|
96
|
+
# Initialize an empty array for versions in JSON format
|
|
97
|
+
versions_list=$(mktemp) # Temporary file to store the array
|
|
98
|
+
|
|
99
|
+
echo "[" > $versions_list # Start of the JSON array
|
|
100
|
+
|
|
101
|
+
# Scan each directory in docs and add it to the versions list
|
|
102
|
+
first_entry=true
|
|
103
|
+
for version_dir in ${docs_path}/*/; do
|
|
104
|
+
version=$(basename "$version_dir")
|
|
105
|
+
version_url="${base_url}/${docs_path}/${version}"
|
|
106
|
+
|
|
107
|
+
# Add a comma if it's not the first entry
|
|
108
|
+
if [ "$first_entry" = true ]; then
|
|
109
|
+
first_entry=false
|
|
110
|
+
else
|
|
111
|
+
echo "," >> $versions_list
|
|
112
|
+
fi
|
|
113
|
+
|
|
114
|
+
# Append each version as a JSON entry
|
|
115
|
+
jq -n \
|
|
116
|
+
--arg name "$version" \
|
|
117
|
+
--arg version "$version" \
|
|
118
|
+
--arg url "$version_url" \
|
|
119
|
+
'{name: $name, version: $version, url: $url}' >> $versions_list
|
|
120
|
+
done
|
|
121
|
+
|
|
122
|
+
echo "]" >> $versions_list # End of the JSON array
|
|
123
|
+
|
|
124
|
+
# Move the temporary array file to version_switcher.json
|
|
125
|
+
mv $versions_list $json_file
|
|
114
126
|
|
|
115
127
|
- name: Commit and push the updated version_switcher.json
|
|
116
128
|
run: |
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: PyOptik
|
|
3
|
-
Version: 1.9.8
|
|
3
|
+
Version: 1.9.8.2
|
|
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
|
|
@@ -59,10 +59,6 @@ Requires-Dist: pydata-sphinx-theme==0.14.1; extra == "documentation"
|
|
|
59
59
|
Provides-Extra: dev
|
|
60
60
|
Requires-Dist: flake8==7.1.1; extra == "dev"
|
|
61
61
|
|
|
62
|
-
PyOptik
|
|
63
|
-
=======
|
|
64
|
-
|
|
65
|
-
PyOptik is a Python tool designed to import refractive indexes and extinction coefficients for various materials across different wavelengths. The data provided by PyOptik can be used in numerous applications, including simulating light interactions with particles. All data is sourced from the reputable RefractiveIndex.INFO database.
|
|
66
62
|
|
|
67
63
|
|logo|
|
|
68
64
|
|
|
@@ -84,6 +80,13 @@ PyOptik is a Python tool designed to import refractive indexes and extinction co
|
|
|
84
80
|
- |anaconda_download|
|
|
85
81
|
|
|
86
82
|
|
|
83
|
+
PyOptik
|
|
84
|
+
=======
|
|
85
|
+
|
|
86
|
+
PyOptik is a Python tool designed to import refractive indexes and extinction coefficients for various materials across different wavelengths. The data provided by PyOptik can be used in numerous applications, including simulating light interactions with particles. All data is sourced from the reputable RefractiveIndex.INFO database.
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
|
|
87
90
|
Features
|
|
88
91
|
********
|
|
89
92
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: PyOptik
|
|
3
|
-
Version: 1.9.8
|
|
3
|
+
Version: 1.9.8.2
|
|
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
|
|
@@ -59,10 +59,6 @@ Requires-Dist: pydata-sphinx-theme==0.14.1; extra == "documentation"
|
|
|
59
59
|
Provides-Extra: dev
|
|
60
60
|
Requires-Dist: flake8==7.1.1; extra == "dev"
|
|
61
61
|
|
|
62
|
-
PyOptik
|
|
63
|
-
=======
|
|
64
|
-
|
|
65
|
-
PyOptik is a Python tool designed to import refractive indexes and extinction coefficients for various materials across different wavelengths. The data provided by PyOptik can be used in numerous applications, including simulating light interactions with particles. All data is sourced from the reputable RefractiveIndex.INFO database.
|
|
66
62
|
|
|
67
63
|
|logo|
|
|
68
64
|
|
|
@@ -84,6 +80,13 @@ PyOptik is a Python tool designed to import refractive indexes and extinction co
|
|
|
84
80
|
- |anaconda_download|
|
|
85
81
|
|
|
86
82
|
|
|
83
|
+
PyOptik
|
|
84
|
+
=======
|
|
85
|
+
|
|
86
|
+
PyOptik is a Python tool designed to import refractive indexes and extinction coefficients for various materials across different wavelengths. The data provided by PyOptik can be used in numerous applications, including simulating light interactions with particles. All data is sourced from the reputable RefractiveIndex.INFO database.
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
|
|
87
90
|
Features
|
|
88
91
|
********
|
|
89
92
|
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
PyOptik
|
|
2
|
-
=======
|
|
3
|
-
|
|
4
|
-
PyOptik is a Python tool designed to import refractive indexes and extinction coefficients for various materials across different wavelengths. The data provided by PyOptik can be used in numerous applications, including simulating light interactions with particles. All data is sourced from the reputable RefractiveIndex.INFO database.
|
|
5
1
|
|
|
6
2
|
|logo|
|
|
7
3
|
|
|
@@ -23,6 +19,13 @@ PyOptik is a Python tool designed to import refractive indexes and extinction co
|
|
|
23
19
|
- |anaconda_download|
|
|
24
20
|
|
|
25
21
|
|
|
22
|
+
PyOptik
|
|
23
|
+
=======
|
|
24
|
+
|
|
25
|
+
PyOptik is a Python tool designed to import refractive indexes and extinction coefficients for various materials across different wavelengths. The data provided by PyOptik can be used in numerous applications, including simulating light interactions with particles. All data is sourced from the reputable RefractiveIndex.INFO database.
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
26
29
|
Features
|
|
27
30
|
********
|
|
28
31
|
|
|
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
|
|
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
|