PyOptik 1.6.0.post0__tar.gz → 1.6.1.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.
Files changed (177) hide show
  1. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/.github/workflows/deploy_documentation.yml +12 -9
  2. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/PKG-INFO +2 -2
  3. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/PyOptik/_version.py +2 -2
  4. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/PyOptik.egg-info/PKG-INFO +2 -2
  5. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/README.rst +1 -1
  6. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/source/gallery/create_sellmeier_file.ipynb +1 -1
  7. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/source/gallery/create_sellmeier_file.py +2 -2
  8. pyoptik-1.6.1.post0/docs/source/gallery/create_sellmeier_file.py.md5 +1 -0
  9. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/source/gallery/create_sellmeier_file.rst +7 -3
  10. pyoptik-1.6.1.post0/docs/source/gallery/create_sellmeier_file_codeobj.pickle +0 -0
  11. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/source/gallery/create_tabulated_file.ipynb +1 -1
  12. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/source/gallery/create_tabulated_file.py +2 -2
  13. pyoptik-1.6.1.post0/docs/source/gallery/create_tabulated_file.py.md5 +1 -0
  14. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/source/gallery/create_tabulated_file.rst +3 -3
  15. pyoptik-1.6.1.post0/docs/source/gallery/create_tabulated_file_codeobj.pickle +0 -0
  16. pyoptik-1.6.1.post0/docs/source/gallery/images/sphx_glr_create_sellmeier_file_001.png +0 -0
  17. pyoptik-1.6.1.post0/docs/source/gallery/images/thumb/sphx_glr_create_sellmeier_file_thumb.png +0 -0
  18. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/source/gallery/plot_bk7.ipynb +1 -1
  19. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/source/gallery/plot_bk7.py +2 -2
  20. pyoptik-1.6.1.post0/docs/source/gallery/plot_bk7.py.md5 +1 -0
  21. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/source/gallery/plot_bk7.rst +3 -3
  22. pyoptik-1.6.1.post0/docs/source/gallery/plot_bk7_codeobj.pickle +0 -0
  23. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/source/gallery/plot_sf5.ipynb +1 -1
  24. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/source/gallery/plot_sf5.py +2 -2
  25. pyoptik-1.6.1.post0/docs/source/gallery/plot_sf5.py.md5 +1 -0
  26. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/source/gallery/plot_sf5.rst +3 -3
  27. pyoptik-1.6.1.post0/docs/source/gallery/plot_sf5_codeobj.pickle +0 -0
  28. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/source/gallery/plot_silica.ipynb +1 -1
  29. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/source/gallery/plot_silica.py +2 -2
  30. pyoptik-1.6.1.post0/docs/source/gallery/plot_silica.py.md5 +1 -0
  31. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/source/gallery/plot_silica.rst +3 -3
  32. pyoptik-1.6.1.post0/docs/source/gallery/plot_silica_codeobj.pickle +0 -0
  33. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/source/gallery/plot_silver.ipynb +1 -1
  34. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/source/gallery/plot_silver.py +2 -2
  35. pyoptik-1.6.1.post0/docs/source/gallery/plot_silver.py.md5 +1 -0
  36. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/source/gallery/plot_silver.rst +3 -3
  37. pyoptik-1.6.1.post0/docs/source/gallery/plot_silver_codeobj.pickle +0 -0
  38. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/source/gallery/plot_water.ipynb +1 -1
  39. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/source/gallery/plot_water.py +2 -2
  40. pyoptik-1.6.1.post0/docs/source/gallery/plot_water.py.md5 +1 -0
  41. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/source/gallery/plot_water.rst +3 -3
  42. pyoptik-1.6.1.post0/docs/source/gallery/plot_water_codeobj.pickle +0 -0
  43. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/source/gallery/sg_execution_times.rst +9 -9
  44. pyoptik-1.6.0.post0/docs/source/gallery/create_sellmeier_file.py.md5 +0 -1
  45. pyoptik-1.6.0.post0/docs/source/gallery/create_sellmeier_file_codeobj.pickle +0 -0
  46. pyoptik-1.6.0.post0/docs/source/gallery/create_tabulated_file.py.md5 +0 -1
  47. pyoptik-1.6.0.post0/docs/source/gallery/create_tabulated_file_codeobj.pickle +0 -0
  48. pyoptik-1.6.0.post0/docs/source/gallery/images/sphx_glr_create_sellmeier_file_001.png +0 -0
  49. pyoptik-1.6.0.post0/docs/source/gallery/images/thumb/sphx_glr_create_sellmeier_file_thumb.png +0 -0
  50. pyoptik-1.6.0.post0/docs/source/gallery/plot_bk7.py.md5 +0 -1
  51. pyoptik-1.6.0.post0/docs/source/gallery/plot_bk7_codeobj.pickle +0 -0
  52. pyoptik-1.6.0.post0/docs/source/gallery/plot_sf5.py.md5 +0 -1
  53. pyoptik-1.6.0.post0/docs/source/gallery/plot_sf5_codeobj.pickle +0 -0
  54. pyoptik-1.6.0.post0/docs/source/gallery/plot_silica.py.md5 +0 -1
  55. pyoptik-1.6.0.post0/docs/source/gallery/plot_silica_codeobj.pickle +0 -0
  56. pyoptik-1.6.0.post0/docs/source/gallery/plot_silver.py.md5 +0 -1
  57. pyoptik-1.6.0.post0/docs/source/gallery/plot_silver_codeobj.pickle +0 -0
  58. pyoptik-1.6.0.post0/docs/source/gallery/plot_water.py.md5 +0 -1
  59. pyoptik-1.6.0.post0/docs/source/gallery/plot_water_codeobj.pickle +0 -0
  60. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/.github/dependabot.yml +0 -0
  61. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/.github/workflows/deploy_coverage.yml +0 -0
  62. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/.github/workflows/deploy_workflow.yml +0 -0
  63. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/.gitignore +0 -0
  64. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/.readthedocs.yml +0 -0
  65. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/LICENSE +0 -0
  66. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/PyOptik/__init__.py +0 -0
  67. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/PyOptik/__main__.py +0 -0
  68. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/PyOptik/base_class.py +0 -0
  69. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/PyOptik/data/__init__.py +0 -0
  70. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/PyOptik/data/sellmeier/BAK1.yml +0 -0
  71. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/PyOptik/data/sellmeier/BK7.yml +0 -0
  72. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/PyOptik/data/sellmeier/SF5.yml +0 -0
  73. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/PyOptik/data/sellmeier/ZBLAN.yml +0 -0
  74. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/PyOptik/data/sellmeier/__init__.py +0 -0
  75. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/PyOptik/data/sellmeier/argon.yml +0 -0
  76. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/PyOptik/data/sellmeier/crown.yml +0 -0
  77. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/PyOptik/data/sellmeier/default.py +0 -0
  78. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/PyOptik/data/sellmeier/flint.yml +0 -0
  79. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/PyOptik/data/sellmeier/fluorine_doped_silica_1%.yml +0 -0
  80. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/PyOptik/data/sellmeier/fluorine_doped_silica_2%.yml +0 -0
  81. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/PyOptik/data/sellmeier/fused_silica.yml +0 -0
  82. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/PyOptik/data/sellmeier/germanium.yml +0 -0
  83. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/PyOptik/data/sellmeier/lithium_niobate.yml +0 -0
  84. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/PyOptik/data/sellmeier/polystyren.yml +0 -0
  85. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/PyOptik/data/sellmeier/silica.yml +0 -0
  86. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/PyOptik/data/sellmeier/silicon.yml +0 -0
  87. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/PyOptik/data/sellmeier/soda_lime_glass.yml +0 -0
  88. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/PyOptik/data/sellmeier/water.yml +0 -0
  89. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/PyOptik/data/tabulated/__init__.py +0 -0
  90. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/PyOptik/data/tabulated/aluminium.yml +0 -0
  91. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/PyOptik/data/tabulated/calcium.yml +0 -0
  92. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/PyOptik/data/tabulated/copper.yml +0 -0
  93. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/PyOptik/data/tabulated/default.py +0 -0
  94. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/PyOptik/data/tabulated/gold.yml +0 -0
  95. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/PyOptik/data/tabulated/iron.yml +0 -0
  96. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/PyOptik/data/tabulated/nickel.yml +0 -0
  97. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/PyOptik/data/tabulated/silver.yml +0 -0
  98. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/PyOptik/data/tabulated/sodium.yml +0 -0
  99. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/PyOptik/data/tabulated/zinc.yml +0 -0
  100. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/PyOptik/directories.py +0 -0
  101. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/PyOptik/material.py +0 -0
  102. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/PyOptik/sellmeier_class.py +0 -0
  103. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/PyOptik/tabulated_class.py +0 -0
  104. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/PyOptik/utils.py +0 -0
  105. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/PyOptik.egg-info/SOURCES.txt +0 -0
  106. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/PyOptik.egg-info/dependency_links.txt +0 -0
  107. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/PyOptik.egg-info/requires.txt +0 -0
  108. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/PyOptik.egg-info/top_level.txt +0 -0
  109. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/Makefile +0 -0
  110. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/examples/README.rst +0 -0
  111. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/examples/create_sellmeier_file.py +0 -0
  112. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/examples/create_tabulated_file.py +0 -0
  113. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/examples/download_yml_file.py +0 -0
  114. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/examples/plot_bk7.py +0 -0
  115. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/examples/plot_sf5.py +0 -0
  116. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/examples/plot_silica.py +0 -0
  117. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/examples/plot_silver.py +0 -0
  118. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/examples/plot_water.py +0 -0
  119. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/images/example_bk7.png +0 -0
  120. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/images/logo.png +0 -0
  121. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/make.bat +0 -0
  122. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/source/_static/default.css +0 -0
  123. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/source/code.rst +0 -0
  124. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/source/conf.py +0 -0
  125. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/source/gallery/add_material.ipynb +0 -0
  126. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/source/gallery/add_material.py +0 -0
  127. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/source/gallery/add_material.rst +0 -0
  128. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/source/gallery/add_material_codeobj.pickle +0 -0
  129. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/source/gallery/download_yml_file.ipynb +0 -0
  130. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/source/gallery/download_yml_file.py +0 -0
  131. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/source/gallery/download_yml_file.py.md5 +0 -0
  132. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/source/gallery/download_yml_file.rst +0 -0
  133. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/source/gallery/download_yml_file_codeobj.pickle +0 -0
  134. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/source/gallery/get_values.ipynb +0 -0
  135. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/source/gallery/get_values.py +0 -0
  136. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/source/gallery/get_values.rst +0 -0
  137. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/source/gallery/get_values_codeobj.pickle +0 -0
  138. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/source/gallery/images/sphx_glr_create_tabulated_file_001.png +0 -0
  139. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/source/gallery/images/sphx_glr_download_yml_file_001.png +0 -0
  140. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/source/gallery/images/sphx_glr_plot_bk7_001.png +0 -0
  141. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/source/gallery/images/sphx_glr_plot_sellmeier_0_001.png +0 -0
  142. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/source/gallery/images/sphx_glr_plot_sellmeier_1_001.png +0 -0
  143. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/source/gallery/images/sphx_glr_plot_sf5_001.png +0 -0
  144. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/source/gallery/images/sphx_glr_plot_silica_001.png +0 -0
  145. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/source/gallery/images/sphx_glr_plot_silver_001.png +0 -0
  146. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/source/gallery/images/sphx_glr_plot_water_001.png +0 -0
  147. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/source/gallery/images/thumb/sphx_glr_add_material_thumb.png +0 -0
  148. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/source/gallery/images/thumb/sphx_glr_create_tabulated_file_thumb.png +0 -0
  149. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/source/gallery/images/thumb/sphx_glr_download_yml_file_thumb.png +0 -0
  150. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/source/gallery/images/thumb/sphx_glr_get_values_thumb.png +0 -0
  151. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/source/gallery/images/thumb/sphx_glr_plot_bk7_thumb.png +0 -0
  152. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/source/gallery/images/thumb/sphx_glr_plot_sellmeier_0_thumb.png +0 -0
  153. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/source/gallery/images/thumb/sphx_glr_plot_sellmeier_1_thumb.png +0 -0
  154. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/source/gallery/images/thumb/sphx_glr_plot_sf5_thumb.png +0 -0
  155. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/source/gallery/images/thumb/sphx_glr_plot_silica_thumb.png +0 -0
  156. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/source/gallery/images/thumb/sphx_glr_plot_silver_thumb.png +0 -0
  157. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/source/gallery/images/thumb/sphx_glr_plot_water_thumb.png +0 -0
  158. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/source/gallery/index.rst +0 -0
  159. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/source/gallery/plot_sellmeier_0.ipynb +0 -0
  160. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/source/gallery/plot_sellmeier_0.py +0 -0
  161. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/source/gallery/plot_sellmeier_0.py.md5 +0 -0
  162. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/source/gallery/plot_sellmeier_0.rst +0 -0
  163. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/source/gallery/plot_sellmeier_0_codeobj.pickle +0 -0
  164. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/source/gallery/plot_sellmeier_1.ipynb +0 -0
  165. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/source/gallery/plot_sellmeier_1.py +0 -0
  166. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/source/gallery/plot_sellmeier_1.py.md5 +0 -0
  167. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/source/gallery/plot_sellmeier_1.rst +0 -0
  168. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/source/gallery/plot_sellmeier_1_codeobj.pickle +0 -0
  169. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/source/index.rst +0 -0
  170. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/docs/source/references.rst +0 -0
  171. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/pyproject.toml +0 -0
  172. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/setup.cfg +0 -0
  173. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/tests/__init__.py +0 -0
  174. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/tests/test_sellmeier.py +0 -0
  175. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/tests/test_tabulated.py +0 -0
  176. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/tests/test_usual_material.py +0 -0
  177. {pyoptik-1.6.0.post0 → pyoptik-1.6.1.post0}/tests/test_utils.py +0 -0
