PyOptik 1.9.9.2__tar.gz → 1.9.9.5__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.9.5/.github/workflows/deploy_PyPi.yml +20 -0
- pyoptik-1.9.9.5/.github/workflows/deploy_anaconda.yml +21 -0
- pyoptik-1.9.9.5/.github/workflows/deploy_coverage.yml +25 -0
- pyoptik-1.9.9.5/.github/workflows/deploy_documentation.yml +23 -0
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/PKG-INFO +1 -1
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/PyOptik/_version.py +2 -2
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/PyOptik/data/sellmeier/BAK1.yml +8 -8
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/PyOptik/data/sellmeier/BK7.yml +10 -10
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/PyOptik/data/sellmeier/SF5.yml +8 -8
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/PyOptik/data/sellmeier/air.yml +2 -2
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/PyOptik/data/sellmeier/argon.yml +2 -2
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/PyOptik/data/sellmeier/crown.yml +8 -8
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/PyOptik/data/sellmeier/flint.yml +8 -8
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/PyOptik/data/sellmeier/fused_silica.yml +1 -1
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/PyOptik/data/sellmeier/polystyren.yml +1 -1
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/PyOptik/data/sellmeier/water.yml +1 -1
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/PyOptik/data/tabulated/calcium.yml +1 -1
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/PyOptik.egg-info/PKG-INFO +1 -1
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/PyOptik.egg-info/SOURCES.txt +0 -1
- pyoptik-1.9.9.2/.github/workflows/build_documentation.yml +0 -60
- pyoptik-1.9.9.2/.github/workflows/deploy_PyPi.yml +0 -30
- pyoptik-1.9.9.2/.github/workflows/deploy_anaconda.yml +0 -45
- pyoptik-1.9.9.2/.github/workflows/deploy_coverage.yml +0 -53
- pyoptik-1.9.9.2/.github/workflows/deploy_documentation.yml +0 -123
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/.flake8 +0 -0
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/.github/dependabot.yml +0 -0
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/.gitignore +0 -0
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/.readthedocs.yml +0 -0
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/LICENSE +0 -0
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/PyOptik/__init__.py +0 -0
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/PyOptik/__main__.py +0 -0
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/PyOptik/data/__init__.py +0 -0
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/PyOptik/data/sellmeier/ZBLAN.yml +0 -0
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/PyOptik/data/sellmeier/germanium.yml +0 -0
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/PyOptik/data/sellmeier/lithium_niobate.yml +0 -0
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/PyOptik/data/sellmeier/silicon.yml +0 -0
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/PyOptik/data/sellmeier/soda_lime_glass.yml +0 -0
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/PyOptik/data/tabulated/aluminium.yml +0 -0
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/PyOptik/data/tabulated/copper.yml +0 -0
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/PyOptik/data/tabulated/gold.yml +0 -0
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/PyOptik/data/tabulated/iron.yml +0 -0
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/PyOptik/data/tabulated/nickel.yml +0 -0
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/PyOptik/data/tabulated/silver.yml +0 -0
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/PyOptik/data/tabulated/sodium.yml +0 -0
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/PyOptik/data/tabulated/zinc.yml +0 -0
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/PyOptik/directories.py +0 -0
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/PyOptik/libraries/__init__.py +0 -0
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/PyOptik/libraries/classics.yml +0 -0
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/PyOptik/libraries/dielectrics.yml +0 -0
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/PyOptik/libraries/metals.yml +0 -0
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/PyOptik/libraries/minimal.yml +0 -0
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/PyOptik/libraries/organics.yml +0 -0
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/PyOptik/libraries/others.yml +0 -0
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/PyOptik/libraries/polymers.yml +0 -0
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/PyOptik/material/__init__.py +0 -0
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/PyOptik/material/base_class.py +0 -0
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/PyOptik/material/sellmeier_class.py +0 -0
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/PyOptik/material/tabulated_class.py +0 -0
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/PyOptik/material_bank.py +0 -0
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/PyOptik/material_type.py +0 -0
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/PyOptik/units.py +0 -0
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/PyOptik/utils.py +0 -0
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/PyOptik.egg-info/dependency_links.txt +0 -0
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/PyOptik.egg-info/requires.txt +0 -0
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/PyOptik.egg-info/top_level.txt +0 -0
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/README.rst +0 -0
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/development/dev_0.py +0 -0
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/docs/Makefile +0 -0
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/docs/examples/README.rst +0 -0
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/docs/examples/sellmeier/README.rst +0 -0
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/docs/examples/sellmeier/plot_bk7.py +0 -0
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/docs/examples/sellmeier/plot_silica.py +0 -0
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/docs/examples/sellmeier/plot_water.py +0 -0
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/docs/examples/tabulated/README.rst +0 -0
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/docs/examples/tabulated/plot_sf5.py +0 -0
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/docs/examples/tabulated/plot_silver.py +0 -0
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/docs/examples/utils/README.rst +0 -0
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/docs/examples/utils/build_library.py +0 -0
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/docs/examples/utils/create_sellmeier_file.py +0 -0
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/docs/examples/utils/create_tabulated_file.py +0 -0
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/docs/examples/utils/download_yml_file.py +0 -0
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/docs/images/example_bk7.png +0 -0
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/docs/images/logo.png +0 -0
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/docs/make.bat +0 -0
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/docs/source/_static/default.css +0 -0
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/docs/source/_static/thumbnail.png +0 -0
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/docs/source/code.rst +0 -0
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/docs/source/conf.py +0 -0
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/docs/source/gallery/index.rst +0 -0
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/docs/source/index.rst +0 -0
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/docs/source/references.rst +0 -0
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/meta.yaml +0 -0
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/pyproject.toml +0 -0
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/setup.cfg +0 -0
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/tests/__init__.py +0 -0
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/tests/test_sellmeier.py +0 -0
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/tests/test_tabulated.py +0 -0
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/tests/test_usual_material.py +0 -0
- {pyoptik-1.9.9.2 → pyoptik-1.9.9.5}/tests/test_utils.py +0 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
name: Deploy to PyPi
|
|
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
|
+
pure_package:
|
|
16
|
+
uses: MartinPdeS/MPSActions/.github/workflows/publish_pure_package_to_PyPi.yml@master
|
|
17
|
+
with:
|
|
18
|
+
python-version: "3.11"
|
|
19
|
+
secrets:
|
|
20
|
+
PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
name: Deploy Conda Packages
|
|
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
|
+
ManyLinux_x86_64:
|
|
16
|
+
uses: MartinPdeS/MPSActions/.github/workflows/publish_compiled_package_to_anaconda.yml@master
|
|
17
|
+
with:
|
|
18
|
+
python-versions: '["3.11", "3.12"]'
|
|
19
|
+
secrets:
|
|
20
|
+
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }}
|
|
21
|
+
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Simple workflow for deploying static content to GitHub Pages
|
|
2
|
+
name: Deploy documentation to github page
|
|
3
|
+
|
|
4
|
+
on:
|
|
5
|
+
push:
|
|
6
|
+
branches: [ "master" ]
|
|
7
|
+
tags:
|
|
8
|
+
- '*'
|
|
9
|
+
pull_request:
|
|
10
|
+
branches: [ "master" ]
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
|
|
14
|
+
permissions:
|
|
15
|
+
contents: write
|
|
16
|
+
pages: write
|
|
17
|
+
id-token: write
|
|
18
|
+
|
|
19
|
+
jobs:
|
|
20
|
+
ManyLinux_x86_64:
|
|
21
|
+
uses: MartinPdeS/MPSActions/.github/workflows/publish_coverage.yml@master
|
|
22
|
+
with:
|
|
23
|
+
python-version: "3.11"
|
|
24
|
+
secrets:
|
|
25
|
+
_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Simple workflow for deploying static content to GitHub Pages
|
|
2
|
+
name: Deploy documentation to github page
|
|
3
|
+
|
|
4
|
+
on:
|
|
5
|
+
push:
|
|
6
|
+
branches: [ "master" ]
|
|
7
|
+
tags:
|
|
8
|
+
- '*'
|
|
9
|
+
pull_request:
|
|
10
|
+
branches: [ "master" ]
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
|
|
14
|
+
permissions:
|
|
15
|
+
contents: write
|
|
16
|
+
pages: write
|
|
17
|
+
id-token: write
|
|
18
|
+
|
|
19
|
+
jobs:
|
|
20
|
+
ManyLinux_x86_64:
|
|
21
|
+
uses: MartinPdeS/MPSActions/.github/workflows/publish_documentation.yml@master
|
|
22
|
+
with:
|
|
23
|
+
python-version: "3.11"
|
|
@@ -12,5 +12,5 @@ __version__: str
|
|
|
12
12
|
__version_tuple__: VERSION_TUPLE
|
|
13
13
|
version_tuple: VERSION_TUPLE
|
|
14
14
|
|
|
15
|
-
__version__ = version = '1.9.9.
|
|
16
|
-
__version_tuple__ = version_tuple = (1, 9, 9,
|
|
15
|
+
__version__ = version = '1.9.9.5'
|
|
16
|
+
__version_tuple__ = version_tuple = (1, 9, 9, 5)
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# copyright and related rights waived via CC0 1.0
|
|
4
4
|
|
|
5
5
|
REFERENCES: |
|
|
6
|
-
<a href="
|
|
6
|
+
<a href="https://refractiveindex.info/download/data/2017/schott_2017-01-20b.agf">SCHOTT Zemax catalog 2017-01-20b</a> (obtained from <a href="https://www.schott.com/en-us/products/optical-glass-p1000267/downloads/">http://www.schott.com</a>)<br>See also <a href="https://refractiveindex.info/download/data/2017/schott_2017-01-20.pdf">SCHOTT glass data sheets</a>
|
|
7
7
|
COMMENTS: |
|
|
8
8
|
|
|
9
9
|
DATA:
|
|
@@ -38,20 +38,20 @@ DATA:
|
|
|
38
38
|
2.325 2.4209E-06
|
|
39
39
|
2.500 4.2801E-06
|
|
40
40
|
SPECS:
|
|
41
|
-
temperature:
|
|
41
|
+
temperature: 293
|
|
42
42
|
thermal_dispersion:
|
|
43
|
-
- type:
|
|
43
|
+
- type: formula A
|
|
44
44
|
coefficients: 1.86e-07 1.29e-08 -1.87e-11 5.25e-07 5.46e-10 0.182
|
|
45
45
|
nd: 1.5725
|
|
46
46
|
Vd: 57.55
|
|
47
47
|
glass_code: 573576.319
|
|
48
48
|
glass_status: standard
|
|
49
|
-
density:
|
|
49
|
+
density: 3190
|
|
50
50
|
thermal_expansion:
|
|
51
|
-
- temperature_range:
|
|
52
|
-
|
|
53
|
-
- temperature_range:
|
|
54
|
-
|
|
51
|
+
- temperature_range: 243 343
|
|
52
|
+
value: 7.6e-06
|
|
53
|
+
- temperature_range: 293 573
|
|
54
|
+
value: 8.6e-06
|
|
55
55
|
dPgF: 0.0002
|
|
56
56
|
climatic_resistance: 2.0
|
|
57
57
|
stain_resistance: 1.0
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
# copyright and related rights waived via CC0 1.0
|
|
4
4
|
|
|
5
5
|
REFERENCES: |
|
|
6
|
-
<a href="
|
|
7
|
-
(obtained from <a href="
|
|
8
|
-
See also <a href="
|
|
6
|
+
<a href="https://refractiveindex.info/download/data/2017/schott_2017-01-20b.agf">SCHOTT Zemax catalog 2017-01-20b</a>
|
|
7
|
+
(obtained from <a href="https://www.schott.com/en-us/products/optical-glass-p1000267/downloads/">http://www.schott.com</a>)<br>
|
|
8
|
+
See also <a href="https://refractiveindex.info/download/data/2017/schott_2017-01-20.pdf">SCHOTT glass data sheets</a>
|
|
9
9
|
COMMENTS: |
|
|
10
10
|
step 0.5 available
|
|
11
11
|
DATA:
|
|
@@ -40,20 +40,20 @@ DATA:
|
|
|
40
40
|
2.325 4.2911E-06
|
|
41
41
|
2.500 8.1300E-06
|
|
42
42
|
SPECS:
|
|
43
|
-
temperature:
|
|
43
|
+
temperature: 293
|
|
44
44
|
thermal_dispersion:
|
|
45
|
-
- type:
|
|
45
|
+
- type: formula A
|
|
46
46
|
coefficients: 1.86e-06 1.31e-08 -1.37e-11 4.34e-07 6.27e-10 0.17
|
|
47
47
|
nd: 1.5168
|
|
48
48
|
Vd: 64.17
|
|
49
49
|
glass_code: 517642.251
|
|
50
50
|
glass_status: standard
|
|
51
|
-
density:
|
|
51
|
+
density: 2510
|
|
52
52
|
thermal_expansion:
|
|
53
|
-
- temperature_range:
|
|
54
|
-
|
|
55
|
-
- temperature_range:
|
|
56
|
-
|
|
53
|
+
- temperature_range: 243 343
|
|
54
|
+
value: 7.1e-06
|
|
55
|
+
- temperature_range: 293 573
|
|
56
|
+
value: 8.3e-06
|
|
57
57
|
dPgF: -0.0009
|
|
58
58
|
climatic_resistance: 1.0
|
|
59
59
|
stain_resistance: 0.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# copyright and related rights waived via CC0 1.0
|
|
4
4
|
|
|
5
5
|
REFERENCES: |
|
|
6
|
-
<a href="
|
|
6
|
+
<a href="https://refractiveindex.info/download/data/2017/schott_2017-01-20b.agf">SCHOTT Zemax catalog 2017-01-20b</a> (obtained from <a href="https://www.schott.com/en-us/products/optical-glass-p1000267/downloads/">http://www.schott.com</a>)<br>See also <a href="https://refractiveindex.info/download/data/2017/schott_2017-01-20.pdf">SCHOTT glass data sheets</a>
|
|
7
7
|
COMMENTS: |
|
|
8
8
|
step 0.5 available
|
|
9
9
|
DATA:
|
|
@@ -32,20 +32,20 @@ DATA:
|
|
|
32
32
|
2.325 3.4194E-06
|
|
33
33
|
2.500 5.5159E-06
|
|
34
34
|
SPECS:
|
|
35
|
-
temperature:
|
|
35
|
+
temperature: 293
|
|
36
36
|
thermal_dispersion:
|
|
37
|
-
- type:
|
|
37
|
+
- type: formula A
|
|
38
38
|
coefficients: -2.51e-07 1.07e-08 -2.4e-11 7.85e-07 1.15e-09 0.278
|
|
39
39
|
nd: 1.67271
|
|
40
40
|
Vd: 32.25
|
|
41
41
|
glass_code: 673323.286
|
|
42
42
|
glass_status: standard
|
|
43
|
-
density:
|
|
43
|
+
density: 2858
|
|
44
44
|
thermal_expansion:
|
|
45
|
-
- temperature_range:
|
|
46
|
-
|
|
47
|
-
- temperature_range:
|
|
48
|
-
|
|
45
|
+
- temperature_range: 243 343
|
|
46
|
+
value: 7.94e-06
|
|
47
|
+
- temperature_range: 293 573
|
|
48
|
+
value: 9.21e-06
|
|
49
49
|
dPgF: 0.0088
|
|
50
50
|
climatic_resistance: 1.0
|
|
51
51
|
stain_resistance: 0.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# copyright and related rights waived via CC0 1.0
|
|
4
4
|
|
|
5
5
|
REFERENCES: |
|
|
6
|
-
<a href="
|
|
6
|
+
<a href="https://refractiveindex.info/download/data/2017/schott_2017-01-20b.agf">SCHOTT Zemax catalog 2017-01-20b</a> (obtained from <a href="https://www.schott.com/en-us/products/optical-glass-p1000267/downloads/">http://www.schott.com</a>)<br>See also <a href="https://refractiveindex.info/download/data/2017/schott_2017-01-20.pdf">SCHOTT glass data sheets</a>
|
|
7
7
|
COMMENTS: |
|
|
8
8
|
|
|
9
9
|
DATA:
|
|
@@ -37,20 +37,20 @@ DATA:
|
|
|
37
37
|
2.325 5.1298E-06
|
|
38
38
|
2.500 8.5849E-06
|
|
39
39
|
SPECS:
|
|
40
|
-
temperature:
|
|
40
|
+
temperature: 293
|
|
41
41
|
thermal_dispersion:
|
|
42
|
-
- type:
|
|
42
|
+
- type: formula A
|
|
43
43
|
coefficients: -1.67e-06 8.8e-09 -2.86e-11 5.42e-07 7.81e-10 0.172
|
|
44
44
|
nd: 1.51112
|
|
45
45
|
Vd: 60.41
|
|
46
46
|
glass_code: 511604.253
|
|
47
47
|
glass_status: standard
|
|
48
|
-
density:
|
|
48
|
+
density: 2530
|
|
49
49
|
thermal_expansion:
|
|
50
|
-
- temperature_range:
|
|
51
|
-
|
|
52
|
-
- temperature_range:
|
|
53
|
-
|
|
50
|
+
- temperature_range: 243 343
|
|
51
|
+
value: 8.4e-06
|
|
52
|
+
- temperature_range: 293 573
|
|
53
|
+
value: 9.7e-06
|
|
54
54
|
climatic_resistance: 3.0
|
|
55
55
|
stain_resistance: 0.0
|
|
56
56
|
acid_resistance: 2.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# copyright and related rights waived via CC0 1.0
|
|
4
4
|
|
|
5
5
|
REFERENCES: |
|
|
6
|
-
<a href="
|
|
6
|
+
<a href="https://refractiveindex.info/download/data/2017/schott_2017-01-20b.agf">SCHOTT Zemax catalog 2017-01-20b</a> (obtained from <a href="https://www.schott.com/en-us/products/optical-glass-p1000267/downloads/">http://www.schott.com</a>)<br>See also <a href="https://refractiveindex.info/download/data/2017/schott_2017-01-20.pdf">SCHOTT glass data sheets</a>
|
|
7
7
|
COMMENTS: |
|
|
8
8
|
lead containing glass type
|
|
9
9
|
DATA:
|
|
@@ -35,20 +35,20 @@ DATA:
|
|
|
35
35
|
2.325 2.8000E-06
|
|
36
36
|
2.500 4.2123E-06
|
|
37
37
|
SPECS:
|
|
38
|
-
temperature:
|
|
38
|
+
temperature: 293
|
|
39
39
|
thermal_dispersion:
|
|
40
|
-
- type:
|
|
40
|
+
- type: formula A
|
|
41
41
|
coefficients: 1.51e-06 1.56e-08 -2.78e-11 9.34e-07 1.04e-09 0.25
|
|
42
42
|
nd: 1.62004
|
|
43
43
|
Vd: 36.37
|
|
44
44
|
glass_code: 620364.360
|
|
45
45
|
glass_status: standard
|
|
46
|
-
density:
|
|
46
|
+
density: 3599
|
|
47
47
|
thermal_expansion:
|
|
48
|
-
- temperature_range:
|
|
49
|
-
|
|
50
|
-
- temperature_range:
|
|
51
|
-
|
|
48
|
+
- temperature_range: 243 343
|
|
49
|
+
value: 8.2e-06
|
|
50
|
+
- temperature_range: 293 573
|
|
51
|
+
value: 9.2e-06
|
|
52
52
|
dPgF: 0.0002
|
|
53
53
|
climatic_resistance: 1.0
|
|
54
54
|
stain_resistance: 0.0
|
|
@@ -1,60 +0,0 @@
|
|
|
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.11"
|
|
22
|
-
uses: actions/setup-python@v5
|
|
23
|
-
id: cp311
|
|
24
|
-
with:
|
|
25
|
-
python-version: 3.11
|
|
26
|
-
|
|
27
|
-
- name: "Install: Dependencies for headless server"
|
|
28
|
-
shell: bash
|
|
29
|
-
run: |
|
|
30
|
-
sudo apt-get update
|
|
31
|
-
sudo apt-get install -y xvfb jq
|
|
32
|
-
|
|
33
|
-
- name: "Checkout requirements and files for testing"
|
|
34
|
-
uses: actions/checkout@v4
|
|
35
|
-
with:
|
|
36
|
-
fetch-depth: 0
|
|
37
|
-
submodules: true
|
|
38
|
-
ref: master
|
|
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 .[documentation]
|
|
45
|
-
|
|
46
|
-
- name: Get current tag
|
|
47
|
-
id: get_tag
|
|
48
|
-
run: |
|
|
49
|
-
git fetch --tags
|
|
50
|
-
echo "tag=$(git describe --tags --abbrev=0)" >> $GITHUB_ENV
|
|
51
|
-
|
|
52
|
-
- name: "Sphinx build"
|
|
53
|
-
run: |
|
|
54
|
-
sphinx-build docs/source documentation_build
|
|
55
|
-
|
|
56
|
-
- name: "Upload Documentation Artifact"
|
|
57
|
-
uses: actions/upload-artifact@v4
|
|
58
|
-
with:
|
|
59
|
-
name: documentation_build
|
|
60
|
-
path: documentation_build
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
name: Deploy to PyPi
|
|
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.11
|
|
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.11
|
|
30
|
-
password: ${{ secrets.PYPI_API_TOKEN }}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
name: Deploy to Conda
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
push:
|
|
5
|
-
branches: [ "master" ]
|
|
6
|
-
tags:
|
|
7
|
-
- '*'
|
|
8
|
-
pull_request:
|
|
9
|
-
branches: [ "master" ]
|
|
10
|
-
|
|
11
|
-
jobs:
|
|
12
|
-
conda_deployment:
|
|
13
|
-
name: OS [${{ matrix.os }}] -- Python [${{ matrix.python-version }}]
|
|
14
|
-
runs-on: ${{ matrix.os }}
|
|
15
|
-
strategy:
|
|
16
|
-
matrix:
|
|
17
|
-
os: [ubuntu-latest, macos-latest]
|
|
18
|
-
python-version: ["3.11", "3.12"]
|
|
19
|
-
|
|
20
|
-
steps:
|
|
21
|
-
- uses: actions/checkout@v3
|
|
22
|
-
with:
|
|
23
|
-
fetch-depth: 0
|
|
24
|
-
|
|
25
|
-
- name: Set up Conda environment
|
|
26
|
-
uses: conda-incubator/setup-miniconda@v3
|
|
27
|
-
with:
|
|
28
|
-
channels: conda-forge, martinpdes
|
|
29
|
-
python-version: ${{ matrix.python-version }}
|
|
30
|
-
|
|
31
|
-
- name: Install Conda tools
|
|
32
|
-
run: |
|
|
33
|
-
conda install anaconda-client conda-build
|
|
34
|
-
|
|
35
|
-
- name: Build Conda package
|
|
36
|
-
run: |
|
|
37
|
-
conda build . --python ${{ matrix.python-version }}
|
|
38
|
-
echo "PACKAGE_PATH=$(conda build . --output --python ${{ matrix.python-version }})" >> $GITHUB_ENV
|
|
39
|
-
|
|
40
|
-
- name: Upload to Anaconda
|
|
41
|
-
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
|
|
42
|
-
env:
|
|
43
|
-
PACKAGE_PATH: ${{ env.PACKAGE_PATH }}
|
|
44
|
-
run: |
|
|
45
|
-
anaconda upload $PACKAGE_PATH --user martinpdes --token ${{ secrets.ANACONDA_API_TOKEN }}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
# .github/workflows/coverage.yml
|
|
2
|
-
name: Coverage
|
|
3
|
-
|
|
4
|
-
on:
|
|
5
|
-
push:
|
|
6
|
-
branches: [ "master" ]
|
|
7
|
-
tags:
|
|
8
|
-
- '*'
|
|
9
|
-
pull_request:
|
|
10
|
-
branches: [ "master" ]
|
|
11
|
-
|
|
12
|
-
jobs:
|
|
13
|
-
coverage:
|
|
14
|
-
name: Run test and generate coverage data
|
|
15
|
-
runs-on: ubuntu-latest
|
|
16
|
-
permissions:
|
|
17
|
-
pull-requests: write
|
|
18
|
-
contents: write
|
|
19
|
-
|
|
20
|
-
steps:
|
|
21
|
-
- name: "Set-up: Python ${{ env.cp_python_version }}"
|
|
22
|
-
uses: actions/setup-python@v5
|
|
23
|
-
id: cp310
|
|
24
|
-
with:
|
|
25
|
-
python-version: "3.11"
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
- name: "Install: Dependencies for headless server"
|
|
29
|
-
shell: bash
|
|
30
|
-
run: |
|
|
31
|
-
sudo apt-get update
|
|
32
|
-
# sudo apt-get install libgl1-mesa-glx xvfb
|
|
33
|
-
sudo apt-get install xvfb
|
|
34
|
-
|
|
35
|
-
- name: "Checkout requirements and files for testing"
|
|
36
|
-
uses: actions/checkout@v4
|
|
37
|
-
with:
|
|
38
|
-
fetch-depth: 0
|
|
39
|
-
submodules: true
|
|
40
|
-
|
|
41
|
-
- name: Install everything, run the tests, produce the .coverage file
|
|
42
|
-
run: |
|
|
43
|
-
python -m pip install wheel build
|
|
44
|
-
python -m build --wheel
|
|
45
|
-
python -m pip install .[testing]
|
|
46
|
-
pytest
|
|
47
|
-
|
|
48
|
-
- name: Coverage comment
|
|
49
|
-
uses: py-cov-action/python-coverage-comment-action@v3
|
|
50
|
-
with:
|
|
51
|
-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
52
|
-
MINIMUM_GREEN: 90
|
|
53
|
-
MINIMUM_ORANGE: 50
|
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
# Simple workflow for deploying static content to GitHub Pages
|
|
2
|
-
name: Deploy static content to Pages
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
on:
|
|
6
|
-
workflow_run:
|
|
7
|
-
workflows: ["Documentation"] # This references the name of the first workflow
|
|
8
|
-
types:
|
|
9
|
-
- completed # Run when the Documentation workflow is completed successfully
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
|
|
13
|
-
permissions:
|
|
14
|
-
contents: write
|
|
15
|
-
pages: write
|
|
16
|
-
id-token: write
|
|
17
|
-
|
|
18
|
-
jobs:
|
|
19
|
-
deploy:
|
|
20
|
-
runs-on: ubuntu-latest
|
|
21
|
-
environment:
|
|
22
|
-
name: github-pages
|
|
23
|
-
url: ${{ steps.deployment.outputs.page_url }}
|
|
24
|
-
|
|
25
|
-
steps:
|
|
26
|
-
- name: Checkout
|
|
27
|
-
uses: actions/checkout@v4
|
|
28
|
-
with:
|
|
29
|
-
fetch-depth: 0
|
|
30
|
-
ref: documentation_page
|
|
31
|
-
|
|
32
|
-
- name: Set up Git user
|
|
33
|
-
run: |
|
|
34
|
-
git config --global user.name "GitHub Actions"
|
|
35
|
-
git config --global user.email "actions@github.com"
|
|
36
|
-
|
|
37
|
-
- name: Download artifact
|
|
38
|
-
id: download-artifact
|
|
39
|
-
uses: dawidd6/action-download-artifact@v6
|
|
40
|
-
with:
|
|
41
|
-
workflow: build_documentation.yml
|
|
42
|
-
name: documentation_build
|
|
43
|
-
path: ./documentation_build
|
|
44
|
-
|
|
45
|
-
- name: Get current tag
|
|
46
|
-
id: get_tag
|
|
47
|
-
run: |
|
|
48
|
-
# Fetch all tags to ensure they are available
|
|
49
|
-
git fetch --tags
|
|
50
|
-
git tag -l
|
|
51
|
-
|
|
52
|
-
# Get the latest tag by creation date
|
|
53
|
-
TAG=$(git tag --sort=-creatordate | head -n 1)
|
|
54
|
-
|
|
55
|
-
# Fallback to a default tag if no tag is found
|
|
56
|
-
if [ -z "$TAG" ]; then
|
|
57
|
-
TAG="0.0.0.0"
|
|
58
|
-
fi
|
|
59
|
-
|
|
60
|
-
echo "tag=$TAG" >> $GITHUB_ENV
|
|
61
|
-
echo "Tag found or default: $TAG"
|
|
62
|
-
|
|
63
|
-
- name: Update new documentation version
|
|
64
|
-
run: |
|
|
65
|
-
rm -rf docs/${{ env.tag }}
|
|
66
|
-
mv documentation_build docs/${{ env.tag }}
|
|
67
|
-
|
|
68
|
-
- name: Scan, sort versions, and update version_switcher.json
|
|
69
|
-
run: |
|
|
70
|
-
# Define the path to version_switcher.json
|
|
71
|
-
json_file="version_switcher.json"
|
|
72
|
-
rm $json_file
|
|
73
|
-
docs_path="docs"
|
|
74
|
-
base_url="https://martinpdes.github.io/PyMieSim"
|
|
75
|
-
|
|
76
|
-
# Start the JSON array
|
|
77
|
-
echo "[" > $json_file
|
|
78
|
-
|
|
79
|
-
# Get sorted version directories in descending order
|
|
80
|
-
version_dirs=$(ls -v $docs_path | sort -V -r)
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
# Loop over sorted versions and add to JSON file
|
|
84
|
-
first_entry=true
|
|
85
|
-
for version in $version_dirs; do
|
|
86
|
-
version_url="${base_url}/${docs_path}/${version}"
|
|
87
|
-
|
|
88
|
-
# Add a comma if it's not the first entry
|
|
89
|
-
if [ "$first_entry" = true ]; then
|
|
90
|
-
first_entry=false
|
|
91
|
-
else
|
|
92
|
-
echo "," >> $json_file
|
|
93
|
-
fi
|
|
94
|
-
|
|
95
|
-
# Append each version as a JSON entry
|
|
96
|
-
jq -n \
|
|
97
|
-
--arg name "$version" \
|
|
98
|
-
--arg version "$version" \
|
|
99
|
-
--arg url "$version_url" \
|
|
100
|
-
'{name: $name, version: $version, url: $url}' >> $json_file
|
|
101
|
-
done
|
|
102
|
-
|
|
103
|
-
# End the JSON array
|
|
104
|
-
echo "]" >> $json_file
|
|
105
|
-
|
|
106
|
-
# Add and commit the updated version_switcher.json
|
|
107
|
-
git add $json_file
|
|
108
|
-
echo $json_file
|
|
109
|
-
git add docs/
|
|
110
|
-
git commit --allow-empty -m "Update version_switcher.json"
|
|
111
|
-
git push origin HEAD
|
|
112
|
-
|
|
113
|
-
- name: Setup Pages
|
|
114
|
-
uses: actions/configure-pages@v5
|
|
115
|
-
|
|
116
|
-
- name: Upload artifact
|
|
117
|
-
uses: actions/upload-pages-artifact@v3
|
|
118
|
-
with:
|
|
119
|
-
path: '.'
|
|
120
|
-
|
|
121
|
-
- name: Deploy to GitHub Pages
|
|
122
|
-
id: deployment
|
|
123
|
-
uses: actions/deploy-pages@v4
|
|
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
|