gratinglab 0.3.14__tar.gz → 0.3.15__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.14/src/gratinglab.egg-info → gratinglab-0.3.15}/PKG-INFO +1 -1
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/__init__.py +1 -1
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/gui/qt/geometry_window.py +11 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/gui/qt/launcher.py +30 -43
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/metrology/gui/qt/boundary_view.py +31 -11
- {gratinglab-0.3.14 → gratinglab-0.3.15/src/gratinglab.egg-info}/PKG-INFO +1 -1
- {gratinglab-0.3.14 → gratinglab-0.3.15}/tests/test_gui_launcher.py +21 -2
- {gratinglab-0.3.14 → gratinglab-0.3.15}/LICENSE +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/MANIFEST.in +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/README.md +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/docs/conventions.md +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/docs/theory/cmethod.md +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/docs/theory/integral.md +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/docs/theory/metrology.md +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/docs/theory/rcwa.md +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/docs/theory/scalar.md +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/pyproject.toml +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/setup.cfg +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/setup.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/checks.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/compare.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/convergence.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/geometry.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/gui/__init__.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/gui/app.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/gui/camera3d.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/gui/cmethod_options.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/gui/comparison.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/gui/diagram.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/gui/diagram3d.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/gui/docs.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/gui/efficiency_plot.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/gui/failures.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/gui/icon.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/gui/integral_options.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/gui/launcher.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/gui/orders.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/gui/provenance.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/gui/qt/__init__.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/gui/qt/cmethod_tab.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/gui/qt/compare_tab.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/gui/qt/geometry_panel.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/gui/qt/geometry_tab.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/gui/qt/help_menu.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/gui/qt/integral_tab.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/gui/qt/main_window.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/gui/qt/profile_plot_panel.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/gui/qt/provenance_panel.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/gui/qt/rcwa_tab.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/gui/qt/recent.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/gui/qt/scalar_tab.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/gui/qt/scene3d_panel.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/gui/qt/setup_tab.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/gui/qt/sizing.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/gui/qt/theming.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/gui/qt/theory_viewer.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/gui/qt/worker.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/gui/rcwa_options.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/gui/richtext.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/gui/scalar_options.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/gui/state.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/gui/theme.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/illumination.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/io/__init__.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/io/boundary.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/io/efficiency_table.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/io/ggp.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/io/txl.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/materials/__init__.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/materials/data/SOURCES.md +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/materials/fresnel.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/materials/optical.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/materials/refractiveindex.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/materials/typical.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/measured.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/metrology/__init__.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/metrology/_analyzer_summary.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/metrology/analyzer.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/metrology/boundary/__init__.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/metrology/boundary/average.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/metrology/boundary/cross_section.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/metrology/boundary/pipeline.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/metrology/boundary/swaths.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/metrology/cli.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/metrology/config.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/metrology/core/__init__.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/metrology/core/analysis.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/metrology/core/image_flatten.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/metrology/core/orientation.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/metrology/core/processing.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/metrology/core/region_mask.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/metrology/core/scars.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/metrology/core/tip.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/metrology/data/__init__.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/metrology/data/aggregation.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/metrology/gui/__init__.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/metrology/gui/icon.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/metrology/gui/qt/__init__.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/metrology/gui/qt/app.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/metrology/gui/qt/canvas.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/metrology/gui/qt/efficiency_dialog.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/metrology/gui/qt/import_view.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/metrology/gui/qt/layout.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/metrology/gui/qt/main_window.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/metrology/gui/qt/swath_dialog.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/metrology/gui/qt/wiki_view.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/metrology/gui/qt/worker.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/metrology/gui/state.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/metrology/io/__init__.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/metrology/io/file_io.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/metrology/io/ibw.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/metrology/io/metrics.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/metrology/io/sem.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/metrology/io/spm.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/metrology/settings.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/metrology/stats/__init__.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/metrology/stats/analysis.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/metrology/stats/icc.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/metrology/visualization/__init__.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/metrology/visualization/diagnostics.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/metrology/visualization/profiles.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/metrology/visualization/statistics.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/metrology/wiki/__init__.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/metrology/wiki/facet-fitting.md +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/metrology/wiki/file-formats.md +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/metrology/wiki/flattening.md +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/metrology/wiki/groove-orientation.md +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/metrology/wiki/icc-correction.md +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/metrology/wiki/overview.md +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/metrology/wiki/reading-outputs.md +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/metrology/wiki/row-groups.md +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/metrology/wiki/scars-and-masking.md +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/metrology/wiki/swath-statistics.md +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/metrology/wiki/tip-correction.md +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/metrology/workflows.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/problem.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/profiles/__init__.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/profiles/_base.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/profiles/_polyline.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/profiles/_shapes.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/profiles/_trapezoid.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/profiles/_types.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/resolution.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/result.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/solvers/__init__.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/solvers/_conditioning.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/solvers/_execution.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/solvers/_scalar_groove.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/solvers/base.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/solvers/cmethod/__init__.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/solvers/cmethod/_core.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/solvers/cmethod/_series.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/solvers/integral/__init__.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/solvers/integral/_boundary.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/solvers/integral/_core.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/solvers/integral/_finite.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/solvers/integral/_greens.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/solvers/integral/_kernels.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/solvers/integral/_nystrom.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/solvers/rcwa/__init__.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/solvers/rcwa/_core.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/solvers/rcwa/_stack.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/solvers/scalar.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab.egg-info/SOURCES.txt +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab.egg-info/dependency_links.txt +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab.egg-info/entry_points.txt +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab.egg-info/requires.txt +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab.egg-info/top_level.txt +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/tests/test_changelog.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/tests/test_checks.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/tests/test_cmethod.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/tests/test_compare.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/tests/test_conditioning.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/tests/test_convergence.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/tests/test_cross_method.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/tests/test_efficiency_table.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/tests/test_four_way.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/tests/test_fresnel.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/tests/test_geometry.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/tests/test_ggp.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/tests/test_gui_camera3d.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/tests/test_gui_cmethod_options.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/tests/test_gui_cmethod_tab.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/tests/test_gui_compare_tab.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/tests/test_gui_diagram.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/tests/test_gui_diagram3d.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/tests/test_gui_docs.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/tests/test_gui_geometry_window.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/tests/test_gui_help_menu.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/tests/test_gui_integral_options.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/tests/test_gui_mathtext.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/tests/test_gui_orders.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/tests/test_gui_polish.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/tests/test_gui_provenance.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/tests/test_gui_provenance_panel.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/tests/test_gui_qt.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/tests/test_gui_rcwa_options.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/tests/test_gui_richtext.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/tests/test_gui_scalar_options.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/tests/test_gui_state.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/tests/test_gui_theme.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/tests/test_illumination.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/tests/test_integral_core.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/tests/test_integral_corpus.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/tests/test_integral_finite.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/tests/test_integral_graded.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/tests/test_integral_greens.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/tests/test_integral_kernels.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/tests/test_integral_measured_polygon.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/tests/test_integral_operators.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/tests/test_integral_solver.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/tests/test_io_boundary.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/tests/test_littrow.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/tests/test_materials.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/tests/test_measured.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/tests/test_perturbation.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/tests/test_profiles.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/tests/test_rayleigh_anomaly.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/tests/test_rcwa.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/tests/test_rcwa_benchmarks.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/tests/test_refractiveindex.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/tests/test_resolution.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/tests/test_result.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/tests/test_scalar.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/tests/test_solver_conformance.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/tests/test_solver_execution.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/tests/test_solver_progress.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/tests/test_trapezoidal_solvers.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/tests/test_txl.py +0 -0
- {gratinglab-0.3.14 → gratinglab-0.3.15}/tests/test_typical.py +0 -0
|
@@ -22,7 +22,7 @@ from .measured import MeasuredEfficiency, MeasurementProvenance
|
|
|
22
22
|
from .resolution import ResolvingPower, resolving_power
|
|
23
23
|
from .result import EfficiencyScan, OrderEfficiency, Provenance
|
|
24
24
|
|
|
25
|
-
__version__ = "0.3.
|
|
25
|
+
__version__ = "0.3.15"
|
|
26
26
|
|
|
27
27
|
#: The day this version was released, ISO 8601. It sits beside the version
|
|
28
28
|
#: rather than being read from CHANGELOG.md at run time because the changelog
|
|
@@ -161,6 +161,17 @@ class GeometryWindow(QMainWindow):
|
|
|
161
161
|
return
|
|
162
162
|
self.geometry_tab.show_geometry(build(form))
|
|
163
163
|
|
|
164
|
+
def open_boundary(self, path) -> None:
|
|
165
|
+
"""Load a boundary profile file as the grating, as if chosen by hand.
|
|
166
|
+
|
|
167
|
+
The metrology window's "Send to geometry window" calls this with a
|
|
168
|
+
gratinglab ``.json``, so the measured period arrives with the shape.
|
|
169
|
+
Loading it redraws, and nothing is solved, since nothing here can.
|
|
170
|
+
"""
|
|
171
|
+
self.geometry.load_boundary_file(path)
|
|
172
|
+
if not self.geometry_dock.isVisible():
|
|
173
|
+
self.geometry_dock.show()
|
|
174
|
+
|
|
164
175
|
def send_to_efficiency(self):
|
|
165
176
|
"""Copy this geometry into the efficiency window, and return that window.
|
|
166
177
|
|
|
@@ -26,8 +26,6 @@ from PySide6.QtCore import Qt
|
|
|
26
26
|
from PySide6.QtGui import QKeySequence
|
|
27
27
|
from PySide6.QtWidgets import (
|
|
28
28
|
QApplication,
|
|
29
|
-
QFrame,
|
|
30
|
-
QHBoxLayout,
|
|
31
29
|
QLabel,
|
|
32
30
|
QMenuBar,
|
|
33
31
|
QPushButton,
|
|
@@ -63,6 +61,13 @@ SWITCH_MENU_TITLE = "&Go"
|
|
|
63
61
|
_OPEN_WINDOWS: list[QWidget] = []
|
|
64
62
|
|
|
65
63
|
|
|
64
|
+
#: The toolbox's width, and its buttons' height. Wide enough for the
|
|
65
|
+
#: sentence to wrap to three lines and the longest title to sit in its
|
|
66
|
+
#: button with room either side; a toolbox wider than this crowds the
|
|
67
|
+
#: windows it sits beside.
|
|
68
|
+
_TOOLBOX_WIDTH = 260
|
|
69
|
+
_BUTTON_HEIGHT = 34
|
|
70
|
+
|
|
66
71
|
#: The chooser, kept so that "Main Menu" shows the same one rather than a
|
|
67
72
|
#: second copy. Closing a window does not destroy it while a reference is
|
|
68
73
|
#: held, so this one can be shown again after it was closed.
|
|
@@ -235,7 +240,12 @@ def _either(items):
|
|
|
235
240
|
|
|
236
241
|
|
|
237
242
|
class LauncherWindow(QWidget):
|
|
238
|
-
"""A
|
|
243
|
+
"""A compact toolbox: one sentence, and a button per window.
|
|
244
|
+
|
|
245
|
+
Kept small because it stays open beside the windows, as Gwiddion's
|
|
246
|
+
toolbox does. What each window is for, and the command that opens it
|
|
247
|
+
directly, are in its button's tooltip; the sentence names every window
|
|
248
|
+
in a line, so none of them, the AFM half least of all, can be missed.
|
|
239
249
|
|
|
240
250
|
It carries the same View and Help menus the windows do, since the theme
|
|
241
251
|
is a setting for the whole application and not for whichever window
|
|
@@ -254,42 +264,28 @@ class LauncherWindow(QWidget):
|
|
|
254
264
|
self.setWindowTitle("gratinglab")
|
|
255
265
|
|
|
256
266
|
layout = QVBoxLayout(self)
|
|
257
|
-
layout.setContentsMargins(
|
|
258
|
-
layout.setSpacing(
|
|
267
|
+
layout.setContentsMargins(12, 8, 12, 12)
|
|
268
|
+
layout.setSpacing(6)
|
|
259
269
|
layout.setMenuBar(self._build_menu())
|
|
260
270
|
|
|
261
|
-
heading = QLabel("gratinglab")
|
|
262
|
-
font = heading.font()
|
|
263
|
-
font.setPointSize(font.pointSize() + 8)
|
|
264
|
-
font.setBold(True)
|
|
265
|
-
heading.setFont(font)
|
|
266
|
-
layout.addWidget(heading)
|
|
267
|
-
|
|
268
271
|
opening = _either([m.summary for m in MODES if m.summary])
|
|
269
272
|
# Only the first letter: str.capitalize() would lower "AFM" too.
|
|
270
273
|
subtitle = QLabel(opening[:1].upper() + opening[1:] + ".")
|
|
271
274
|
subtitle.setWordWrap(True)
|
|
272
275
|
subtitle.setStyleSheet("color: palette(mid);")
|
|
276
|
+
subtitle.setToolTip(
|
|
277
|
+
"The Go menu in each window switches to another window or back "
|
|
278
|
+
"to this one, and closing this one closes them all."
|
|
279
|
+
)
|
|
273
280
|
layout.addWidget(subtitle)
|
|
281
|
+
layout.addSpacing(4)
|
|
274
282
|
|
|
275
283
|
self.buttons = {}
|
|
276
284
|
for chosen in MODES:
|
|
277
|
-
layout.addWidget(self.
|
|
285
|
+
layout.addWidget(self._button(chosen))
|
|
278
286
|
|
|
279
287
|
layout.addStretch(1)
|
|
280
|
-
|
|
281
|
-
hint = QLabel(
|
|
282
|
-
"The <b>Go</b> menu in each window switches to another window or "
|
|
283
|
-
"back to this one. To open a window directly, run "
|
|
284
|
-
+ _either([f"<code>{m.script}</code>" for m in MODES])
|
|
285
|
-
+ "."
|
|
286
|
-
)
|
|
287
|
-
hint.setWordWrap(True)
|
|
288
|
-
hint.setTextFormat(Qt.RichText)
|
|
289
|
-
hint.setStyleSheet("color: palette(mid);")
|
|
290
|
-
layout.addWidget(hint)
|
|
291
|
-
|
|
292
|
-
self.setMinimumWidth(460)
|
|
288
|
+
self.setFixedWidth(_TOOLBOX_WIDTH)
|
|
293
289
|
|
|
294
290
|
def _build_menu(self):
|
|
295
291
|
"""View > Theme and Help, held on the instance and returned.
|
|
@@ -315,29 +311,20 @@ class LauncherWindow(QWidget):
|
|
|
315
311
|
self._help_menu = install_help_menu(self, self._menu_bar)
|
|
316
312
|
return self._menu_bar
|
|
317
313
|
|
|
318
|
-
def
|
|
319
|
-
"""One mode
|
|
320
|
-
frame = QFrame()
|
|
321
|
-
frame.setFrameShape(QFrame.StyledPanel)
|
|
322
|
-
inner = QVBoxLayout(frame)
|
|
323
|
-
inner.setContentsMargins(16, 14, 16, 14)
|
|
324
|
-
inner.setSpacing(6)
|
|
325
|
-
|
|
326
|
-
row = QHBoxLayout()
|
|
314
|
+
def _button(self, chosen):
|
|
315
|
+
"""One mode's button, with what it is for and its command as a tooltip."""
|
|
327
316
|
button = QPushButton(chosen.title)
|
|
328
317
|
button.setDefault(chosen is MODES[0])
|
|
329
318
|
button.setSizePolicy(QSizePolicy.Expanding, QSizePolicy.Fixed)
|
|
319
|
+
button.setMinimumHeight(_BUTTON_HEIGHT)
|
|
320
|
+
button.setToolTip(
|
|
321
|
+
f"<p>{chosen.blurb}</p>"
|
|
322
|
+
f"<p>To open it directly, run <code>{chosen.script}</code>.</p>"
|
|
323
|
+
)
|
|
330
324
|
button.clicked.connect(partial(self.choose, chosen))
|
|
331
325
|
button.setObjectName(f"mode-{chosen.key}")
|
|
332
|
-
row.addWidget(button)
|
|
333
|
-
inner.addLayout(row)
|
|
334
|
-
|
|
335
|
-
blurb = QLabel(chosen.blurb)
|
|
336
|
-
blurb.setWordWrap(True)
|
|
337
|
-
inner.addWidget(blurb)
|
|
338
|
-
|
|
339
326
|
self.buttons[chosen.key] = button
|
|
340
|
-
return
|
|
327
|
+
return button
|
|
341
328
|
|
|
342
329
|
def choose(self, chosen):
|
|
343
330
|
"""Open a mode's window, or raise it if it is open, and stay open.
|
|
@@ -163,6 +163,16 @@ class BoundaryView(QWidget):
|
|
|
163
163
|
self.send_btn.clicked.connect(self.send_to_efficiency)
|
|
164
164
|
layout.addWidget(self.send_btn)
|
|
165
165
|
|
|
166
|
+
# The same hand-over, to the window that draws the grating without
|
|
167
|
+
# solving: a look at the measured groove in 3D before any solve.
|
|
168
|
+
self.geometry_btn = QPushButton("Send to geometry window")
|
|
169
|
+
self.geometry_btn.setEnabled(False)
|
|
170
|
+
self.geometry_btn.setToolTip(
|
|
171
|
+
"Open this groove in the geometry window, with the period this\n"
|
|
172
|
+
"scan measured, to see it and its beams before solving anything.")
|
|
173
|
+
self.geometry_btn.clicked.connect(self.send_to_geometry)
|
|
174
|
+
layout.addWidget(self.geometry_btn)
|
|
175
|
+
|
|
166
176
|
self.swaths_btn = QPushButton("Swath statistics…")
|
|
167
177
|
self.swaths_btn.setEnabled(False)
|
|
168
178
|
self.swaths_btn.setToolTip(
|
|
@@ -343,10 +353,11 @@ class BoundaryView(QWidget):
|
|
|
343
353
|
self._show_placeholder(self._placeholder)
|
|
344
354
|
|
|
345
355
|
def _set_actions_enabled(self, enabled: bool) -> None:
|
|
346
|
-
"""
|
|
356
|
+
"""Every action needs only a profile, so they are enabled together."""
|
|
347
357
|
self.export_btn.setEnabled(enabled)
|
|
348
358
|
self.efficiency_btn.setEnabled(enabled)
|
|
349
359
|
self.send_btn.setEnabled(enabled)
|
|
360
|
+
self.geometry_btn.setEnabled(enabled)
|
|
350
361
|
self.swaths_btn.setEnabled(enabled)
|
|
351
362
|
|
|
352
363
|
# ── Out to a solver ──────────────────────────────────────────────────────
|
|
@@ -450,26 +461,35 @@ class BoundaryView(QWidget):
|
|
|
450
461
|
return path, metrics_path
|
|
451
462
|
|
|
452
463
|
def send_to_efficiency(self):
|
|
453
|
-
"""Open this groove in the main efficiency window, period included.
|
|
464
|
+
"""Open this groove in the main efficiency window, period included."""
|
|
465
|
+
return self._send("efficiency", "Efficiency window")
|
|
466
|
+
|
|
467
|
+
def send_to_geometry(self):
|
|
468
|
+
"""Open this groove in the geometry window, period included."""
|
|
469
|
+
return self._send("geometry", "Geometry window")
|
|
470
|
+
|
|
471
|
+
def _send(self, key, name):
|
|
472
|
+
"""Hand this groove to the window a mode names, and return that window.
|
|
454
473
|
|
|
455
474
|
The groove is written to a gratinglab .json in the temporary directory
|
|
456
|
-
first, because
|
|
457
|
-
|
|
458
|
-
|
|
475
|
+
first, because both windows' forms take a profile file. That also
|
|
476
|
+
leaves the user a file the period travels with, should they want to
|
|
477
|
+
keep it. The window is the one the Go menu opens
|
|
459
478
|
(:func:`gratinglab.gui.qt.launcher.open_window`), so sending and
|
|
460
|
-
switching never leave two
|
|
479
|
+
switching never leave two of one window open. Both windows take the
|
|
480
|
+
file through ``open_boundary``.
|
|
461
481
|
"""
|
|
462
482
|
if self._profile is None:
|
|
463
|
-
return
|
|
483
|
+
return None
|
|
464
484
|
try:
|
|
465
485
|
from gratinglab.gui.launcher import mode
|
|
466
486
|
from gratinglab.gui.qt.launcher import open_window
|
|
467
487
|
except ImportError as exc:
|
|
468
488
|
QMessageBox.warning(
|
|
469
|
-
self, "
|
|
470
|
-
f"The
|
|
489
|
+
self, f"{name} unavailable",
|
|
490
|
+
f"The {name.lower()} could not be loaded:\n{exc}\n\n"
|
|
471
491
|
'It needs the gui extra: pip install "gratinglab[gui]"')
|
|
472
|
-
return
|
|
492
|
+
return None
|
|
473
493
|
|
|
474
494
|
import tempfile
|
|
475
495
|
|
|
@@ -478,6 +498,6 @@ class BoundaryView(QWidget):
|
|
|
478
498
|
os.makedirs(folder, exist_ok=True)
|
|
479
499
|
path, _ = self.write_profile(os.path.join(folder, f"{stem}_boundary.json"))
|
|
480
500
|
|
|
481
|
-
window = open_window(mode(
|
|
501
|
+
window = open_window(mode(key))
|
|
482
502
|
window.open_boundary(path)
|
|
483
503
|
return window
|
|
@@ -253,8 +253,27 @@ class TestTheChooser:
|
|
|
253
253
|
assert ("Measure a grating's grooves from an AFM scan, look at its "
|
|
254
254
|
"geometry, compute its diffraction efficiency, or plan how to "
|
|
255
255
|
"rule it.") in shown
|
|
256
|
-
|
|
257
|
-
|
|
256
|
+
tips = ' '.join(w.toolTip() for w in
|
|
257
|
+
[*window.findChildren(QLabel), *window.buttons.values()])
|
|
258
|
+
assert 'another window' in tips and 'the other window' not in tips
|
|
259
|
+
assert '<code>gratinglab-fab</code>' in window.buttons['fabrication'].toolTip()
|
|
260
|
+
|
|
261
|
+
def test_every_button_says_what_it_opens(self, qtbot):
|
|
262
|
+
"""The blurbs left the face of the toolbox for the tooltips; they
|
|
263
|
+
must not have left altogether."""
|
|
264
|
+
window = qt_launcher.LauncherWindow()
|
|
265
|
+
qtbot.addWidget(window)
|
|
266
|
+
for chosen in MODES:
|
|
267
|
+
tip = window.buttons[chosen.key].toolTip()
|
|
268
|
+
assert chosen.blurb in tip and f'<code>{chosen.script}</code>' in tip
|
|
269
|
+
|
|
270
|
+
def test_it_is_a_compact_toolbox(self, qtbot):
|
|
271
|
+
"""Narrow enough to sit beside the windows it stays open with."""
|
|
272
|
+
window = qt_launcher.LauncherWindow()
|
|
273
|
+
qtbot.addWidget(window)
|
|
274
|
+
window.show()
|
|
275
|
+
assert window.width() <= 300
|
|
276
|
+
assert window.sizeHint().height() <= 320
|
|
258
277
|
|
|
259
278
|
def test_clicking_opens_that_mode_and_the_menu_stays(self, qtbot,
|
|
260
279
|
monkeypatch):
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/metrology/gui/qt/efficiency_dialog.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/metrology/visualization/diagnostics.py
RENAMED
|
File without changes
|
|
File without changes
|
{gratinglab-0.3.14 → gratinglab-0.3.15}/src/gratinglab/metrology/visualization/statistics.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|