@@ -42,16 +42,19 @@ jobs:
42
42
  python -m build --wheel
43
43
  python -m pip install .[documentation]
44
44
 
45
- - name: "Build: documentation"
46
- shell: bash
45
+ - name: Install dependencies
46
+ run: |
47
+ pip install sphinx sphinx_rtd_theme myst_parser
48
+
49
+ - name: Sphinx build
47
50
  run: |
48
- make -C docs html
51
+ sphinx-build docs/source _build
49
52
 
50
- - name: "Upload: GitHub Pages"
53
+ - name: Deploy to GitHub Pages
54
+ uses: peaceiris/actions-gh-pages@v3
51
55
  if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
52
- uses: crazy-max/ghaction-github-pages@v3
53
56
  with:
54
- target_branch: gh-pages
55
- build_dir: docs/build/html
56
- env:
57
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
57
+ publish_branch: gh-pages
58
+ github_token: ${{ secrets.GITHUB_TOKEN }}
59
+ publish_dir: _build/
60
+ force_orphan: true
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: PyOptik
3
- Version: 1.6.0.post0
3
+ Version: 1.6.1.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
@@ -179,7 +179,7 @@ As of 2024, PyOptik is still under development. If you would like to collaborate
179
179
  .. |example_bk7| image:: https://github.com/MartinPdeS/PyOptik/blob/master/docs/images/example_bk7.png
