solprop-gui 0.2.0__py3-none-any.whl

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 (143) hide show
  1. solprop_gui/__init__.py +24 -0
  2. solprop_gui/__main__.py +11 -0
  3. solprop_gui/app.py +67 -0
  4. solprop_gui/classes/__init__.py +9 -0
  5. solprop_gui/classes/catalog.py +854 -0
  6. solprop_gui/classes/problem.py +868 -0
  7. solprop_gui/classes/workflow.py +139 -0
  8. solprop_gui/help/__init__.py +7 -0
  9. solprop_gui/help/figures/antiresonant.svg +70 -0
  10. solprop_gui/help/figures/capillary-averaged.svg +63 -0
  11. solprop_gui/help/figures/capillary-modal.svg +65 -0
  12. solprop_gui/help/figures/cartesian.svg +164 -0
  13. solprop_gui/help/figures/gnlse.svg +64 -0
  14. solprop_gui/help/figures/grin.svg +63 -0
  15. solprop_gui/help/figures/line.svg +84 -0
  16. solprop_gui/help/figures/radial.svg +68 -0
  17. solprop_gui/help/figures/rectangular.svg +63 -0
  18. solprop_gui/help/figures/slab.svg +68 -0
  19. solprop_gui/help/figures/step-index.svg +63 -0
  20. solprop_gui/help/figures.py +106 -0
  21. solprop_gui/help/guide/analysis.md +96 -0
  22. solprop_gui/help/guide/classes.md +94 -0
  23. solprop_gui/help/guide/design.md +59 -0
  24. solprop_gui/help/guide/first-run.md +101 -0
  25. solprop_gui/help/guide/images/capillary-along.png +0 -0
  26. solprop_gui/help/guide/images/capillary-overview.png +0 -0
  27. solprop_gui/help/guide/images/capillary-plane.png +0 -0
  28. solprop_gui/help/guide/images/capillary-run.png +0 -0
  29. solprop_gui/help/guide/images/capillary-sheet.png +0 -0
  30. solprop_gui/help/guide/images/capillary-target.png +0 -0
  31. solprop_gui/help/guide/images/design.png +0 -0
  32. solprop_gui/help/guide/images/filament-overview.png +0 -0
  33. solprop_gui/help/guide/images/filament-sheet.png +0 -0
  34. solprop_gui/help/guide/images/home.png +0 -0
  35. solprop_gui/help/guide/images/plot-menu.png +0 -0
  36. solprop_gui/help/guide/images/scan.png +0 -0
  37. solprop_gui/help/guide/index.md +104 -0
  38. solprop_gui/help/guide/scans.md +55 -0
  39. solprop_gui/help/guide.py +48 -0
  40. solprop_gui/help/manual.py +199 -0
  41. solprop_gui/model/__init__.py +12 -0
  42. solprop_gui/model/compressor.py +407 -0
  43. solprop_gui/model/display.py +501 -0
  44. solprop_gui/model/plot_options.py +343 -0
  45. solprop_gui/model/quantities.py +179 -0
  46. solprop_gui/model/recipe.py +473 -0
  47. solprop_gui/model/scans.py +288 -0
  48. solprop_gui/model/snippets.py +118 -0
  49. solprop_gui/model/stats_layout.py +115 -0
  50. solprop_gui/model/values.py +195 -0
  51. solprop_gui/model/workspace.py +151 -0
  52. solprop_gui/py.typed +0 -0
  53. solprop_gui/registry/__init__.py +12 -0
  54. solprop_gui/registry/explore.py +481 -0
  55. solprop_gui/registry/pages.py +273 -0
  56. solprop_gui/registry/routes.py +450 -0
  57. solprop_gui/registry/units.py +135 -0
  58. solprop_gui/service/__init__.py +12 -0
  59. solprop_gui/service/beam.py +226 -0
  60. solprop_gui/service/beams.py +257 -0
  61. solprop_gui/service/client.py +398 -0
  62. solprop_gui/service/design.py +362 -0
  63. solprop_gui/service/figures.py +106 -0
  64. solprop_gui/service/handlers.py +709 -0
  65. solprop_gui/service/kernel.py +187 -0
  66. solprop_gui/service/messages.py +210 -0
  67. solprop_gui/service/outbox.py +139 -0
  68. solprop_gui/service/postprocess.py +513 -0
  69. solprop_gui/service/reduce.py +368 -0
  70. solprop_gui/service/remote.py +513 -0
  71. solprop_gui/service/results.py +951 -0
  72. solprop_gui/service/run.py +648 -0
  73. solprop_gui/service/scan_reductions.py +261 -0
  74. solprop_gui/service/server.py +501 -0
  75. solprop_gui/service/sheet.py +1023 -0
  76. solprop_gui/service/states.py +146 -0
  77. solprop_gui/service/waveguide.py +320 -0
  78. solprop_gui/service/worker.py +97 -0
  79. solprop_gui/ui/__init__.py +11 -0
  80. solprop_gui/ui/analyse.py +808 -0
  81. solprop_gui/ui/analysis.py +338 -0
  82. solprop_gui/ui/analysis_pages.py +2954 -0
  83. solprop_gui/ui/assets/chevron.svg +6 -0
  84. solprop_gui/ui/assets/fonts/IBMPlexSans-Medium.ttf +0 -0
  85. solprop_gui/ui/assets/fonts/IBMPlexSans-Regular.ttf +0 -0
  86. solprop_gui/ui/assets/fonts/IBMPlexSans-SemiBold.ttf +0 -0
  87. solprop_gui/ui/assets/fonts/LICENSE.txt +93 -0
  88. solprop_gui/ui/assets/icon/solprop-1024.png +0 -0
  89. solprop_gui/ui/assets/icon/solprop-128.png +0 -0
  90. solprop_gui/ui/assets/icon/solprop-16.png +0 -0
  91. solprop_gui/ui/assets/icon/solprop-24.png +0 -0
  92. solprop_gui/ui/assets/icon/solprop-256.png +0 -0
  93. solprop_gui/ui/assets/icon/solprop-32.png +0 -0
  94. solprop_gui/ui/assets/icon/solprop-48.png +0 -0
  95. solprop_gui/ui/assets/icon/solprop-512.png +0 -0
  96. solprop_gui/ui/assets/icon/solprop-64.png +0 -0
  97. solprop_gui/ui/assets/icon/solprop-compact.svg +19 -0
  98. solprop_gui/ui/assets/icon/solprop.svg +20 -0
  99. solprop_gui/ui/betas.py +245 -0
  100. solprop_gui/ui/bridge.py +258 -0
  101. solprop_gui/ui/design_stage.py +956 -0
  102. solprop_gui/ui/document.py +693 -0
  103. solprop_gui/ui/fields.py +812 -0
  104. solprop_gui/ui/help_window.py +214 -0
  105. solprop_gui/ui/home.py +291 -0
  106. solprop_gui/ui/icons.py +191 -0
  107. solprop_gui/ui/identity.py +230 -0
  108. solprop_gui/ui/launch.py +261 -0
  109. solprop_gui/ui/objects.py +530 -0
  110. solprop_gui/ui/pages.py +436 -0
  111. solprop_gui/ui/pin.py +286 -0
  112. solprop_gui/ui/plot_options.py +439 -0
  113. solprop_gui/ui/postprocess.py +532 -0
  114. solprop_gui/ui/quantity.py +532 -0
  115. solprop_gui/ui/results.py +482 -0
  116. solprop_gui/ui/run_options.py +179 -0
  117. solprop_gui/ui/run_panel.py +767 -0
  118. solprop_gui/ui/scan_editor.py +421 -0
  119. solprop_gui/ui/scan_stage.py +724 -0
  120. solprop_gui/ui/sheet.py +1371 -0
  121. solprop_gui/ui/theme.py +247 -0
  122. solprop_gui/ui/tile_art.py +146 -0
  123. solprop_gui/ui/workflow_window.py +1332 -0
  124. solprop_gui/views/__init__.py +11 -0
  125. solprop_gui/views/compare.py +114 -0
  126. solprop_gui/views/compression.py +146 -0
  127. solprop_gui/views/controls.py +211 -0
  128. solprop_gui/views/cross_section.py +124 -0
  129. solprop_gui/views/live.py +704 -0
  130. solprop_gui/views/page_plots.py +1073 -0
  131. solprop_gui/views/plane.py +650 -0
  132. solprop_gui/views/plotting.py +381 -0
  133. solprop_gui/views/scan_browser.py +149 -0
  134. solprop_gui/views/sparkline.py +131 -0
  135. solprop_gui/views/splitter.py +141 -0
  136. solprop_gui/views/statistics.py +501 -0
  137. solprop_gui-0.2.0.dist-info/METADATA +92 -0
  138. solprop_gui-0.2.0.dist-info/RECORD +143 -0
  139. solprop_gui-0.2.0.dist-info/WHEEL +4 -0
  140. solprop_gui-0.2.0.dist-info/entry_points.txt +2 -0
  141. solprop_gui-0.2.0.dist-info/licenses/LICENSE +674 -0
  142. solprop_gui-0.2.0.dist-info/licenses/LICENSE-CC-BY-4.0.txt +156 -0
  143. solprop_gui-0.2.0.dist-info/licenses/src/solprop_gui/ui/assets/fonts/LICENSE.txt +93 -0
