gratinglab 0.3.7__tar.gz → 0.3.9__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.
- {gratinglab-0.3.7/src/gratinglab.egg-info → gratinglab-0.3.9}/PKG-INFO +59 -71
- {gratinglab-0.3.7 → gratinglab-0.3.9}/README.md +56 -68
- {gratinglab-0.3.7 → gratinglab-0.3.9}/docs/conventions.md +11 -15
- {gratinglab-0.3.7 → gratinglab-0.3.9}/docs/theory/cmethod.md +1 -1
- {gratinglab-0.3.7 → gratinglab-0.3.9}/docs/theory/integral.md +18 -23
- {gratinglab-0.3.7 → gratinglab-0.3.9}/docs/theory/metrology.md +9 -15
- {gratinglab-0.3.7 → gratinglab-0.3.9}/docs/theory/rcwa.md +8 -23
- {gratinglab-0.3.7 → gratinglab-0.3.9}/docs/theory/scalar.md +9 -15
- {gratinglab-0.3.7 → gratinglab-0.3.9}/pyproject.toml +2 -2
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/__init__.py +1 -1
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/gui/app.py +2 -2
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/gui/cmethod_options.py +2 -2
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/gui/comparison.py +3 -3
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/gui/diagram3d.py +2 -4
- gratinglab-0.3.9/src/gratinglab/gui/failures.py +39 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/gui/launcher.py +3 -3
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/gui/provenance.py +50 -4
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/gui/qt/cmethod_tab.py +15 -22
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/gui/qt/compare_tab.py +2 -3
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/gui/qt/geometry_panel.py +9 -7
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/gui/qt/help_menu.py +26 -28
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/gui/qt/integral_tab.py +15 -22
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/gui/qt/launcher.py +11 -8
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/gui/qt/main_window.py +19 -4
- gratinglab-0.3.9/src/gratinglab/gui/qt/provenance_panel.py +141 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/gui/qt/rcwa_tab.py +15 -22
- gratinglab-0.3.9/src/gratinglab/gui/qt/recent.py +14 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/gui/qt/scalar_tab.py +16 -23
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/gui/qt/scene3d_panel.py +4 -2
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/gui/qt/setup_tab.py +23 -28
- gratinglab-0.3.9/src/gratinglab/gui/qt/theming.py +57 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/gui/qt/worker.py +6 -4
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/gui/theme.py +27 -131
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/io/boundary.py +4 -2
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/io/ggp.py +2 -1
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/metrology/gui/icon.py +1 -1
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/metrology/gui/qt/boundary_view.py +9 -20
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/metrology/gui/qt/efficiency_dialog.py +2 -2
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/metrology/gui/qt/import_view.py +11 -11
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/metrology/gui/qt/main_window.py +13 -1
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/metrology/gui/qt/wiki_view.py +1 -1
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/metrology/io/metrics.py +3 -1
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/metrology/wiki/facet-fitting.md +1 -2
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/metrology/wiki/file-formats.md +10 -18
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/metrology/wiki/flattening.md +9 -16
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/metrology/wiki/icc-correction.md +3 -5
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/metrology/wiki/overview.md +3 -6
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/metrology/wiki/reading-outputs.md +8 -12
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/metrology/wiki/row-groups.md +27 -28
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/metrology/wiki/scars-and-masking.md +3 -3
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/metrology/wiki/swath-statistics.md +1 -1
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/metrology/wiki/tip-correction.md +1 -2
- {gratinglab-0.3.7 → gratinglab-0.3.9/src/gratinglab.egg-info}/PKG-INFO +59 -71
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab.egg-info/SOURCES.txt +5 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab.egg-info/requires.txt +2 -2
- {gratinglab-0.3.7 → gratinglab-0.3.9}/tests/test_gui_cmethod_tab.py +2 -1
- {gratinglab-0.3.7 → gratinglab-0.3.9}/tests/test_gui_compare_tab.py +1 -1
- {gratinglab-0.3.7 → gratinglab-0.3.9}/tests/test_gui_help_menu.py +2 -2
- {gratinglab-0.3.7 → gratinglab-0.3.9}/tests/test_gui_launcher.py +1 -1
- gratinglab-0.3.9/tests/test_gui_polish.py +112 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/tests/test_gui_provenance.py +1 -1
- gratinglab-0.3.9/tests/test_gui_provenance_panel.py +89 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/tests/test_gui_qt.py +6 -6
- gratinglab-0.3.7/src/gratinglab/gui/qt/theming.py +0 -249
- {gratinglab-0.3.7 → gratinglab-0.3.9}/LICENSE +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/MANIFEST.in +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/setup.cfg +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/setup.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/checks.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/compare.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/convergence.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/geometry.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/gui/__init__.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/gui/diagram.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/gui/docs.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/gui/efficiency_plot.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/gui/icon.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/gui/integral_options.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/gui/mathtext.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/gui/orders.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/gui/qt/__init__.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/gui/qt/geometry_tab.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/gui/qt/profile_plot_panel.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/gui/qt/sizing.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/gui/qt/theory_viewer.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/gui/rcwa_options.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/gui/richtext.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/gui/scalar_options.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/gui/state.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/illumination.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/io/__init__.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/io/efficiency_table.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/io/txl.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/materials/__init__.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/materials/data/SOURCES.md +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/materials/fresnel.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/materials/optical.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/materials/refractiveindex.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/materials/typical.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/measured.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/metrology/__init__.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/metrology/_analyzer_summary.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/metrology/analyzer.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/metrology/boundary/__init__.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/metrology/boundary/average.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/metrology/boundary/cross_section.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/metrology/boundary/pipeline.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/metrology/boundary/swaths.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/metrology/cli.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/metrology/config.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/metrology/core/__init__.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/metrology/core/analysis.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/metrology/core/image_flatten.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/metrology/core/orientation.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/metrology/core/processing.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/metrology/core/region_mask.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/metrology/core/scars.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/metrology/core/tip.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/metrology/data/__init__.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/metrology/data/aggregation.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/metrology/gui/__init__.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/metrology/gui/qt/__init__.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/metrology/gui/qt/app.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/metrology/gui/qt/canvas.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/metrology/gui/qt/layout.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/metrology/gui/qt/swath_dialog.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/metrology/gui/qt/worker.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/metrology/gui/state.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/metrology/io/__init__.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/metrology/io/file_io.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/metrology/io/ibw.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/metrology/io/sem.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/metrology/io/spm.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/metrology/settings.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/metrology/stats/__init__.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/metrology/stats/analysis.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/metrology/stats/icc.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/metrology/visualization/__init__.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/metrology/visualization/diagnostics.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/metrology/visualization/profiles.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/metrology/visualization/statistics.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/metrology/wiki/__init__.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/metrology/wiki/groove-orientation.md +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/metrology/workflows.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/problem.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/profiles/__init__.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/profiles/_base.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/profiles/_polyline.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/profiles/_shapes.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/profiles/_trapezoid.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/profiles/_types.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/resolution.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/result.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/solvers/__init__.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/solvers/_conditioning.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/solvers/_execution.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/solvers/_scalar_groove.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/solvers/base.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/solvers/cmethod/__init__.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/solvers/cmethod/_core.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/solvers/cmethod/_series.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/solvers/integral/__init__.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/solvers/integral/_boundary.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/solvers/integral/_core.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/solvers/integral/_finite.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/solvers/integral/_greens.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/solvers/integral/_kernels.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/solvers/integral/_nystrom.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/solvers/rcwa/__init__.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/solvers/rcwa/_core.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/solvers/rcwa/_stack.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab/solvers/scalar.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab.egg-info/dependency_links.txt +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab.egg-info/entry_points.txt +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/src/gratinglab.egg-info/top_level.txt +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/tests/test_changelog.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/tests/test_checks.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/tests/test_cmethod.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/tests/test_compare.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/tests/test_conditioning.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/tests/test_convergence.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/tests/test_cross_method.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/tests/test_efficiency_table.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/tests/test_four_way.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/tests/test_fresnel.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/tests/test_geometry.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/tests/test_ggp.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/tests/test_gui_cmethod_options.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/tests/test_gui_diagram.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/tests/test_gui_diagram3d.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/tests/test_gui_docs.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/tests/test_gui_integral_options.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/tests/test_gui_mathtext.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/tests/test_gui_orders.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/tests/test_gui_rcwa_options.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/tests/test_gui_richtext.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/tests/test_gui_scalar_options.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/tests/test_gui_state.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/tests/test_gui_theme.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/tests/test_illumination.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/tests/test_integral_core.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/tests/test_integral_corpus.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/tests/test_integral_finite.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/tests/test_integral_graded.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/tests/test_integral_greens.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/tests/test_integral_kernels.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/tests/test_integral_measured_polygon.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/tests/test_integral_operators.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/tests/test_integral_solver.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/tests/test_io_boundary.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/tests/test_littrow.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/tests/test_materials.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/tests/test_measured.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/tests/test_perturbation.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/tests/test_profiles.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/tests/test_rayleigh_anomaly.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/tests/test_rcwa.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/tests/test_rcwa_benchmarks.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/tests/test_refractiveindex.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/tests/test_resolution.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/tests/test_result.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/tests/test_scalar.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/tests/test_solver_conformance.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/tests/test_solver_execution.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/tests/test_solver_progress.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/tests/test_trapezoidal_solvers.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/tests/test_txl.py +0 -0
- {gratinglab-0.3.7 → gratinglab-0.3.9}/tests/test_typical.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: gratinglab
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.9
|
|
4
4
|
Summary: Open platform for diffraction grating groove metrology and efficiency analysis
|
|
5
5
|
Author: Jake McCoy, Aditi Gangadharan
|
|
6
6
|
License-Expression: BSD-3-Clause
|
|
@@ -21,7 +21,7 @@ License-File: LICENSE
|
|
|
21
21
|
Requires-Dist: numpy>=1.26
|
|
22
22
|
Requires-Dist: scipy>=1.11
|
|
23
23
|
Requires-Dist: pydantic>=2.6
|
|
24
|
-
Requires-Dist: endstation>=0.
|
|
24
|
+
Requires-Dist: endstation>=0.3.0
|
|
25
25
|
Requires-Dist: threadpoolctl>=3.1
|
|
26
26
|
Provides-Extra: dev
|
|
27
27
|
Requires-Dist: pytest>=9.2; extra == "dev"
|
|
@@ -33,7 +33,7 @@ Provides-Extra: gui
|
|
|
33
33
|
Requires-Dist: matplotlib>=3.8; extra == "gui"
|
|
34
34
|
Requires-Dist: PySide6-Essentials!=6.12.0,>=6.7; python_version < "3.12" and extra == "gui"
|
|
35
35
|
Requires-Dist: PySide6-Essentials>=6.7; python_version >= "3.12" and extra == "gui"
|
|
36
|
-
Requires-Dist: endstation[qt]>=0.
|
|
36
|
+
Requires-Dist: endstation[qt]>=0.3.0; extra == "gui"
|
|
37
37
|
Provides-Extra: metrology
|
|
38
38
|
Requires-Dist: matplotlib>=3.9; extra == "metrology"
|
|
39
39
|
Provides-Extra: refractiveindex
|
|
@@ -55,15 +55,14 @@ gratinglab is a Python package for measuring the groove profiles of diffraction
|
|
|
55
55
|
gratings from atomic force microscope (AFM) scans and for computing the diffraction
|
|
56
56
|
efficiency of a grating from such a profile.
|
|
57
57
|
|
|
58
|
-
The AFM metrology is the part of the package
|
|
58
|
+
The AFM metrology is the part of the package used day to day. It measures blaze angles
|
|
59
59
|
from a scan, averages the grooves into a single profile, reports how much that profile
|
|
60
60
|
varies down the scan, corrects for the shape of the AFM tip where the data allow it,
|
|
61
61
|
and exports the averaged groove as a boundary profile. The three rigorous
|
|
62
62
|
efficiency solvers left experimental status in 0.3, after agreeing with one
|
|
63
|
-
another and with a
|
|
64
|
-
comparison in `docs/findings.md`). Their known limits
|
|
65
|
-
|
|
66
|
-
than a result to rely on.
|
|
63
|
+
another and with measured efficiencies from a grating whose groove was also
|
|
64
|
+
measured by AFM (the TASTE comparison in `docs/findings.md`). Their known limits
|
|
65
|
+
are stated in the table under Status.
|
|
67
66
|
|
|
68
67
|
Rigorous methods for computing grating efficiency are well established, and open codes
|
|
69
68
|
exist for several of them, although each carries its own conventions and
|
|
@@ -116,17 +115,17 @@ backends sit beside them, both written in-house: a rigorous coupled-wave analysi
|
|
|
116
115
|
(RCWA), which also models coated gratings through conformal layers, and the
|
|
117
116
|
C-method (Chandezon). Each has a tab in the efficiency window since 0.2.1.
|
|
118
117
|
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
118
|
+
The three rigorous solvers are out of experimental status as of 0.3. On the
|
|
119
|
+
December 2018 TASTE campaign (296 measured efficiencies, computed on the
|
|
120
|
+
grating's own AFM groove), the integral method, the C-method and RCWA agree with
|
|
121
|
+
one another to 2e-4 RMS and with the measurement to 0.038, so the 0.038 residual
|
|
122
|
+
does not come from the solvers. Two limits apply. The C-method refuses a wall too
|
|
123
|
+
steep for its truncation. On a measured polygon under
|
|
124
|
+
`conductivity="tabulated"`, the integral solver needs `profile_smoothing="auto"`
|
|
125
|
+
for a correct absorption. It is opt-in because it moves finely sampled profiles
|
|
126
|
+
at long wavelengths; with the default the polygon is solved as given, and the
|
|
127
|
+
energy-balance warning names the option when it fires. A tightly rounded valley
|
|
128
|
+
is a known limitation.
|
|
130
129
|
The scalar solver is an approximation and is described as one.
|
|
131
130
|
|
|
132
131
|
**Every modelling method here still needs verification**, the rigorous ones
|
|
@@ -162,11 +161,10 @@ the materials layer, and a calculation of the resolving power implied by the num
|
|
|
162
161
|
of grooves measured.
|
|
163
162
|
|
|
164
163
|
The aim is gratings in general: reflection and transmission, metallic and
|
|
165
|
-
dielectric, bare and coated, from X-rays to the infrared.
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
project began with, where the integral method is the established approach and
|
|
164
|
+
dielectric, bare and coated, from X-rays to the infrared. Any half-cone angle γ is
|
|
165
|
+
supported, from 90° (in-plane, classical) through general conical incidence to
|
|
166
|
+
extreme off-plane at grazing incidence (γ of a degree or two). That last is the soft
|
|
167
|
+
X-ray spectroscopy regime, where the integral method is the established approach and
|
|
170
168
|
general-purpose RCWA codes are least reliable. `Illumination.classical`,
|
|
171
169
|
`Illumination.conical(theta, phi)` and `Illumination.offplane(graze, azimuth)` all
|
|
172
170
|
build the same object, and every solver accepts any of them. Which method serves which regime, and what is not yet covered
|
|
@@ -178,9 +176,9 @@ The method backends, in order of development:
|
|
|
178
176
|
| Method | Status |
|
|
179
177
|
|---|---|
|
|
180
178
|
| Scalar (Kirchhoff, x-ray blaze form) | an approximation; checked against closed-form results |
|
|
181
|
-
| Integral method (boundary integral, conical, undercut-capable) |
|
|
182
|
-
| RCWA (in-plane, conical, off-plane; Li factorization, S-matrix, layer stacks) |
|
|
183
|
-
| C-method (Chandezon) |
|
|
179
|
+
| Integral method (boundary integral, conical, undercut-capable) | perfect and finite conductivity (`conductivity="tabulated"`, Goray & Schmidt 2010), absolute efficiencies with the absorbed fraction recorded; a corner-graded mesh for profiles with corners (`corner_grading=4`, the default; `0` is the equal-arc mesh), under either boundary condition; checked against published benchmark tables (Maystre & Popov; Goray & Schmidt), energy balance and reciprocity |
|
|
180
|
+
| RCWA (in-plane, conical, off-plane; Li factorization, S-matrix, layer stacks) | lamellar gratings exact and other profiles staircased, transmitted orders, and coatings through conformal layers (`Problem.layers`); checked against Fresnel, the Airy film formula, reciprocity, the integral solver, and published lamellar values (Granet; Lalanne & Hugonin; Gralak; Goray & Schmidt's conical tables). Not yet checked: staircase accuracy in metallic TM, and layers of a second material against an independent code |
|
|
181
|
+
| C-method (Chandezon) | perfect conductor in any mount, and one interface into an absorbing or lossless material, conical and coupled; checked against Goray & Schmidt's Table 3, Fresnel and the integral solver. Refuses vertical facets, undercuts, and walls too steep for the scan (the harmonics a wall needs grow with its slope times P sin γ / λ; measured against the integral solver, see the method note); converges slowly on sawtooth corners, and loses precision at high truncation on profiles deeper than about half the period, both reported in provenance. No coatings |
|
|
184
182
|
|
|
185
183
|
The comparison harness also accepts an efficiency table already computed by an
|
|
186
184
|
external program as one of its methods, so that comparison plots can be made without
|
|
@@ -209,9 +207,9 @@ resolving_power(problem, illumination, wavelength=2.0, order=3).r
|
|
|
209
207
|
The resolving power follows from the Rayleigh criterion as `R = |m|·N`, and
|
|
210
208
|
`line_profile` gives the line shape for a finite number of grooves from which that
|
|
211
209
|
result is derived. A problem whose `n_grooves` is not set is refused rather than
|
|
212
|
-
treated as having infinitely many grooves. Resolving power
|
|
213
|
-
placement is
|
|
214
|
-
|
|
210
|
+
treated as having infinitely many grooves. Resolving power that includes
|
|
211
|
+
groove-placement errors is not implemented yet, and the ideal formula is not offered
|
|
212
|
+
in its place.
|
|
215
213
|
|
|
216
214
|
### Correcting for the AFM tip
|
|
217
215
|
|
|
@@ -223,7 +221,8 @@ Bruker's ScanAsyst-Air can be represented. No method can recover the bottom of a
|
|
|
223
221
|
trough the tip did not enter, and the correction leaves such regions as upper bounds
|
|
224
222
|
instead of filling them in.
|
|
225
223
|
|
|
226
|
-
On one real scan, the groove depth and the fitted facet
|
|
224
|
+
On one real scan, the blaze angle implied by the groove depth and the fitted facet
|
|
225
|
+
angle disagree by 7.6°.
|
|
227
226
|
Erosion with the probe at its nominal radius recovers none of that difference, and
|
|
228
227
|
reproducing it by simulation requires an apex worn to about 80 nm, which excludes the
|
|
229
228
|
nominal tip as the cause
|
|
@@ -312,20 +311,15 @@ gratinglab-gui # straight to geometry, solvers, comparison
|
|
|
312
311
|
gratinglab-metrology-gui # straight to AFM import, blaze angles, boundary profiles
|
|
313
312
|
```
|
|
314
313
|
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
solvers compute an efficiency from the result — but the desktop layer used to ship
|
|
325
|
-
them as two commands and two application bundles, the AFM one still named after the
|
|
326
|
-
repository it was merged from, which made the half in regular use the half that was
|
|
327
|
-
hardest to find. The two direct commands above are unchanged, for a shortcut or a
|
|
328
|
-
habit.
|
|
314
|
+
`gratinglab-app` opens a chooser for the two windows. Each window has a **Go** menu
|
|
315
|
+
that switches to the other window or back to the chooser (`Ctrl+Shift+M`), and
|
|
316
|
+
switching reuses a window that is already open. The chooser has the same
|
|
317
|
+
**View → Theme** and **Help** menus as the windows, so the theme, which applies to the
|
|
318
|
+
whole application, and the theory pages can be reached without opening a window
|
|
319
|
+
first. While the chooser is on screen it imports both windows on a background thread,
|
|
320
|
+
so the first window opens in about a fifth of a second; the matplotlib and scipy
|
|
321
|
+
imports otherwise take several seconds. `gratinglab-gui` and
|
|
322
|
+
`gratinglab-metrology-gui` open one window directly.
|
|
329
323
|
|
|
330
324
|
The windows are built with Qt (PySide6), so `pip install "gratinglab[gui]"` needs no
|
|
331
325
|
system toolkit to be installed first. PySide6 is licensed under the LGPLv3 and is an
|
|
@@ -367,8 +361,7 @@ hides it), and the window has one tab for each task:
|
|
|
367
361
|
*Four solvers on one problem: a 40 nm gold sinusoid, 5% deep, at 80° incidence,
|
|
368
362
|
unpolarized. The lower panel is each solver's difference from the C-method on a
|
|
369
363
|
log scale: the integral method and RCWA agree with it to within 2e-6, and the
|
|
370
|
-
scalar one is off by up to 0.018
|
|
371
|
-
methods, not a verification of any of them; see Status.*
|
|
364
|
+
scalar one is off by up to 0.018.*
|
|
372
365
|
- **Setup:** the material library, showing which optical constants are installed, the
|
|
373
366
|
range each covers, where each came from, and how to add others. The coating itself is
|
|
374
367
|
chosen in the geometry dock, because it is a `Problem` field, like the period, and the
|
|
@@ -378,10 +371,10 @@ Each registered solver receives a tab generated from the solver registry, so a
|
|
|
378
371
|
new backend appears in the window once it is registered.
|
|
379
372
|
|
|
380
373
|
The **Help** menu contains the theory pages, rendered with typeset equations and
|
|
381
|
-
tables. It is on every window
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
**Help → About
|
|
374
|
+
tables. It is on every window, including the metrology window, whose results are
|
|
375
|
+
reported in the angles the conventions page defines and whose analysis
|
|
376
|
+
`theory/metrology.md` describes.
|
|
377
|
+
**Help → About gratinglab** names the authors and states which version is running and
|
|
385
378
|
when it was released, so a bug report can say which copy it came from.
|
|
386
379
|
**View → Theme** switches between System (following the operating system), Light,
|
|
387
380
|
Dark, Solarized Light, Solarized Dark and High contrast; the choice is remembered and
|
|
@@ -390,15 +383,13 @@ negative and warm for positive, with each order's colour shown beside it in the
|
|
|
390
383
|
list.
|
|
391
384
|
|
|
392
385
|
A macOS `.app` is built with `python tools/apps.py bundle --app gratinglab`, on macOS
|
|
393
|
-
13 or later, the minimum supported by the PySide6 wheels. That is one `
|
|
394
|
-
opening the chooser
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
is a stub that execs the console script in this checkout's virtualenv rather than a
|
|
386
|
+
13 or later, the minimum supported by the PySide6 wheels. That is one `gratinglab.app`
|
|
387
|
+
opening the chooser; `--app metrology` and `--app efficiency` build bundles that open
|
|
388
|
+
one window directly. `--dest ~/Applications` puts it where Finder will list it. The
|
|
389
|
+
bundle is a stub that execs the console script in this checkout's virtualenv, not a
|
|
398
390
|
frozen application, so it is not portable to another machine; `python tools/apps.py
|
|
399
|
-
check --app gratinglab` reports when that virtualenv has moved
|
|
400
|
-
|
|
401
|
-
gratinglab` regenerates the icon from the artwork in `gratinglab.gui.icon`.
|
|
391
|
+
check --app gratinglab` reports when that virtualenv has moved. `python tools/apps.py
|
|
392
|
+
icon --app gratinglab` regenerates the icon from the artwork in `gratinglab.gui.icon`.
|
|
402
393
|
|
|
403
394
|
## Documentation
|
|
404
395
|
|
|
@@ -509,11 +500,8 @@ separately forbids using the author's or contributors' names to endorse or promo
|
|
|
509
500
|
derived product without prior written permission.
|
|
510
501
|
|
|
511
502
|
**What you do not get.** The software is provided as is, without warranty of any kind,
|
|
512
|
-
and the author is not liable for any use of it.
|
|
513
|
-
|
|
514
|
-
validated on few gratings (see Status): a number this software produces is evidence
|
|
515
|
-
to be checked against another method, not a result to be relied on because a
|
|
516
|
-
computer printed it.
|
|
503
|
+
and the author is not liable for any use of it. The efficiency solvers are young and
|
|
504
|
+
validated on few gratings (see Status).
|
|
517
505
|
|
|
518
506
|
Contributions are accepted under the same licence. A pull request is taken as agreement
|
|
519
507
|
that the contribution may be distributed under BSD-3-Clause.
|
|
@@ -540,9 +528,9 @@ and `Provenance` records what a run actually used.
|
|
|
540
528
|
| `[gui]` | PySide6-Essentials | LGPL-3.0 |
|
|
541
529
|
| `[refractiveindex]` | PyYAML | MIT |
|
|
542
530
|
|
|
543
|
-
A solver-only install is permissive throughout. The `gui` extra
|
|
544
|
-
|
|
545
|
-
|
|
531
|
+
A solver-only install is permissive throughout. The `gui` extra installs PySide6,
|
|
532
|
+
which is LGPL-3.0. PyQt6 is not used because its GPL licence would extend to code
|
|
533
|
+
that imports it.
|
|
546
534
|
Importing an LGPL library dynamically does not change the licence of what you write,
|
|
547
535
|
but redistributing a bundled application that ships Qt inside it brings LGPL
|
|
548
536
|
obligations for that component — chiefly your users' right to substitute their own
|
|
@@ -554,11 +542,11 @@ no such question.
|
|
|
554
542
|
**Optical constant tables.** None are distributed with the package or kept in the
|
|
555
543
|
repository: the suite runs on an invented gold-sized table of its own, and its
|
|
556
544
|
refractiveindex.info reader fixtures are files that site dedicates CC0. A table you
|
|
557
|
-
add is governed by the terms of whoever published it, not by this licence.
|
|
558
|
-
|
|
559
|
-
|
|
545
|
+
add is governed by the terms of whoever published it, not by this licence. CXRO states
|
|
546
|
+
no terms at all, and a table exported from another program carries whatever that
|
|
547
|
+
program's terms attach to it.
|
|
560
548
|
[`SOURCES.md`](https://github.com/jamccoy/gratinglab/blob/master/src/gratinglab/materials/data/SOURCES.md)
|
|
561
|
-
records where each kind comes from
|
|
549
|
+
records where each kind of table comes from.
|
|
562
550
|
|
|
563
551
|
**Measurement data.** AFM scans and the reference efficiency corpus are the research
|
|
564
552
|
group's data and are deliberately absent from the repository, as described above under
|
|
@@ -11,15 +11,14 @@ gratinglab is a Python package for measuring the groove profiles of diffraction
|
|
|
11
11
|
gratings from atomic force microscope (AFM) scans and for computing the diffraction
|
|
12
12
|
efficiency of a grating from such a profile.
|
|
13
13
|
|
|
14
|
-
The AFM metrology is the part of the package
|
|
14
|
+
The AFM metrology is the part of the package used day to day. It measures blaze angles
|
|
15
15
|
from a scan, averages the grooves into a single profile, reports how much that profile
|
|
16
16
|
varies down the scan, corrects for the shape of the AFM tip where the data allow it,
|
|
17
17
|
and exports the averaged groove as a boundary profile. The three rigorous
|
|
18
18
|
efficiency solvers left experimental status in 0.3, after agreeing with one
|
|
19
|
-
another and with a
|
|
20
|
-
comparison in `docs/findings.md`). Their known limits
|
|
21
|
-
|
|
22
|
-
than a result to rely on.
|
|
19
|
+
another and with measured efficiencies from a grating whose groove was also
|
|
20
|
+
measured by AFM (the TASTE comparison in `docs/findings.md`). Their known limits
|
|
21
|
+
are stated in the table under Status.
|
|
23
22
|
|
|
24
23
|
Rigorous methods for computing grating efficiency are well established, and open codes
|
|
25
24
|
exist for several of them, although each carries its own conventions and
|
|
@@ -72,17 +71,17 @@ backends sit beside them, both written in-house: a rigorous coupled-wave analysi
|
|
|
72
71
|
(RCWA), which also models coated gratings through conformal layers, and the
|
|
73
72
|
C-method (Chandezon). Each has a tab in the efficiency window since 0.2.1.
|
|
74
73
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
74
|
+
The three rigorous solvers are out of experimental status as of 0.3. On the
|
|
75
|
+
December 2018 TASTE campaign (296 measured efficiencies, computed on the
|
|
76
|
+
grating's own AFM groove), the integral method, the C-method and RCWA agree with
|
|
77
|
+
one another to 2e-4 RMS and with the measurement to 0.038, so the 0.038 residual
|
|
78
|
+
does not come from the solvers. Two limits apply. The C-method refuses a wall too
|
|
79
|
+
steep for its truncation. On a measured polygon under
|
|
80
|
+
`conductivity="tabulated"`, the integral solver needs `profile_smoothing="auto"`
|
|
81
|
+
for a correct absorption. It is opt-in because it moves finely sampled profiles
|
|
82
|
+
at long wavelengths; with the default the polygon is solved as given, and the
|
|
83
|
+
energy-balance warning names the option when it fires. A tightly rounded valley
|
|
84
|
+
is a known limitation.
|
|
86
85
|
The scalar solver is an approximation and is described as one.
|
|
87
86
|
|
|
88
87
|
**Every modelling method here still needs verification**, the rigorous ones
|
|
@@ -118,11 +117,10 @@ the materials layer, and a calculation of the resolving power implied by the num
|
|
|
118
117
|
of grooves measured.
|
|
119
118
|
|
|
120
119
|
The aim is gratings in general: reflection and transmission, metallic and
|
|
121
|
-
dielectric, bare and coated, from X-rays to the infrared.
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
project began with, where the integral method is the established approach and
|
|
120
|
+
dielectric, bare and coated, from X-rays to the infrared. Any half-cone angle γ is
|
|
121
|
+
supported, from 90° (in-plane, classical) through general conical incidence to
|
|
122
|
+
extreme off-plane at grazing incidence (γ of a degree or two). That last is the soft
|
|
123
|
+
X-ray spectroscopy regime, where the integral method is the established approach and
|
|
126
124
|
general-purpose RCWA codes are least reliable. `Illumination.classical`,
|
|
127
125
|
`Illumination.conical(theta, phi)` and `Illumination.offplane(graze, azimuth)` all
|
|
128
126
|
build the same object, and every solver accepts any of them. Which method serves which regime, and what is not yet covered
|
|
@@ -134,9 +132,9 @@ The method backends, in order of development:
|
|
|
134
132
|
| Method | Status |
|
|
135
133
|
|---|---|
|
|
136
134
|
| Scalar (Kirchhoff, x-ray blaze form) | an approximation; checked against closed-form results |
|
|
137
|
-
| Integral method (boundary integral, conical, undercut-capable) |
|
|
138
|
-
| RCWA (in-plane, conical, off-plane; Li factorization, S-matrix, layer stacks) |
|
|
139
|
-
| C-method (Chandezon) |
|
|
135
|
+
| Integral method (boundary integral, conical, undercut-capable) | perfect and finite conductivity (`conductivity="tabulated"`, Goray & Schmidt 2010), absolute efficiencies with the absorbed fraction recorded; a corner-graded mesh for profiles with corners (`corner_grading=4`, the default; `0` is the equal-arc mesh), under either boundary condition; checked against published benchmark tables (Maystre & Popov; Goray & Schmidt), energy balance and reciprocity |
|
|
136
|
+
| RCWA (in-plane, conical, off-plane; Li factorization, S-matrix, layer stacks) | lamellar gratings exact and other profiles staircased, transmitted orders, and coatings through conformal layers (`Problem.layers`); checked against Fresnel, the Airy film formula, reciprocity, the integral solver, and published lamellar values (Granet; Lalanne & Hugonin; Gralak; Goray & Schmidt's conical tables). Not yet checked: staircase accuracy in metallic TM, and layers of a second material against an independent code |
|
|
137
|
+
| C-method (Chandezon) | perfect conductor in any mount, and one interface into an absorbing or lossless material, conical and coupled; checked against Goray & Schmidt's Table 3, Fresnel and the integral solver. Refuses vertical facets, undercuts, and walls too steep for the scan (the harmonics a wall needs grow with its slope times P sin γ / λ; measured against the integral solver, see the method note); converges slowly on sawtooth corners, and loses precision at high truncation on profiles deeper than about half the period, both reported in provenance. No coatings |
|
|
140
138
|
|
|
141
139
|
The comparison harness also accepts an efficiency table already computed by an
|
|
142
140
|
external program as one of its methods, so that comparison plots can be made without
|
|
@@ -165,9 +163,9 @@ resolving_power(problem, illumination, wavelength=2.0, order=3).r
|
|
|
165
163
|
The resolving power follows from the Rayleigh criterion as `R = |m|·N`, and
|
|
166
164
|
`line_profile` gives the line shape for a finite number of grooves from which that
|
|
167
165
|
result is derived. A problem whose `n_grooves` is not set is refused rather than
|
|
168
|
-
treated as having infinitely many grooves. Resolving power
|
|
169
|
-
placement is
|
|
170
|
-
|
|
166
|
+
treated as having infinitely many grooves. Resolving power that includes
|
|
167
|
+
groove-placement errors is not implemented yet, and the ideal formula is not offered
|
|
168
|
+
in its place.
|
|
171
169
|
|
|
172
170
|
### Correcting for the AFM tip
|
|
173
171
|
|
|
@@ -179,7 +177,8 @@ Bruker's ScanAsyst-Air can be represented. No method can recover the bottom of a
|
|
|
179
177
|
trough the tip did not enter, and the correction leaves such regions as upper bounds
|
|
180
178
|
instead of filling them in.
|
|
181
179
|
|
|
182
|
-
On one real scan, the groove depth and the fitted facet
|
|
180
|
+
On one real scan, the blaze angle implied by the groove depth and the fitted facet
|
|
181
|
+
angle disagree by 7.6°.
|
|
183
182
|
Erosion with the probe at its nominal radius recovers none of that difference, and
|
|
184
183
|
reproducing it by simulation requires an apex worn to about 80 nm, which excludes the
|
|
185
184
|
nominal tip as the cause
|
|
@@ -268,20 +267,15 @@ gratinglab-gui # straight to geometry, solvers, comparison
|
|
|
268
267
|
gratinglab-metrology-gui # straight to AFM import, blaze angles, boundary profiles
|
|
269
268
|
```
|
|
270
269
|
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
solvers compute an efficiency from the result — but the desktop layer used to ship
|
|
281
|
-
them as two commands and two application bundles, the AFM one still named after the
|
|
282
|
-
repository it was merged from, which made the half in regular use the half that was
|
|
283
|
-
hardest to find. The two direct commands above are unchanged, for a shortcut or a
|
|
284
|
-
habit.
|
|
270
|
+
`gratinglab-app` opens a chooser for the two windows. Each window has a **Go** menu
|
|
271
|
+
that switches to the other window or back to the chooser (`Ctrl+Shift+M`), and
|
|
272
|
+
switching reuses a window that is already open. The chooser has the same
|
|
273
|
+
**View → Theme** and **Help** menus as the windows, so the theme, which applies to the
|
|
274
|
+
whole application, and the theory pages can be reached without opening a window
|
|
275
|
+
first. While the chooser is on screen it imports both windows on a background thread,
|
|
276
|
+
so the first window opens in about a fifth of a second; the matplotlib and scipy
|
|
277
|
+
imports otherwise take several seconds. `gratinglab-gui` and
|
|
278
|
+
`gratinglab-metrology-gui` open one window directly.
|
|
285
279
|
|
|
286
280
|
The windows are built with Qt (PySide6), so `pip install "gratinglab[gui]"` needs no
|
|
287
281
|
system toolkit to be installed first. PySide6 is licensed under the LGPLv3 and is an
|
|
@@ -323,8 +317,7 @@ hides it), and the window has one tab for each task:
|
|
|
323
317
|
*Four solvers on one problem: a 40 nm gold sinusoid, 5% deep, at 80° incidence,
|
|
324
318
|
unpolarized. The lower panel is each solver's difference from the C-method on a
|
|
325
319
|
log scale: the integral method and RCWA agree with it to within 2e-6, and the
|
|
326
|
-
scalar one is off by up to 0.018
|
|
327
|
-
methods, not a verification of any of them; see Status.*
|
|
320
|
+
scalar one is off by up to 0.018.*
|
|
328
321
|
- **Setup:** the material library, showing which optical constants are installed, the
|
|
329
322
|
range each covers, where each came from, and how to add others. The coating itself is
|
|
330
323
|
chosen in the geometry dock, because it is a `Problem` field, like the period, and the
|
|
@@ -334,10 +327,10 @@ Each registered solver receives a tab generated from the solver registry, so a
|
|
|
334
327
|
new backend appears in the window once it is registered.
|
|
335
328
|
|
|
336
329
|
The **Help** menu contains the theory pages, rendered with typeset equations and
|
|
337
|
-
tables. It is on every window
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
**Help → About
|
|
330
|
+
tables. It is on every window, including the metrology window, whose results are
|
|
331
|
+
reported in the angles the conventions page defines and whose analysis
|
|
332
|
+
`theory/metrology.md` describes.
|
|
333
|
+
**Help → About gratinglab** names the authors and states which version is running and
|
|
341
334
|
when it was released, so a bug report can say which copy it came from.
|
|
342
335
|
**View → Theme** switches between System (following the operating system), Light,
|
|
343
336
|
Dark, Solarized Light, Solarized Dark and High contrast; the choice is remembered and
|
|
@@ -346,15 +339,13 @@ negative and warm for positive, with each order's colour shown beside it in the
|
|
|
346
339
|
list.
|
|
347
340
|
|
|
348
341
|
A macOS `.app` is built with `python tools/apps.py bundle --app gratinglab`, on macOS
|
|
349
|
-
13 or later, the minimum supported by the PySide6 wheels. That is one `
|
|
350
|
-
opening the chooser
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
is a stub that execs the console script in this checkout's virtualenv rather than a
|
|
342
|
+
13 or later, the minimum supported by the PySide6 wheels. That is one `gratinglab.app`
|
|
343
|
+
opening the chooser; `--app metrology` and `--app efficiency` build bundles that open
|
|
344
|
+
one window directly. `--dest ~/Applications` puts it where Finder will list it. The
|
|
345
|
+
bundle is a stub that execs the console script in this checkout's virtualenv, not a
|
|
354
346
|
frozen application, so it is not portable to another machine; `python tools/apps.py
|
|
355
|
-
check --app gratinglab` reports when that virtualenv has moved
|
|
356
|
-
|
|
357
|
-
gratinglab` regenerates the icon from the artwork in `gratinglab.gui.icon`.
|
|
347
|
+
check --app gratinglab` reports when that virtualenv has moved. `python tools/apps.py
|
|
348
|
+
icon --app gratinglab` regenerates the icon from the artwork in `gratinglab.gui.icon`.
|
|
358
349
|
|
|
359
350
|
## Documentation
|
|
360
351
|
|
|
@@ -465,11 +456,8 @@ separately forbids using the author's or contributors' names to endorse or promo
|
|
|
465
456
|
derived product without prior written permission.
|
|
466
457
|
|
|
467
458
|
**What you do not get.** The software is provided as is, without warranty of any kind,
|
|
468
|
-
and the author is not liable for any use of it.
|
|
469
|
-
|
|
470
|
-
validated on few gratings (see Status): a number this software produces is evidence
|
|
471
|
-
to be checked against another method, not a result to be relied on because a
|
|
472
|
-
computer printed it.
|
|
459
|
+
and the author is not liable for any use of it. The efficiency solvers are young and
|
|
460
|
+
validated on few gratings (see Status).
|
|
473
461
|
|
|
474
462
|
Contributions are accepted under the same licence. A pull request is taken as agreement
|
|
475
463
|
that the contribution may be distributed under BSD-3-Clause.
|
|
@@ -496,9 +484,9 @@ and `Provenance` records what a run actually used.
|
|
|
496
484
|
| `[gui]` | PySide6-Essentials | LGPL-3.0 |
|
|
497
485
|
| `[refractiveindex]` | PyYAML | MIT |
|
|
498
486
|
|
|
499
|
-
A solver-only install is permissive throughout. The `gui` extra
|
|
500
|
-
|
|
501
|
-
|
|
487
|
+
A solver-only install is permissive throughout. The `gui` extra installs PySide6,
|
|
488
|
+
which is LGPL-3.0. PyQt6 is not used because its GPL licence would extend to code
|
|
489
|
+
that imports it.
|
|
502
490
|
Importing an LGPL library dynamically does not change the licence of what you write,
|
|
503
491
|
but redistributing a bundled application that ships Qt inside it brings LGPL
|
|
504
492
|
obligations for that component — chiefly your users' right to substitute their own
|
|
@@ -510,11 +498,11 @@ no such question.
|
|
|
510
498
|
**Optical constant tables.** None are distributed with the package or kept in the
|
|
511
499
|
repository: the suite runs on an invented gold-sized table of its own, and its
|
|
512
500
|
refractiveindex.info reader fixtures are files that site dedicates CC0. A table you
|
|
513
|
-
add is governed by the terms of whoever published it, not by this licence.
|
|
514
|
-
|
|
515
|
-
|
|
501
|
+
add is governed by the terms of whoever published it, not by this licence. CXRO states
|
|
502
|
+
no terms at all, and a table exported from another program carries whatever that
|
|
503
|
+
program's terms attach to it.
|
|
516
504
|
[`SOURCES.md`](https://github.com/jamccoy/gratinglab/blob/master/src/gratinglab/materials/data/SOURCES.md)
|
|
517
|
-
records where each kind comes from
|
|
505
|
+
records where each kind of table comes from.
|
|
518
506
|
|
|
519
507
|
**Measurement data.** AFM scans and the reference efficiency corpus are the research
|
|
520
508
|
group's data and are deliberately absent from the repository, as described above under
|
|
@@ -127,8 +127,8 @@ not a free choice.
|
|
|
127
127
|
for example, every ray lies 1.5000° from `+ẑ` and 178.5000° from `ĝ`, so the cone
|
|
128
128
|
opens along `−ĝ` and not along `ĝ`. A drawing that opens it along `ĝ` places every
|
|
129
129
|
ray 180° out. Code that consumes γ only through the scalars `sin γ` / `cos γ` cannot
|
|
130
|
-
detect the difference,
|
|
131
|
-
|
|
130
|
+
detect the difference, so a drawing is the first place it matters (see
|
|
131
|
+
`docs/findings.md`).
|
|
132
132
|
|
|
133
133
|
In operational terms, `k_z = k cos γ` is conserved, and `sin γ = 1` (γ = 90°) is the
|
|
134
134
|
in-plane case. Extreme off-plane mounts have small γ, and the soft-X-ray work uses
|
|
@@ -147,9 +147,8 @@ the angles it uses, and all three resolve to the same internal representation.
|
|
|
147
147
|
$$\hat{t} = -\hat{d}$$
|
|
148
148
|
|
|
149
149
|
`Profile.height(t)` describes a shape in a normalised parameter `t`. `gratinglab.profiles` does
|
|
150
|
-
not state which physical direction `+t` points in
|
|
151
|
-
|
|
152
|
-
it: `+t` runs along `-d̂`, that is, against the dispersion direction.
|
|
150
|
+
not itself state which physical direction `+t` points in. The wave conventions above
|
|
151
|
+
determine it: `+t` runs along `-d̂`, that is, against the dispersion direction.
|
|
153
152
|
|
|
154
153
|
Two independent derivations give this result.
|
|
155
154
|
|
|
@@ -169,8 +168,7 @@ vectors above give `∫ e^{-iΦ_m(t)} e^{-2πimt} dx/p` when `t ↔ +x`. Substit
|
|
|
169
168
|
`t ↔ -x` maps one integral onto the complex conjugate of the other.
|
|
170
169
|
|
|
171
170
|
No numerical result depends on this choice. Conjugation leaves `|G_m|²`, the only
|
|
172
|
-
quantity any caller consumes, bit-identical
|
|
173
|
-
consistent but unstated for so long. It matters only where a drawing places a facet
|
|
171
|
+
quantity any caller consumes, bit-identical. It matters only where a drawing places a facet
|
|
174
172
|
relative to a ray. If the direction is reversed, the incident beam strikes the
|
|
175
173
|
anti-blaze facet and the blaze arrow leaves through the back of the active facet.
|
|
176
174
|
|
|
@@ -182,9 +180,8 @@ omission is itself the finding. The behaviour is pinned by
|
|
|
182
180
|
`tests/test_geometry.py::TestFacetHandedness`; see also `docs/findings.md`.
|
|
183
181
|
|
|
184
182
|
Not every consumer takes only `|G_m|²`. The integral solver places the curve
|
|
185
|
-
itself,
|
|
186
|
-
|
|
187
|
-
(`solvers/integral/_boundary.py`), and
|
|
183
|
+
itself, at `x = (1 − t) P` (`solvers/integral/_boundary.py`); placing it at
|
|
184
|
+
`x = t P` would solve every asymmetric groove as its mirror image. And
|
|
188
185
|
`tests/test_cross_method.py::TestAgreementOnAnAsymmetricGroove` holds both
|
|
189
186
|
solvers to the same blaze order. Files that run along `+d̂`, PCGrate's `.ggp`
|
|
190
187
|
and the metrology pipeline's `x_norm`, cross into `t` in one place,
|
|
@@ -255,8 +252,7 @@ $$\left|\frac{m\lambda}{p\,\sin\gamma} - \sin\alpha\right| \leq 1$$
|
|
|
255
252
|
which is `|sin β_m| ≤ 1` with `sin β_m` taken from the equation above, and is what
|
|
256
253
|
`geometry.is_propagating(geometry.sin_beta(...))` computes. Mind the sign on
|
|
257
254
|
`sin α`: the mirrored form `|sin α + mλ/(p sin γ)| ≤ 1` describes a different
|
|
258
|
-
mount
|
|
259
|
-
campaign", for what it cost). `tests/test_geometry.py::TestTheDocumentedPropagationTest`
|
|
255
|
+
mount (`findings.md`, "The June 2017 SCIL campaign"). `tests/test_geometry.py::TestTheDocumentedPropagationTest`
|
|
260
256
|
pins the prose and the code together.
|
|
261
257
|
|
|
262
258
|
Orders that fail this condition are evanescent. They are retained in the record with
|
|
@@ -335,9 +331,9 @@ correct counterpart and the other does not:
|
|
|
335
331
|
| renormalise so `Σ_m E_m = 1` | thesis Appendix-D.tex:420 | removed as an error |
|
|
336
332
|
|
|
337
333
|
The two factors differ in their symmetry. Appendix D's `cos β_m / cos α` is asymmetric
|
|
338
|
-
under `α ↔ β_m` and
|
|
339
|
-
|
|
340
|
-
|
|
334
|
+
under `α ↔ β_m` and violates Lorentz reciprocity. Dropping every factor, so that the
|
|
335
|
+
efficiency is the norm-squared Fourier coefficient alone, is also wrong: `O_m` is
|
|
336
|
+
symmetric, so reciprocity is
|
|
341
337
|
unaffected by it, and it is the factor that brings the shallow-groove limit into
|
|
342
338
|
agreement with a theory derived from the boundary condition instead of from a
|
|
343
339
|
transmittance function. See [`theory/scalar.md`](theory/scalar.md) §3 and
|
|
@@ -34,7 +34,7 @@ What it refuses, with `UnsupportedConfiguration`, rather than approximating:
|
|
|
34
34
|
|---|---|
|
|
35
35
|
| an undercut profile | the coordinate `u = y − a(x)` needs `a` to be a function |
|
|
36
36
|
| a vertical facet or sidewall: `Lamellar`, `Blazed(antiblaze_angle=90)`, a `FromProfileData` with two heights at one `t`, or ends that differ in height | `a'` is infinite there; any finite stand-in would be a smoothed facet, the failure `solvers/base.py` names |
|
|
37
|
-
| a wall too steep for the scan: one whose floor (§6, "Steep walls") exceeds the largest truncation accepted, 256 | the answer is wrong at every truncation the solver takes
|
|
37
|
+
| a wall too steep for the scan: one whose floor (§6, "Steep walls") exceeds the largest truncation accepted, 256 | the answer is wrong at every truncation the solver takes (an 88.8° wall at 1.55 nm off-plane gives efficiencies of 11 at N = 128) |
|
|
38
38
|
| a truncation below a steep wall's floor (`ValueError`, naming the floor) | measured wrong by 3.5e-3 to 6e2 there |
|
|
39
39
|
| any `conductivity` other than the two above | as for the integral solver |
|
|
40
40
|
|