180
180
 
181
181
  .. |docs| image:: https://github.com/martinpdes/pyoptik/actions/workflows/deploy_documentation.yml/badge.svg
182
- :target: https://pyoptik.readthedocs.io/en/latest/code.html
182
+ :target: https://martinpdes.github.io/PyOptik/
183
183
  :alt: Documentation Status
184
184
 
185
185
  .. |PyPi| image:: https://badge.fury.io/py/pyoptik.svg
@@ -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.0.post0'
16
- __version_tuple__ = version_tuple = (1, 6, 0)
15
+ __version__ = version = '1.6.1.post0'
16
+ __version_tuple__ = version_tuple = (1, 6, 1)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: PyOptik
3
- Version: 1.6.0.post0
3
+ Version: 1.6.1.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
@@ -179,7 +179,7 @@ As of 2024, PyOptik is still under development. If you would like to collaborate
179
179
  .. |example_bk7| image:: https://github.com/MartinPdeS/PyOptik/blob/master/docs/images/example_bk7.png
180
180
 
181
181
  .. |docs| image:: https://github.com/martinpdes/pyoptik/actions/workflows/deploy_documentation.yml/badge.svg
182
- :target: https://pyoptik.readthedocs.io/en/latest/code.html
182
+ :target: https://martinpdes.github.io/PyOptik/
183
183
  :alt: Documentation Status