@@ -0,0 +1,139 @@
1
+ # SPDX-FileCopyrightText: 2026 John C. Travers and contributors
2
+ #
3
+ # SPDX-License-Identifier: GPL-3.0-or-later
4
+
5
+ """The route through a simulation: which stages are open and what comes next.
6
+
7
+ Home, then Setup, Run and Analyse (design 5.1). The window asks these rules rather than
8
+ holding its own, so that they are tested without a window.
9
+ """
10
+
11
+ from dataclasses import dataclass
12
+ from enum import StrEnum
13
+
14
+ __all__ = ["Primary", "Progress", "Stage", "primary_action", "stage_open"]
15
+
16
+
17
+ class Stage(StrEnum):
18
+ """Where the window is."""
19
+
20
+ HOME = "home"
21
+ DESIGN = "design"
22
+ SETUP = "setup"
23
+ RUN = "run"
24
+ ANALYSE = "analyse"
25
+ SCAN = "scan"
26
+
27
+
28
+ @dataclass(frozen=True)
29
+ class Progress:
30
+ """How far a simulation has got.
31
+
32
+ Attributes
33
+ ----------
34
+ has_setup : bool
35
+ Whether a setup is open.
36
+ can_run : bool
37
+ Whether solprop accepts it, so that it can run.
38
+ running : bool
39
+ Whether a run is going.
40
+ has_run : bool
41
+ Whether a run has been started in this window.
42
+ has_results : bool
43
+ Whether a results file is open.
44
+ can_resume : bool
45
+ Whether solprop says the last run can be continued, the setup unchanged since.
46
+ """
47
+
48
+ has_setup: bool = False
49
+ can_run: bool = False
50
+ running: bool = False
51
+ has_run: bool = False
52
+ has_results: bool = False
53
+ can_resume: bool = False
54
+
55
+
56
+ @dataclass(frozen=True)
57
+ class Primary:
58
+ """The button at the top right: what comes next.
59
+
60
+ Attributes
61
+ ----------
62
+ action : str
63
+ ``"run"``, ``"resume"`` or ``"stop"``.
64
+ text : str
65
+ What it says.
66
+ enabled : bool
67
+ Whether it can be pressed.
68
+ """
69
+
70
+ action: str
71
+ text: str
72
+ enabled: bool = True
73
+
74
+
75
+ def stage_open(stage: Stage, progress: Progress) -> bool:
76
+ """Say whether a stage can be shown.
77
+
78
+ Parameters
79
+ ----------
80
+ stage : Stage
81
+ The stage.
82
+ progress : Progress
83
+ How far the simulation has got.
84
+
85
+ Returns
86
+ -------
87
+ bool
88
+ Whether its button is enabled.
89
+
90
+ Examples
91
+ --------
92
+ >>> stage_open(Stage.ANALYSE, Progress(has_setup=True))
93
+ False
94
+ >>> stage_open(Stage.RUN, Progress(has_run=True))
95
+ True
96
+ """
97
+ return {
98
+ Stage.HOME: True,
99
+ Stage.DESIGN: True,
100
+ Stage.SETUP: progress.has_setup,
101
+ Stage.RUN: progress.running or progress.has_run,
102
+ Stage.ANALYSE: progress.has_results,
103
+ Stage.SCAN: progress.has_setup,
104
+ }[stage]
105
+
106
+
107
+ def primary_action(progress: Progress) -> Primary:
108
+ """Return the primary button, which is the same on every stage.
109
+
110
+ Parameters
111
+ ----------
112
+ progress : Progress
113
+ How far the simulation has got.
114
+
115
+ Returns
116
+ -------
117
+ Primary
118
+ Stop while a run goes, on any stage; Resume where the last run can go on; Run on
119
+ a setup not yet run; otherwise Rerun.
120
+
121
+ Examples
122
+ --------
123
+ >>> primary_action(Progress(has_setup=True, can_run=True)).text
124
+ 'Run'
125
+ >>> primary_action(Progress(has_setup=True, running=True)).action
126
+ 'stop'
127
+ >>> primary_action(Progress(has_run=True, has_results=True)).text
128
+ 'Rerun'
129
+ >>> primary_action(Progress(has_setup=True)).enabled
130
+ False
131
+ >>> primary_action(Progress(has_setup=True, can_resume=True)).text
132
+ 'Resume'
133
+ """
134
+ if progress.running:
135
+ return Primary("stop", "Stop")
136
+ if progress.can_resume:
137
+ return Primary("resume", "Resume")
138
+ text = "Rerun" if progress.has_run else "Run"
139
+ return Primary("run", text, progress.has_setup and progress.can_run)
@@ -0,0 +1,7 @@
1
+ # SPDX-FileCopyrightText: 2026 John C. Travers and contributors
2
+ #
3
+ # SPDX-License-Identifier: GPL-3.0-or-later
4
+
5
+ """Page help: the short text for each page and its links into the solprop guide."""
6
+
7
+ __all__: list[str] = []
@@ -0,0 +1,70 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!-- SPDX-FileCopyrightText: 2026 John C. Travers and contributors -->
3
+ <!-- SPDX-License-Identifier: GPL-3.0-or-later -->
4
+ <svg xmlns="http://www.w3.org/2000/svg" width="200" height="150" viewBox="0 0 200 150">
5
+ <style>
6
+ svg {
7
+ --ink: #1b1f24;
8
+ --dim: #5b6673;
9
+ --gas-fill: #e9f1fb;
10
+ --glass-fill: #d5e9dc;
11
+ --glass-edge: #2c7a55;
12
+ --core-fill: #cfe0f4;
13
+ --core-edge: #2f5eb0;
14
+ --beam: #b8334f;
15
+ --beam-b: #6f45a6;
16
+ --beam-c: #a96a15;
17
+ }
18
+ @media (prefers-color-scheme: dark) {
19
+ svg {
20
+ --ink: #e7eaef;
21
+ --dim: #9aa5b3;
22
+ --gas-fill: #18222f;
23
+ --glass-fill: #173528;
24
+ --glass-edge: #5cb98a;
25
+ --core-fill: #1d3150;
26
+ --core-edge: #7ba6e8;
27
+ --beam: #ee8ca0;
28
+ --beam-b: #b99ae6;
29
+ --beam-c: #e0a44f;
30
+ }
31
+ }
32
+ .glass { fill: var(--glass-fill); stroke: var(--glass-edge); stroke-width: 2; }
33
+ .gas { fill: var(--gas-fill); stroke: var(--glass-edge); stroke-width: 1.2; }
34
+ .core { fill: var(--core-fill); stroke: var(--core-edge); stroke-width: 1.5; }
35
+ .axis { fill: none; stroke: var(--dim); stroke-width: 1.2; }
36
+ .node { fill: var(--dim); stroke: none; }
37
+ .ring { fill: none; stroke: var(--dim); stroke-width: 1; stroke-dasharray: 3 3; }
38
+ .curve { fill: none; stroke: var(--beam); stroke-width: 2.4; }
39
+ .curve-b { fill: none; stroke: var(--beam-b); stroke-width: 2; }
40
+ .curve-c { fill: none; stroke: var(--beam-c); stroke-width: 2; }
41
+ .label { fill: var(--dim); font-family: sans-serif; font-size: 13px;
42
+ font-style: italic; }
43
+ </style>
44
+ <defs>
45
+ <radialGradient id="spot">
46
+ <stop offset="0" stop-color="var(--beam)" stop-opacity="0.95"/>
47
+ <stop offset="0.55" stop-color="var(--beam)" stop-opacity="0.45"/>
48
+ <stop offset="1" stop-color="var(--beam)" stop-opacity="0"/>
49
+ </radialGradient>
50
+ <radialGradient id="graded">
51
+ <stop offset="0" stop-color="var(--core-edge)" stop-opacity="0.75"/>
52
+ <stop offset="1" stop-color="var(--core-edge)" stop-opacity="0"/>
53
+ </radialGradient>
54
+ <linearGradient id="band" x1="0" y1="0" x2="0" y2="1">
55
+ <stop offset="0" stop-color="var(--beam)" stop-opacity="0"/>
56
+ <stop offset="0.5" stop-color="var(--beam)" stop-opacity="0.9"/>
57
+ <stop offset="1" stop-color="var(--beam)" stop-opacity="0"/>
58
+ </linearGradient>
59
+ </defs>
60
+ <circle class="glass" cx="100" cy="75" r="70"/>
61
+ <circle class="gas" cx="100" cy="75" r="62"/>
62
+ <circle class="glass" cx="100.0" cy="122.0" r="13"/>
63
+ <circle class="glass" cx="63.3" cy="104.3" r="13"/>
64
+ <circle class="glass" cx="54.2" cy="64.5" r="13"/>
65
+ <circle class="glass" cx="79.6" cy="32.7" r="13"/>
66
+ <circle class="glass" cx="120.4" cy="32.7" r="13"/>
67
+ <circle class="glass" cx="145.8" cy="64.5" r="13"/>
68
+ <circle class="glass" cx="136.7" cy="104.3" r="13"/>
69
+ <ellipse cx="100" cy="75" rx="26" ry="26" fill="url(#spot)"/>
70
+ </svg>
@@ -0,0 +1,63 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!-- SPDX-FileCopyrightText: 2026 John C. Travers and contributors -->
3
+ <!-- SPDX-License-Identifier: GPL-3.0-or-later -->
4
+ <svg xmlns="http://www.w3.org/2000/svg" width="200" height="150" viewBox="0 0 200 150">
5
+ <style>
6
+ svg {
7
+ --ink: #1b1f24;
8
+ --dim: #5b6673;
9
+ --gas-fill: #e9f1fb;
10
+ --glass-fill: #d5e9dc;
11
+ --glass-edge: #2c7a55;
12
+ --core-fill: #cfe0f4;
13
+ --core-edge: #2f5eb0;
14
+ --beam: #b8334f;
15
+ --beam-b: #6f45a6;
16
+ --beam-c: #a96a15;
17
+ }
18
+ @media (prefers-color-scheme: dark) {
19
+ svg {
20
+ --ink: #e7eaef;
21
+ --dim: #9aa5b3;
22
+ --gas-fill: #18222f;
23
+ --glass-fill: #173528;
24
+ --glass-edge: #5cb98a;
25
+ --core-fill: #1d3150;
26
+ --core-edge: #7ba6e8;
27
+ --beam: #ee8ca0;
28
+ --beam-b: #b99ae6;
29
+ --beam-c: #e0a44f;
30
+ }
31
+ }
32
+ .glass { fill: var(--glass-fill); stroke: var(--glass-edge); stroke-width: 2; }
33
+ .gas { fill: var(--gas-fill); stroke: var(--glass-edge); stroke-width: 1.2; }
34
+ .core { fill: var(--core-fill); stroke: var(--core-edge); stroke-width: 1.5; }
35
+ .axis { fill: none; stroke: var(--dim); stroke-width: 1.2; }
36
+ .node { fill: var(--dim); stroke: none; }
37
+ .ring { fill: none; stroke: var(--dim); stroke-width: 1; stroke-dasharray: 3 3; }
38
+ .curve { fill: none; stroke: var(--beam); stroke-width: 2.4; }
39
+ .curve-b { fill: none; stroke: var(--beam-b); stroke-width: 2; }
40
+ .curve-c { fill: none; stroke: var(--beam-c); stroke-width: 2; }
41
+ .label { fill: var(--dim); font-family: sans-serif; font-size: 13px;
42
+ font-style: italic; }
43
+ </style>
44
+ <defs>
45
+ <radialGradient id="spot">
46
+ <stop offset="0" stop-color="var(--beam)" stop-opacity="0.95"/>
47
+ <stop offset="0.55" stop-color="var(--beam)" stop-opacity="0.45"/>
48
+ <stop offset="1" stop-color="var(--beam)" stop-opacity="0"/>
49
+ </radialGradient>
50
+ <radialGradient id="graded">
51
+ <stop offset="0" stop-color="var(--core-edge)" stop-opacity="0.75"/>
52
+ <stop offset="1" stop-color="var(--core-edge)" stop-opacity="0"/>
53
+ </radialGradient>
54
+ <linearGradient id="band" x1="0" y1="0" x2="0" y2="1">
55
+ <stop offset="0" stop-color="var(--beam)" stop-opacity="0"/>
56
+ <stop offset="0.5" stop-color="var(--beam)" stop-opacity="0.9"/>
57
+ <stop offset="1" stop-color="var(--beam)" stop-opacity="0"/>
58
+ </linearGradient>
59
+ </defs>
60
+ <circle class="glass" cx="100" cy="75" r="64"/>
61
+ <circle class="gas" cx="100" cy="75" r="50"/>
62
+ <ellipse cx="100" cy="75" rx="34" ry="34" fill="url(#spot)"/>
63
+ </svg>
@@ -0,0 +1,65 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!-- SPDX-FileCopyrightText: 2026 John C. Travers and contributors -->
3
+ <!-- SPDX-License-Identifier: GPL-3.0-or-later -->
4
+ <svg xmlns="http://www.w3.org/2000/svg" width="200" height="150" viewBox="0 0 200 150">
5
+ <style>
6
+ svg {
7
+ --ink: #1b1f24;
8
+ --dim: #5b6673;
9
+ --gas-fill: #e9f1fb;
10
+ --glass-fill: #d5e9dc;
11
+ --glass-edge: #2c7a55;
12
+ --core-fill: #cfe0f4;
13
+ --core-edge: #2f5eb0;
14
+ --beam: #b8334f;
15
+ --beam-b: #6f45a6;
16
+ --beam-c: #a96a15;
17
+ }
18
+ @media (prefers-color-scheme: dark) {
19
+ svg {
20
+ --ink: #e7eaef;
21
+ --dim: #9aa5b3;
22
+ --gas-fill: #18222f;
23
+ --glass-fill: #173528;
24
+ --glass-edge: #5cb98a;
25
+ --core-fill: #1d3150;
26
+ --core-edge: #7ba6e8;
27
+ --beam: #ee8ca0;
28
+ --beam-b: #b99ae6;
29
+ --beam-c: #e0a44f;
30
+ }
31
+ }
32
+ .glass { fill: var(--glass-fill); stroke: var(--glass-edge); stroke-width: 2; }
33
+ .gas { fill: var(--gas-fill); stroke: var(--glass-edge); stroke-width: 1.2; }
34
+ .core { fill: var(--core-fill); stroke: var(--core-edge); stroke-width: 1.5; }
35
+ .axis { fill: none; stroke: var(--dim); stroke-width: 1.2; }
36
+ .node { fill: var(--dim); stroke: none; }
37
+ .ring { fill: none; stroke: var(--dim); stroke-width: 1; stroke-dasharray: 3 3; }
38
+ .curve { fill: none; stroke: var(--beam); stroke-width: 2.4; }
39
+ .curve-b { fill: none; stroke: var(--beam-b); stroke-width: 2; }
40
+ .curve-c { fill: none; stroke: var(--beam-c); stroke-width: 2; }
41
+ .label { fill: var(--dim); font-family: sans-serif; font-size: 13px;
42
+ font-style: italic; }
43
+ </style>
44
+ <defs>
45
+ <radialGradient id="spot">
46
+ <stop offset="0" stop-color="var(--beam)" stop-opacity="0.95"/>
47
+ <stop offset="0.55" stop-color="var(--beam)" stop-opacity="0.45"/>
48
+ <stop offset="1" stop-color="var(--beam)" stop-opacity="0"/>
49
+ </radialGradient>
50
+ <radialGradient id="graded">
51
+ <stop offset="0" stop-color="var(--core-edge)" stop-opacity="0.75"/>
52
+ <stop offset="1" stop-color="var(--core-edge)" stop-opacity="0"/>
53
+ </radialGradient>
54
+ <linearGradient id="band" x1="0" y1="0" x2="0" y2="1">
55
+ <stop offset="0" stop-color="var(--beam)" stop-opacity="0"/>
56
+ <stop offset="0.5" stop-color="var(--beam)" stop-opacity="0.9"/>
57
+ <stop offset="1" stop-color="var(--beam)" stop-opacity="0"/>
58
+ </linearGradient>
59
+ </defs>
60
+ <circle class="glass" cx="100" cy="75" r="64"/>
61
+ <circle class="gas" cx="100" cy="75" r="50"/>
62
+ <ellipse cx="100" cy="75" rx="22" ry="22" fill="url(#spot)"/>
63
+ <circle class="curve-b" cx="100" cy="75" r="29"/>
64
+ <circle class="curve-c" cx="100" cy="75" r="40"/>
65
+ </svg>
@@ -0,0 +1,164 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!-- SPDX-FileCopyrightText: 2026 John C. Travers and contributors -->
3
+ <!-- SPDX-License-Identifier: GPL-3.0-or-later -->
4
+ <svg xmlns="http://www.w3.org/2000/svg" width="200" height="150" viewBox="0 0 200 150">
5
+ <style>
6
+ svg {
7
+ --ink: #1b1f24;
8
+ --dim: #5b6673;
9
+ --gas-fill: #e9f1fb;
10
+ --glass-fill: #d5e9dc;
11
+ --glass-edge: #2c7a55;
12
+ --core-fill: #cfe0f4;
13
+ --core-edge: #2f5eb0;
14
+ --beam: #b8334f;
15
+ --beam-b: #6f45a6;
16
+ --beam-c: #a96a15;
17
+ }
18
+ @media (prefers-color-scheme: dark) {
19
+ svg {
20
+ --ink: #e7eaef;
21
+ --dim: #9aa5b3;
22
+ --gas-fill: #18222f;
23
+ --glass-fill: #173528;
24
+ --glass-edge: #5cb98a;
25
+ --core-fill: #1d3150;
26
+ --core-edge: #7ba6e8;
27
+ --beam: #ee8ca0;
28
+ --beam-b: #b99ae6;
29
+ --beam-c: #e0a44f;
30
+ }
31
+ }
32
+ .glass { fill: var(--glass-fill); stroke: var(--glass-edge); stroke-width: 2; }
33
+ .gas { fill: var(--gas-fill); stroke: var(--glass-edge); stroke-width: 1.2; }
34
+ .core { fill: var(--core-fill); stroke: var(--core-edge); stroke-width: 1.5; }
35
+ .axis { fill: none; stroke: var(--dim); stroke-width: 1.2; }
36
+ .node { fill: var(--dim); stroke: none; }
37
+ .ring { fill: none; stroke: var(--dim); stroke-width: 1; stroke-dasharray: 3 3; }
38
+ .curve { fill: none; stroke: var(--beam); stroke-width: 2.4; }
39
+ .curve-b { fill: none; stroke: var(--beam-b); stroke-width: 2; }
40
+ .curve-c { fill: none; stroke: var(--beam-c); stroke-width: 2; }
41
+ .label { fill: var(--dim); font-family: sans-serif; font-size: 13px;
42
+ font-style: italic; }
43
+ </style>
44
+ <defs>
45
+ <radialGradient id="spot">
46
+ <stop offset="0" stop-color="var(--beam)" stop-opacity="0.95"/>
47
+ <stop offset="0.55" stop-color="var(--beam)" stop-opacity="0.45"/>
48
+ <stop offset="1" stop-color="var(--beam)" stop-opacity="0"/>
49
+ </radialGradient>
50
+ <radialGradient id="graded">
51
+ <stop offset="0" stop-color="var(--core-edge)" stop-opacity="0.75"/>
52
+ <stop offset="1" stop-color="var(--core-edge)" stop-opacity="0"/>
53
+ </radialGradient>
54
+ <linearGradient id="band" x1="0" y1="0" x2="0" y2="1">
55
+ <stop offset="0" stop-color="var(--beam)" stop-opacity="0"/>
56
+ <stop offset="0.5" stop-color="var(--beam)" stop-opacity="0.9"/>
57
+ <stop offset="1" stop-color="var(--beam)" stop-opacity="0"/>
58
+ </linearGradient>
59
+ </defs>
60
+ <circle class="node" cx="40" cy="27" r="1.6"/>
61
+ <circle class="node" cx="40" cy="39" r="1.6"/>
62
+ <circle class="node" cx="40" cy="51" r="1.6"/>
63
+ <circle class="node" cx="40" cy="63" r="1.6"/>
64
+ <circle class="node" cx="40" cy="75" r="1.6"/>
65
+ <circle class="node" cx="40" cy="87" r="1.6"/>
66
+ <circle class="node" cx="40" cy="99" r="1.6"/>
67
+ <circle class="node" cx="40" cy="111" r="1.6"/>
68
+ <circle class="node" cx="40" cy="123" r="1.6"/>
69
+ <circle class="node" cx="52" cy="27" r="1.6"/>
70
+ <circle class="node" cx="52" cy="39" r="1.6"/>
71
+ <circle class="node" cx="52" cy="51" r="1.6"/>
72
+ <circle class="node" cx="52" cy="63" r="1.6"/>
73
+ <circle class="node" cx="52" cy="75" r="1.6"/>
74
+ <circle class="node" cx="52" cy="87" r="1.6"/>
75
+ <circle class="node" cx="52" cy="99" r="1.6"/>
76
+ <circle class="node" cx="52" cy="111" r="1.6"/>
77
+ <circle class="node" cx="52" cy="123" r="1.6"/>
78
+ <circle class="node" cx="64" cy="27" r="1.6"/>
79
+ <circle class="node" cx="64" cy="39" r="1.6"/>
80
+ <circle class="node" cx="64" cy="51" r="1.6"/>
81
+ <circle class="node" cx="64" cy="63" r="1.6"/>
82
+ <circle class="node" cx="64" cy="75" r="1.6"/>
83
+ <circle class="node" cx="64" cy="87" r="1.6"/>
84
+ <circle class="node" cx="64" cy="99" r="1.6"/>
85
+ <circle class="node" cx="64" cy="111" r="1.6"/>
86
+ <circle class="node" cx="64" cy="123" r="1.6"/>
87
+ <circle class="node" cx="76" cy="27" r="1.6"/>
88
+ <circle class="node" cx="76" cy="39" r="1.6"/>
89
+ <circle class="node" cx="76" cy="51" r="1.6"/>
90
+ <circle class="node" cx="76" cy="63" r="1.6"/>
91
+ <circle class="node" cx="76" cy="75" r="1.6"/>
92
+ <circle class="node" cx="76" cy="87" r="1.6"/>
93
+ <circle class="node" cx="76" cy="99" r="1.6"/>
94
+ <circle class="node" cx="76" cy="111" r="1.6"/>
95
+ <circle class="node" cx="76" cy="123" r="1.6"/>
96
+ <circle class="node" cx="88" cy="27" r="1.6"/>
97
+ <circle class="node" cx="88" cy="39" r="1.6"/>
98
+ <circle class="node" cx="88" cy="51" r="1.6"/>
99
+ <circle class="node" cx="88" cy="63" r="1.6"/>
100
+ <circle class="node" cx="88" cy="75" r="1.6"/>
101
+ <circle class="node" cx="88" cy="87" r="1.6"/>
102
+ <circle class="node" cx="88" cy="99" r="1.6"/>
103
+ <circle class="node" cx="88" cy="111" r="1.6"/>
104
+ <circle class="node" cx="88" cy="123" r="1.6"/>
105
+ <circle class="node" cx="100" cy="27" r="1.6"/>
106
+ <circle class="node" cx="100" cy="39" r="1.6"/>
107
+ <circle class="node" cx="100" cy="51" r="1.6"/>
108
+ <circle class="node" cx="100" cy="63" r="1.6"/>
109
+ <circle class="node" cx="100" cy="75" r="1.6"/>
110
+ <circle class="node" cx="100" cy="87" r="1.6"/>
111
+ <circle class="node" cx="100" cy="99" r="1.6"/>
112
+ <circle class="node" cx="100" cy="111" r="1.6"/>
113
+ <circle class="node" cx="100" cy="123" r="1.6"/>
114
+ <circle class="node" cx="112" cy="27" r="1.6"/>
115
+ <circle class="node" cx="112" cy="39" r="1.6"/>
116
+ <circle class="node" cx="112" cy="51" r="1.6"/>
117
+ <circle class="node" cx="112" cy="63" r="1.6"/>
118
+ <circle class="node" cx="112" cy="75" r="1.6"/>
119
+ <circle class="node" cx="112" cy="87" r="1.6"/>
120
+ <circle class="node" cx="112" cy="99" r="1.6"/>
121
+ <circle class="node" cx="112" cy="111" r="1.6"/>
122
+ <circle class="node" cx="112" cy="123" r="1.6"/>
123
+ <circle class="node" cx="124" cy="27" r="1.6"/>
124
+ <circle class="node" cx="124" cy="39" r="1.6"/>
125
+ <circle class="node" cx="124" cy="51" r="1.6"/>
126
+ <circle class="node" cx="124" cy="63" r="1.6"/>
127
+ <circle class="node" cx="124" cy="75" r="1.6"/>
128
+ <circle class="node" cx="124" cy="87" r="1.6"/>
129
+ <circle class="node" cx="124" cy="99" r="1.6"/>
130
+ <circle class="node" cx="124" cy="111" r="1.6"/>
131
+ <circle class="node" cx="124" cy="123" r="1.6"/>
132
+ <circle class="node" cx="136" cy="27" r="1.6"/>
133
+ <circle class="node" cx="136" cy="39" r="1.6"/>
134
+ <circle class="node" cx="136" cy="51" r="1.6"/>
135
+ <circle class="node" cx="136" cy="63" r="1.6"/>
136
+ <circle class="node" cx="136" cy="75" r="1.6"/>
137
+ <circle class="node" cx="136" cy="87" r="1.6"/>
138
+ <circle class="node" cx="136" cy="99" r="1.6"/>
139
+ <circle class="node" cx="136" cy="111" r="1.6"/>
140
+ <circle class="node" cx="136" cy="123" r="1.6"/>
141
+ <circle class="node" cx="148" cy="27" r="1.6"/>
142
+ <circle class="node" cx="148" cy="39" r="1.6"/>
143
+ <circle class="node" cx="148" cy="51" r="1.6"/>
144
+ <circle class="node" cx="148" cy="63" r="1.6"/>
145
+ <circle class="node" cx="148" cy="75" r="1.6"/>
146
+ <circle class="node" cx="148" cy="87" r="1.6"/>
147
+ <circle class="node" cx="148" cy="99" r="1.6"/>
148
+ <circle class="node" cx="148" cy="111" r="1.6"/>
149
+ <circle class="node" cx="148" cy="123" r="1.6"/>
150
+ <circle class="node" cx="160" cy="27" r="1.6"/>
151
+ <circle class="node" cx="160" cy="39" r="1.6"/>
152
+ <circle class="node" cx="160" cy="51" r="1.6"/>
153
+ <circle class="node" cx="160" cy="63" r="1.6"/>
154
+ <circle class="node" cx="160" cy="75" r="1.6"/>
155
+ <circle class="node" cx="160" cy="87" r="1.6"/>
156
+ <circle class="node" cx="160" cy="99" r="1.6"/>
157
+ <circle class="node" cx="160" cy="111" r="1.6"/>
158
+ <circle class="node" cx="160" cy="123" r="1.6"/>
159
+ <ellipse cx="100" cy="75" rx="40" ry="30" fill="url(#spot)"/>
160
+ <path class="axis" d="M28,137 L72,137 M65.7,140.0 L72,137 L65.7,134.0"/>
161
+ <text class="label" x="76" y="141">x</text>
162
+ <path class="axis" d="M28,137 L28,93 M31.0,99.3 L28,93 L25.0,99.3"/>
163
+ <text class="label" x="16" y="95">y</text>
164
+ </svg>
@@ -0,0 +1,64 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!-- SPDX-FileCopyrightText: 2026 John C. Travers and contributors -->
3
+ <!-- SPDX-License-Identifier: GPL-3.0-or-later -->
4
+ <svg xmlns="http://www.w3.org/2000/svg" width="200" height="150" viewBox="0 0 200 150">
5
+ <style>
6
+ svg {
7
+ --ink: #1b1f24;
8
+ --dim: #5b6673;
9
+ --gas-fill: #e9f1fb;
10
+ --glass-fill: #d5e9dc;
11
+ --glass-edge: #2c7a55;
12
+ --core-fill: #cfe0f4;
13
+ --core-edge: #2f5eb0;
14
+ --beam: #b8334f;
15
+ --beam-b: #6f45a6;
16
+ --beam-c: #a96a15;
17
+ }
18
+ @media (prefers-color-scheme: dark) {
19
+ svg {
20
+ --ink: #e7eaef;
21
+ --dim: #9aa5b3;
22
+ --gas-fill: #18222f;
23
+ --glass-fill: #173528;
24
+ --glass-edge: #5cb98a;
25
+ --core-fill: #1d3150;
26
+ --core-edge: #7ba6e8;
27
+ --beam: #ee8ca0;
28
+ --beam-b: #b99ae6;
29
+ --beam-c: #e0a44f;
30
+ }
31
+ }
32
+ .glass { fill: var(--glass-fill); stroke: var(--glass-edge); stroke-width: 2; }
33
+ .gas { fill: var(--gas-fill); stroke: var(--glass-edge); stroke-width: 1.2; }
34
+ .core { fill: var(--core-fill); stroke: var(--core-edge); stroke-width: 1.5; }
35
+ .axis { fill: none; stroke: var(--dim); stroke-width: 1.2; }
36
+ .node { fill: var(--dim); stroke: none; }
37
+ .ring { fill: none; stroke: var(--dim); stroke-width: 1; stroke-dasharray: 3 3; }
38
+ .curve { fill: none; stroke: var(--beam); stroke-width: 2.4; }
39
+ .curve-b { fill: none; stroke: var(--beam-b); stroke-width: 2; }
40
+ .curve-c { fill: none; stroke: var(--beam-c); stroke-width: 2; }
41
+ .label { fill: var(--dim); font-family: sans-serif; font-size: 13px;
42
+ font-style: italic; }
43
+ </style>
44
+ <defs>
45
+ <radialGradient id="spot">
46
+ <stop offset="0" stop-color="var(--beam)" stop-opacity="0.95"/>
47
+ <stop offset="0.55" stop-color="var(--beam)" stop-opacity="0.45"/>
48
+ <stop offset="1" stop-color="var(--beam)" stop-opacity="0"/>
49
+ </radialGradient>
50
+ <radialGradient id="graded">
51
+ <stop offset="0" stop-color="var(--core-edge)" stop-opacity="0.75"/>
52
+ <stop offset="1" stop-color="var(--core-edge)" stop-opacity="0"/>
53
+ </radialGradient>
54
+ <linearGradient id="band" x1="0" y1="0" x2="0" y2="1">
55
+ <stop offset="0" stop-color="var(--beam)" stop-opacity="0"/>
56
+ <stop offset="0.5" stop-color="var(--beam)" stop-opacity="0.9"/>
57
+ <stop offset="1" stop-color="var(--beam)" stop-opacity="0"/>
58
+ </linearGradient>
59
+ </defs>
60
+ <rect class="glass" x="10" y="86" width="180" height="40" rx="4"/>
61
+ <rect class="core" x="10" y="100" width="180" height="12"/>
62
+ <path class="curve" d="M20,78.0 L22,78.0 L24,78.0 L26,78.0 L28,78.0 L30,78.0 L32,77.9 L34,77.9 L36,77.9 L38,77.9 L40,77.9 L42,77.8 L44,77.8 L46,77.7 L48,77.7 L50,77.6 L52,77.5 L54,77.4 L56,77.2 L58,77.0 L60,76.8 L62,76.5 L64,76.1 L66,75.6 L68,75.0 L70,74.3 L72,73.4 L74,72.2 L76,70.8 L78,69.0 L80,66.9 L82,64.2 L84,60.9 L86,57.0 L88,52.4 L90,47.1 L92,41.4 L94,35.7 L96,30.7 L98,27.3 L100,26.0 L102,27.3 L104,30.7 L106,35.7 L108,41.4 L110,47.1 L112,52.4 L114,57.0 L116,60.9 L118,64.2 L120,66.9 L122,69.0 L124,70.8 L126,72.2 L128,73.4 L130,74.3 L132,75.0 L134,75.6 L136,76.1 L138,76.5 L140,76.8 L142,77.0 L144,77.2 L146,77.4 L148,77.5 L150,77.6 L152,77.7 L154,77.7 L156,77.8 L158,77.8 L160,77.9 L162,77.9 L164,77.9 L166,77.9 L168,77.9 L170,78.0 L172,78.0 L174,78.0 L176,78.0 L178,78.0 L180,78.0"/>
63
+ <text class="label" x="150" y="40">β(ω), γ</text>
64
+ </svg>
@@ -0,0 +1,63 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!-- SPDX-FileCopyrightText: 2026 John C. Travers and contributors -->
3
+ <!-- SPDX-License-Identifier: GPL-3.0-or-later -->
4
+ <svg xmlns="http://www.w3.org/2000/svg" width="200" height="150" viewBox="0 0 200 150">
5
+ <style>
6
+ svg {
7
+ --ink: #1b1f24;
8
+ --dim: #5b6673;
9
+ --gas-fill: #e9f1fb;
10
+ --glass-fill: #d5e9dc;
11
+ --glass-edge: #2c7a55;
12
+ --core-fill: #cfe0f4;
13
+ --core-edge: #2f5eb0;
14
+ --beam: #b8334f;
15
+ --beam-b: #6f45a6;
16
+ --beam-c: #a96a15;
17
+ }
18
+ @media (prefers-color-scheme: dark) {
19
+ svg {
20
+ --ink: #e7eaef;
21
+ --dim: #9aa5b3;
22
+ --gas-fill: #18222f;
23
+ --glass-fill: #173528;
24
+ --glass-edge: #5cb98a;
25
+ --core-fill: #1d3150;
26
+ --core-edge: #7ba6e8;
27
+ --beam: #ee8ca0;
28
+ --beam-b: #b99ae6;
29
+ --beam-c: #e0a44f;
30
+ }
31
+ }
32
+ .glass { fill: var(--glass-fill); stroke: var(--glass-edge); stroke-width: 2; }
33
+ .gas { fill: var(--gas-fill); stroke: var(--glass-edge); stroke-width: 1.2; }
34
+ .core { fill: var(--core-fill); stroke: var(--core-edge); stroke-width: 1.5; }
35
+ .axis { fill: none; stroke: var(--dim); stroke-width: 1.2; }
36
+ .node { fill: var(--dim); stroke: none; }
37
+ .ring { fill: none; stroke: var(--dim); stroke-width: 1; stroke-dasharray: 3 3; }
38
+ .curve { fill: none; stroke: var(--beam); stroke-width: 2.4; }
39
+ .curve-b { fill: none; stroke: var(--beam-b); stroke-width: 2; }
40
+ .curve-c { fill: none; stroke: var(--beam-c); stroke-width: 2; }
41
+ .label { fill: var(--dim); font-family: sans-serif; font-size: 13px;
42
+ font-style: italic; }
43
+ </style>
44
+ <defs>
45
+ <radialGradient id="spot">
46
+ <stop offset="0" stop-color="var(--beam)" stop-opacity="0.95"/>
47
+ <stop offset="0.55" stop-color="var(--beam)" stop-opacity="0.45"/>
48
+ <stop offset="1" stop-color="var(--beam)" stop-opacity="0"/>
49
+ </radialGradient>
50
+ <radialGradient id="graded">
51
+ <stop offset="0" stop-color="var(--core-edge)" stop-opacity="0.75"/>
52
+ <stop offset="1" stop-color="var(--core-edge)" stop-opacity="0"/>
53
+ </radialGradient>
54
+ <linearGradient id="band" x1="0" y1="0" x2="0" y2="1">
55
+ <stop offset="0" stop-color="var(--beam)" stop-opacity="0"/>
56
+ <stop offset="0.5" stop-color="var(--beam)" stop-opacity="0.9"/>
57
+ <stop offset="1" stop-color="var(--beam)" stop-opacity="0"/>
58
+ </linearGradient>
59
+ </defs>
60
+ <circle class="glass" cx="100" cy="75" r="64"/>
61
+ <circle cx="100" cy="75" r="34" fill="url(#graded)"/>
62
+ <ellipse cx="100" cy="75" rx="20" ry="20" fill="url(#spot)"/>
63
+ </svg>