184
184
 
185
185
  .. |PyPi| image:: https://badge.fury.io/py/pyoptik.svg
@@ -121,7 +121,7 @@ As of 2024, PyOptik is still under development. If you would like to collaborate
121
121
  .. |example_bk7| image:: https://github.com/MartinPdeS/PyOptik/blob/master/docs/images/example_bk7.png
122
122
 
123
123
  .. |docs| image:: https://github.com/martinpdes/pyoptik/actions/workflows/deploy_documentation.yml/badge.svg
124
- :target: https://pyoptik.readthedocs.io/en/latest/code.html
124
+ :target: https://martinpdes.github.io/PyOptik/
125
125
  :alt: Documentation Status
126
126
 
127
127
  .. |PyPi| image:: https://badge.fury.io/py/pyoptik.svg
@@ -15,7 +15,7 @@
15
15
  },
16
16
  "outputs": [],
17
17
  "source": [
18
- "from PyOptik.utils import create_sellmeier_file\nfrom PyOptik.directories import sellmeier_data_path\nfrom PyOptik import SellmeierMaterial\n\n# Define the file properties\nfilename = 'example_sellmeier'\ncoefficients = [1.0, 0.5, 0.2, 0.1, 0.05]\nformula_type = 1\n\n# Call the function to create the file\ncreate_sellmeier_file(\n filename=filename,\n coefficients=coefficients,\n formula_type=formula_type,\n wavelength_range=(0.2, 2.0),\n reference=\"Sample Reference\",\n comments=\"This is a sample Sellmeier file created for demonstration purposes.\"\n)\n\nprint(f\"Sellmeier YAML file {filename}.yml has been created in {sellmeier_data_path}\")\n\nm = SellmeierMaterial('example_download')\n\nm.plot()"
18
+ "from PyOptik.utils import create_sellmeier_file\nfrom PyOptik.directories import sellmeier_data_path\nfrom PyOptik import SellmeierMaterial\n\n# Define the file properties\nfilename = 'example_sellmeier'\ncoefficients = [1.0, 0.5, 0.2, 0.1, 0.05]\nformula_type = 1\n\n# Call the function to create the file\ncreate_sellmeier_file(\n filename=filename,\n coefficients=coefficients,\n formula_type=formula_type,\n wavelength_range=(0.2, 2.0),\n reference=\"Sample Reference\",\n comments=\"This is a sample Sellmeier file created for demonstration purposes. \"\n)\n\nprint(f\"Sellmeier YAML file {filename}.yml has been created in {sellmeier_data_path}\")\n\nm = SellmeierMaterial(filename)\n\nm.plot()"
19
19
  ]
20
20
  }
21
21
  ],
@@ -22,11 +22,11 @@ create_sellmeier_file(
22
22
  formula_type=formula_type,
23
23
  wavelength_range=(0.2, 2.0),
24
24
  reference="Sample Reference",
25
- comments="This is a sample Sellmeier file created for demonstration purposes."
25
+ comments="This is a sample Sellmeier file created for demonstration purposes. "
26
26
  )
27
27
 
28
28
  print(f"Sellmeier YAML file {filename}.yml has been created in {sellmeier_data_path}")
29
29
 
30
- m = SellmeierMaterial('example_download')
30
+ m = SellmeierMaterial(filename)
31
31
 
32
32
  m.plot()
@@ -0,0 +1 @@
1
+ c2d99c841171626064930a1bf9572c7a
@@ -40,6 +40,10 @@ This example demonstrates how to create a custom Sellmeier YAML file using the
40
40
 
41
41
  Sellmeier data saved to /Users/martinpdes/Desktop/GitProject/PyOptik/PyOptik/data/sellmeier/example_sellmeier.yml
42
42
  Sellmeier YAML file example_sellmeier.yml has been created in /Users/martinpdes/Desktop/GitProject/PyOptik/PyOptik/data/sellmeier
43
+ /Users/martinpdes/Desktop/GitProject/PyOptik/PyOptik/sellmeier_class.py:70: UserWarning: Wavelength 0.19999999999999998 µm is outside the allowable range of 0.2 µm to 2.0 µm. [example_sellmeier]
44
+ warnings.warn(f"Wavelength {lambda_um} µm is outside the allowable range of {min_value} µm to {max_value} µm. [{self.filename}]")
45
+ /Users/martinpdes/Desktop/GitProject/PyOptik/PyOptik/sellmeier_class.py:104: RuntimeWarning: invalid value encountered in sqrt
46
+ n = numpy.sqrt(n_squared)
43
47
 
44
48
 
45
49
 
@@ -67,19 +71,19 @@ This example demonstrates how to create a custom Sellmeier YAML file using the
67
71
  formula_type=formula_type,
68
72
  wavelength_range=(0.2, 2.0),
69
73
  reference="Sample Reference",
70
- comments="This is a sample Sellmeier file created for demonstration purposes."
74
+ comments="This is a sample Sellmeier file created for demonstration purposes. "
71
75
  )
72
76
 
73
77
  print(f"Sellmeier YAML file {filename}.yml has been created in {sellmeier_data_path}")
74
78
 
75
- m = SellmeierMaterial('example_download')
79
+ m = SellmeierMaterial(filename)
76
80
 
77
81
  m.plot()
78
82
 
79
83
 
80
84
  .. rst-class:: sphx-glr-timing
81
85
 
82
- **Total running time of the script:** (0 minutes 0.146 seconds)
86
+ **Total running time of the script:** (0 minutes 0.165 seconds)
83
87
 
84
88
 
85
89
  .. _sphx_glr_download_gallery_create_sellmeier_file.py:
@@ -15,7 +15,7 @@
15
15
  },
16
16
  "outputs": [],
17
17
  "source": [
18
- "from PyOptik.utils import create_tabulated_file\nfrom PyOptik.directories import tabulated_data_path\nfrom PyOptik import TabulatedMaterial\n\n# Define the tabulated data (wavelength in micrometers, n, k)\ntabulated_data = [\n (0.1879, 0.94, 1.337),\n (0.1916, 0.95, 1.388),\n (0.1953, 0.97, 1.440),\n (0.1993, 0.98, 1.493),\n (0.2033, 0.99, 1.550),\n]\n\n# Define the file properties\nfilename = 'example_tabulated'\nreference = \"Example Reference for Tabulated Data\"\ncomments = \"This file contains sample tabulated data for demonstration purposes.\"\n\n# Call the function to create the file\ncreate_tabulated_file(\n filename=filename,\n data=tabulated_data,\n reference=reference,\n comments=comments\n)\n\nprint(f\"Tabulated YAML file {filename}.yml has been created in {tabulated_data_path}\")\n\nm = TabulatedMaterial('example_tabulated')\n\nm.plot()"
18
+ "from PyOptik.utils import create_tabulated_file\nfrom PyOptik.directories import tabulated_data_path\nfrom PyOptik import TabulatedMaterial\n\n# Define the tabulated data (wavelength in micrometers, n, k)\ntabulated_data = [\n (0.1879, 0.94, 1.337),\n (0.1916, 0.95, 1.388),\n (0.1953, 0.97, 1.440),\n (0.1993, 0.98, 1.493),\n (0.2033, 0.99, 1.550),\n]\n\n# Define the file properties\nfilename = 'example_tabulated'\nreference = \"Example Reference for Tabulated Data\"\ncomments = \"This file contains sample tabulated data for demonstration purposes. \"\n\n# Call the function to create the file\ncreate_tabulated_file(\n filename=filename,\n data=tabulated_data,\n reference=reference,\n comments=comments\n)\n\nprint(f\"Tabulated YAML file {filename}.yml has been created in {tabulated_data_path}\")\n\nm = TabulatedMaterial(filename)\n\nm.plot()"
19
19
  ]
20
20
  }
21
21
  ],
@@ -22,7 +22,7 @@ tabulated_data = [
22
22
  # Define the file properties
23
23
  filename = 'example_tabulated'
24
24
  reference = "Example Reference for Tabulated Data"
25
- comments = "This file contains sample tabulated data for demonstration purposes."
25
+ comments = "This file contains sample tabulated data for demonstration purposes. "
26
26
 
27
27
  # Call the function to create the file
28
28
  create_tabulated_file(
@@ -34,6 +34,6 @@ create_tabulated_file(
34
34
 
35
35
  print(f"Tabulated YAML file {filename}.yml has been created in {tabulated_data_path}")
36
36
 
37
- m = TabulatedMaterial('example_tabulated')
37
+ m = TabulatedMaterial(filename)
38
38
 
39
39
  m.plot()
@@ -0,0 +1 @@
1
+ 4a0ef6e1d962526bc360d253b71c2069
@@ -67,7 +67,7 @@ This example demonstrates how to create a custom YAML file containing tabulated
67
67
  # Define the file properties
68
68
  filename = 'example_tabulated'
69
69
  reference = "Example Reference for Tabulated Data"
70
- comments = "This file contains sample tabulated data for demonstration purposes."
70
+ comments = "This file contains sample tabulated data for demonstration purposes. "
71
71
 
72
72
  # Call the function to create the file
73
73
  create_tabulated_file(
@@ -79,14 +79,14 @@ This example demonstrates how to create a custom YAML file containing tabulated
79
79
 
80
80
  print(f"Tabulated YAML file {filename}.yml has been created in {tabulated_data_path}")
81
81
 
82
- m = TabulatedMaterial('example_tabulated')
82
+ m = TabulatedMaterial(filename)
83
83
 
84
84
  m.plot()
85
85
 
86
86
 
87
87
  .. rst-class:: sphx-glr-timing
88
88
 
89
- **Total running time of the script:** (0 minutes 0.135 seconds)
89
+ **Total running time of the script:** (0 minutes 0.134 seconds)
90
90
 
91
91
 
92
92
  .. _sphx_glr_download_gallery_create_tabulated_file.py:
@@ -15,7 +15,7 @@
15
15
  },
16
16
  "outputs": [],
17
17
  "source": [
18
- "import numpy\nfrom PyOptik import UsualMaterial\n\n# Initialize the material with the Sellmeier model\nmaterial = UsualMaterial.get('BK7')\n\n# Calculate refractive index at specific wavelengths\nRI = material.compute_refractive_index(wavelength=[1310e-9, 1550e-9])\n\n# Display calculated refractive indices at sample wavelengths\nmaterial.plot(\n wavelength=numpy.linspace(300e-9, 1500e-9, 300)\n)"
18
+ "import numpy\nfrom PyOptik import Material\n\n# Initialize the material with the Sellmeier model\nmaterial = Material.BK7\n\n# Calculate refractive index at specific wavelengths\nRI = material.compute_refractive_index(wavelength=[1310e-9, 1550e-9])\n\n# Display calculated refractive indices at sample wavelengths\nmaterial.plot(\n wavelength=numpy.linspace(300e-9, 1500e-9, 300)\n)"
19
19
  ]
20
20
  }
21
21
  ],
@@ -7,10 +7,10 @@ This module demonstrates the usage of the PyOptik library to calculate and plot
7
7
  """
8
8
 
9
9
  import numpy
10
- from PyOptik import UsualMaterial
10
+ from PyOptik import Material
11
11
 
12
12
  # Initialize the material with the Sellmeier model
13
- material = UsualMaterial.get('BK7')
13
+ material = Material.BK7
14
14
 
15
15
  # Calculate refractive index at specific wavelengths
16
16
  RI = material.compute_refractive_index(wavelength=[1310e-9, 1550e-9])
@@ -0,0 +1 @@
1
+ 2099847e1a79f849101ef3d50c1c7882
@@ -40,10 +40,10 @@ This module demonstrates the usage of the PyOptik library to calculate and plot
40
40
 
41
41
 
42
42
  import numpy
43
- from PyOptik import UsualMaterial
43
+ from PyOptik import Material
44
44
 
45
45
  # Initialize the material with the Sellmeier model
46
- material = UsualMaterial.get('BK7')
46
+ material = Material.BK7
47
47
 
48
48
  # Calculate refractive index at specific wavelengths
49
49
  RI = material.compute_refractive_index(wavelength=[1310e-9, 1550e-9])
@@ -55,7 +55,7 @@ This module demonstrates the usage of the PyOptik library to calculate and plot
55
55
 
56
56
  .. rst-class:: sphx-glr-timing
57
57
 
58
- **Total running time of the script:** (0 minutes 0.118 seconds)
58
+ **Total running time of the script:** (0 minutes 0.098 seconds)
59
59
 
60
60
 
61
61
  .. _sphx_glr_download_gallery_plot_bk7.py:
@@ -15,7 +15,7 @@
15
15
  },
16
16
  "outputs": [],
17
17
  "source": [
18
- "import numpy\nfrom PyOptik import UsualMaterial\n\n# Initialize the material with the Sellmeier model\nmaterial = UsualMaterial.get('SF5')\n\n# Calculate refractive index at specific wavelengths\nRI = material.compute_refractive_index(wavelength=[1310e-9, 1550e-9])\n\n# Display calculated refractive indices at sample wavelengths\nmaterial.plot(\n wavelength=numpy.linspace(400e-9, 1500e-9, 300)\n)"
18
+ "import numpy\nfrom PyOptik import Material\n\n# Initialize the material with the Sellmeier model\nmaterial = Material.SF5\n\n# Calculate refractive index at specific wavelengths\nRI = material.compute_refractive_index(wavelength=[1310e-9, 1550e-9])\n\n# Display calculated refractive indices at sample wavelengths\nmaterial.plot(\n wavelength=numpy.linspace(400e-9, 1500e-9, 300)\n)"
19
19
  ]
20
20
  }
21
21
  ],
@@ -7,10 +7,10 @@ This module demonstrates the usage of the PyOptik library to calculate and plot
7
7
  """
8
8
 
9
9
  import numpy
10
- from PyOptik import UsualMaterial
10
+ from PyOptik import Material
11
11
 
12
12
  # Initialize the material with the Sellmeier model
13
- material = UsualMaterial.get('SF5')
13
+ material = Material.SF5
14
14
 
15
15
  # Calculate refractive index at specific wavelengths
16
16
  RI = material.compute_refractive_index(wavelength=[1310e-9, 1550e-9])
@@ -0,0 +1 @@
1
+ e7d07cb7b88abc68d4b21a5d0e3596e7
@@ -40,10 +40,10 @@ This module demonstrates the usage of the PyOptik library to calculate and plot
40
40
 
41
41
 
42
42
  import numpy
43
- from PyOptik import UsualMaterial
43
+ from PyOptik import Material
44
44
 
45
45
  # Initialize the material with the Sellmeier model
46
- material = UsualMaterial.get('SF5')
46
+ material = Material.SF5
47
47
 
48
48
  # Calculate refractive index at specific wavelengths
49
49
  RI = material.compute_refractive_index(wavelength=[1310e-9, 1550e-9])
@@ -56,7 +56,7 @@ This module demonstrates the usage of the PyOptik library to calculate and plot
56
56
 
57
57
  .. rst-class:: sphx-glr-timing
58
58
 
59
- **Total running time of the script:** (0 minutes 0.117 seconds)
59
+ **Total running time of the script:** (0 minutes 0.105 seconds)
60
60
 
61
61
 
62
62
  .. _sphx_glr_download_gallery_plot_sf5.py:
@@ -15,7 +15,7 @@
15
15
  },
16
16
  "outputs": [],
17
17
  "source": [
18
- "import numpy\nfrom PyOptik import UsualMaterial\n\n# Initialize the material with the Sellmeier model\nmaterial = UsualMaterial.fused_silica\n\n# Calculate refractive index at specific wavelengths\nRI = material.compute_refractive_index(wavelength=[1310e-9, 1550e-9])\n\n# Display calculated refractive indices at sample wavelengths\nmaterial.plot(\n wavelength=numpy.linspace(500e-9, 1500e-9, 300)\n)"
18
+ "import numpy\nfrom PyOptik import Material\n\n# Initialize the material with the Sellmeier model\nmaterial = Material.fused_silica\n\n# Calculate refractive index at specific wavelengths\nRI = material.compute_refractive_index(wavelength=[1310e-9, 1550e-9])\n\n# Display calculated refractive indices at sample wavelengths\nmaterial.plot(\n wavelength=numpy.linspace(500e-9, 1500e-9, 300)\n)"
19
19
  ]
20
20
  }
21
21
  ],
@@ -7,10 +7,10 @@ This module demonstrates the usage of the PyOptik library to calculate and plot
7
7
  """
8
8
 
9
9
  import numpy
10
- from PyOptik import UsualMaterial
10
+ from PyOptik import Material
11
11
 
12
12
  # Initialize the material with the Sellmeier model
13
- material = UsualMaterial.fused_silica
13
+ material = Material.fused_silica
14
14
 
15
15
  # Calculate refractive index at specific wavelengths
16
16
  RI = material.compute_refractive_index(wavelength=[1310e-9, 1550e-9])
@@ -0,0 +1 @@
1
+ bf94ad216bacb6d797b03faa5410c0cf
@@ -40,10 +40,10 @@ This module demonstrates the usage of the PyOptik library to calculate and plot
40
40
 
41
41
 
42
42
  import numpy
43
- from PyOptik import UsualMaterial
43
+ from PyOptik import Material
44
44
 
45
45
  # Initialize the material with the Sellmeier model
46
- material = UsualMaterial.fused_silica
46
+ material = Material.fused_silica
47
47
 
48
48
  # Calculate refractive index at specific wavelengths
49
49
  RI = material.compute_refractive_index(wavelength=[1310e-9, 1550e-9])
@@ -56,7 +56,7 @@ This module demonstrates the usage of the PyOptik library to calculate and plot
56
56
 
57
57
  .. rst-class:: sphx-glr-timing
58
58
 
59
- **Total running time of the script:** (0 minutes 0.119 seconds)
59
+ **Total running time of the script:** (0 minutes 0.091 seconds)
60
60
 
61
61
 
62
62
  .. _sphx_glr_download_gallery_plot_silica.py:
@@ -15,7 +15,7 @@
15
15
  },
16
16
  "outputs": [],
17
17
  "source": [
18
- "import numpy\nfrom PyOptik import UsualMaterial\n\n# Initialize the material with the Sellmeier model\nmaterial = UsualMaterial.silver\n\n# Calculate refractive index at specific wavelengths\nRI = material.compute_refractive_index(wavelength=[1310e-9, 1550e-9])\n\n# Display calculated refractive indices at sample wavelengths\nmaterial.plot(\n wavelength=numpy.linspace(300e-9, 1500e-9, 300)\n)"
18
+ "import numpy\nfrom PyOptik import Material\n\n# Initialize the material with the Sellmeier model\nmaterial = Material.silver\n\n# Calculate refractive index at specific wavelengths\nRI = material.compute_refractive_index(wavelength=[1310e-9, 1550e-9])\n\n# Display calculated refractive indices at sample wavelengths\nmaterial.plot(\n wavelength=numpy.linspace(300e-9, 1500e-9, 300)\n)"
19
19
  ]
20
20
  }
21
21
  ],
@@ -7,10 +7,10 @@ This module demonstrates the usage of the PyOptik library to calculate and plot
7
7
  """
8
8
 
9
9
  import numpy
10
- from PyOptik import UsualMaterial
10
+ from PyOptik import Material
11
11
 
12
12
  # Initialize the material with the Sellmeier model
13
- material = UsualMaterial.silver
13
+ material = Material.silver
14
14
 
15
15
  # Calculate refractive index at specific wavelengths
16
16
  RI = material.compute_refractive_index(wavelength=[1310e-9, 1550e-9])
@@ -0,0 +1 @@
1
+ 09a6d6f17e0e2dfe237ae3b2bc079846
@@ -40,10 +40,10 @@ This module demonstrates the usage of the PyOptik library to calculate and plot
40
40
 
41
41
 
42
42
  import numpy
43
- from PyOptik import UsualMaterial
43
+ from PyOptik import Material
44
44
 
45
45
  # Initialize the material with the Sellmeier model
46
- material = UsualMaterial.silver
46
+ material = Material.silver
47
47
 
48
48
  # Calculate refractive index at specific wavelengths
49
49
  RI = material.compute_refractive_index(wavelength=[1310e-9, 1550e-9])
@@ -57,7 +57,7 @@ This module demonstrates the usage of the PyOptik library to calculate and plot
57
57
 
58
58
  .. rst-class:: sphx-glr-timing
59
59
 
60
- **Total running time of the script:** (0 minutes 0.157 seconds)
60
+ **Total running time of the script:** (0 minutes 0.142 seconds)
61
61
 
62
62
 
63
63
  .. _sphx_glr_download_gallery_plot_silver.py:
@@ -15,7 +15,7 @@
15
15
  },
16
16
  "outputs": [],
17
17
  "source": [
18
- "import numpy\nfrom PyOptik import UsualMaterial\n\n# Initialize the material with the Sellmeier model\nmaterial = UsualMaterial.water\n\n# Calculate refractive index at specific wavelengths\nRI = material.compute_refractive_index(wavelength=[800e-9, 900e-9])\n\n# Display calculated refractive indices at sample wavelengths\nmaterial.plot(\n wavelength=numpy.linspace(300e-9, 1000e-9, 300)\n)"
18
+ "import numpy\nfrom PyOptik import Material\n\n# Initialize the material with the Sellmeier model\nmaterial = Material.water\n\n# Calculate refractive index at specific wavelengths\nRI = material.compute_refractive_index(wavelength=[800e-9, 900e-9])\n\n# Display calculated refractive indices at sample wavelengths\nmaterial.plot(\n wavelength=numpy.linspace(300e-9, 1000e-9, 300)\n)"
19
19
  ]
20
20
  }
21
21
  ],
@@ -7,10 +7,10 @@ This module demonstrates the usage of the PyOptik library to calculate and plot
7
7
  """
8
8
 
9
9
  import numpy
10
- from PyOptik import UsualMaterial
10
+ from PyOptik import Material
11
11
 
12
12
  # Initialize the material with the Sellmeier model
13
- material = UsualMaterial.water
13
+ material = Material.water
14
14
 
15
15
  # Calculate refractive index at specific wavelengths
16
16
  RI = material.compute_refractive_index(wavelength=[800e-9, 900e-9])
@@ -0,0 +1 @@
1
+ fa09cec86c5b27e53121159d49bd3d9d
@@ -40,10 +40,10 @@ This module demonstrates the usage of the PyOptik library to calculate and plot
40
40
 
41
41
 
42
42
  import numpy
43
- from PyOptik import UsualMaterial
43
+ from PyOptik import Material
44
44
 
45
45
  # Initialize the material with the Sellmeier model
46
- material = UsualMaterial.water
46
+ material = Material.water
47
47
 
48
48
  # Calculate refractive index at specific wavelengths
49
49
  RI = material.compute_refractive_index(wavelength=[800e-9, 900e-9])
@@ -57,7 +57,7 @@ This module demonstrates the usage of the PyOptik library to calculate and plot
57
57
 
58
58
  .. rst-class:: sphx-glr-timing
59
59
 
60
- **Total running time of the script:** (0 minutes 0.131 seconds)
60
+ **Total running time of the script:** (0 minutes 0.114 seconds)
61
61
 
62
62
 
63
63
  .. _sphx_glr_download_gallery_plot_water.py:
@@ -6,22 +6,22 @@
6
6
 
7
7
  Computation times
8
8
  =================
9
- **00:01.790** total execution time for **gallery** files:
9
+ **00:00.849** total execution time for **gallery** files:
10
10
 
11
11
  +---------------------------------------------------------------------------------+-----------+--------+
12
- | :ref:`sphx_glr_gallery_download_yml_file.py` (``download_yml_file.py``) | 00:00.867 | 0.0 MB |
12
+ | :ref:`sphx_glr_gallery_create_sellmeier_file.py` (``create_sellmeier_file.py``) | 00:00.165 | 0.0 MB |
13
13
  +---------------------------------------------------------------------------------+-----------+--------+
14
- | :ref:`sphx_glr_gallery_plot_silver.py` (``plot_silver.py``) | 00:00.157 | 0.0 MB |
14
+ | :ref:`sphx_glr_gallery_plot_silver.py` (``plot_silver.py``) | 00:00.142 | 0.0 MB |
15
15
  +---------------------------------------------------------------------------------+-----------+--------+
16
- | :ref:`sphx_glr_gallery_create_sellmeier_file.py` (``create_sellmeier_file.py``) | 00:00.146 | 0.0 MB |
16
+ | :ref:`sphx_glr_gallery_create_tabulated_file.py` (``create_tabulated_file.py``) | 00:00.134 | 0.0 MB |
17
17
  +---------------------------------------------------------------------------------+-----------+--------+
18
- | :ref:`sphx_glr_gallery_create_tabulated_file.py` (``create_tabulated_file.py``) | 00:00.135 | 0.0 MB |
18
+ | :ref:`sphx_glr_gallery_plot_water.py` (``plot_water.py``) | 00:00.114 | 0.0 MB |
19
19
  +---------------------------------------------------------------------------------+-----------+--------+
20
- | :ref:`sphx_glr_gallery_plot_water.py` (``plot_water.py``) | 00:00.131 | 0.0 MB |
20
+ | :ref:`sphx_glr_gallery_plot_sf5.py` (``plot_sf5.py``) | 00:00.105 | 0.0 MB |
21
21
  +---------------------------------------------------------------------------------+-----------+--------+
22
- | :ref:`sphx_glr_gallery_plot_silica.py` (``plot_silica.py``) | 00:00.119 | 0.0 MB |
22
+ | :ref:`sphx_glr_gallery_plot_bk7.py` (``plot_bk7.py``) | 00:00.098 | 0.0 MB |
23
23
  +---------------------------------------------------------------------------------+-----------+--------+
24
- | :ref:`sphx_glr_gallery_plot_bk7.py` (``plot_bk7.py``) | 00:00.118 | 0.0 MB |
24
+ | :ref:`sphx_glr_gallery_plot_silica.py` (``plot_silica.py``) | 00:00.091 | 0.0 MB |
25
25
  +---------------------------------------------------------------------------------+-----------+--------+
26
- | :ref:`sphx_glr_gallery_plot_sf5.py` (``plot_sf5.py``) | 00:00.117 | 0.0 MB |
26
+ | :ref:`sphx_glr_gallery_download_yml_file.py` (``download_yml_file.py``) | 00:00.000 | 0.0 MB |
27
27
  +---------------------------------------------------------------------------------+-----------+--------+
@@ -1 +0,0 @@
1
- b9a236b8d62b0a4224483ca056ab4775
@@ -1 +0,0 @@
1
- bd3c82fae25254cdacd1992c94c8b7e0
@@ -1 +0,0 @@
1
- fe12fbc66f939bfc8bb1a95ab06784ea
@@ -1 +0,0 @@
1
- a20adb32ce8997dedd2f258fc255474f
@@ -1 +0,0 @@
1
- 96f364395301301fd34a8024652f1bcf
@@ -1 +0,0 @@
1
- 5691392394823f812a14f996b758b323
@@ -1 +0,0 @@
1
- a2769cb9e33f94366c5753f89d205d8e
File without changes
File without changes
File without changes