hklforge 0.2.0__tar.gz → 0.2.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (95) hide show
  1. {hklforge-0.2.0 → hklforge-0.2.1}/PKG-INFO +1 -1
  2. {hklforge-0.2.0 → hklforge-0.2.1}/src/hklforge/view/viewer.html +10 -11
  3. {hklforge-0.2.0 → hklforge-0.2.1}/src/hklforge.egg-info/PKG-INFO +1 -1
  4. hklforge-0.2.1/src/hklforge.egg-info/scm_version.json +8 -0
  5. hklforge-0.2.0/src/hklforge.egg-info/scm_version.json +0 -8
  6. {hklforge-0.2.0 → hklforge-0.2.1}/.githooks/pre-push +0 -0
  7. {hklforge-0.2.0 → hklforge-0.2.1}/.github/workflows/ci.yml +0 -0
  8. {hklforge-0.2.0 → hklforge-0.2.1}/.github/workflows/publish.yml +0 -0
  9. {hklforge-0.2.0 → hklforge-0.2.1}/.gitignore +0 -0
  10. {hklforge-0.2.0 → hklforge-0.2.1}/.vscode/settings.json +0 -0
  11. {hklforge-0.2.0 → hklforge-0.2.1}/CLAUDE.md +0 -0
  12. {hklforge-0.2.0 → hklforge-0.2.1}/LICENSE +0 -0
  13. {hklforge-0.2.0 → hklforge-0.2.1}/README.md +0 -0
  14. {hklforge-0.2.0 → hklforge-0.2.1}/dev/build_notebooks.py +0 -0
  15. {hklforge-0.2.0 → hklforge-0.2.1}/dev/cdp.py +0 -0
  16. {hklforge-0.2.0 → hklforge-0.2.1}/dev/check_naz_scan.py +0 -0
  17. {hklforge-0.2.0 → hklforge-0.2.1}/dev/check_viewer.py +0 -0
  18. {hklforge-0.2.0 → hklforge-0.2.1}/dev/conda-forge/recipe.yaml +0 -0
  19. {hklforge-0.2.0 → hklforge-0.2.1}/dev/conda-forge/run_test.py +0 -0
  20. {hklforge-0.2.0 → hklforge-0.2.1}/dev/diffcalc_stats.py +0 -0
  21. {hklforge-0.2.0 → hklforge-0.2.1}/dev/make_spacegroup_table.py +0 -0
  22. {hklforge-0.2.0 → hklforge-0.2.1}/dev/reference/bernina_two_reflections.py +0 -0
  23. {hklforge-0.2.0 → hklforge-0.2.1}/dev/reference/check_two_reflections_vs_diffcalc.py +0 -0
  24. {hklforge-0.2.0 → hklforge-0.2.1}/dev/reference/compare_ad_hoc_psic.py +0 -0
  25. {hklforge-0.2.0 → hklforge-0.2.1}/dev/reference/compare_libhkl_builtins.py +0 -0
  26. {hklforge-0.2.0 → hklforge-0.2.1}/dev/reference/compare_libhkl_e6c.py +0 -0
  27. {hklforge-0.2.0 → hklforge-0.2.1}/dev/reference/compare_libhkl_planner.py +0 -0
  28. {hklforge-0.2.0 → hklforge-0.2.1}/docs/README.md +0 -0
  29. {hklforge-0.2.0 → hklforge-0.2.1}/docs/crystallography.md +0 -0
  30. {hklforge-0.2.0 → hklforge-0.2.1}/docs/figures/azimuths.png +0 -0
  31. {hklforge-0.2.0 → hklforge-0.2.1}/docs/figures/omega.png +0 -0
  32. {hklforge-0.2.0 → hklforge-0.2.1}/docs/figures/psi.png +0 -0
  33. {hklforge-0.2.0 → hklforge-0.2.1}/docs/figures/psic_circles.png +0 -0
  34. {hklforge-0.2.0 → hklforge-0.2.1}/docs/figures/reference_angles.png +0 -0
  35. {hklforge-0.2.0 → hklforge-0.2.1}/docs/figures/scattering.png +0 -0
  36. {hklforge-0.2.0 → hklforge-0.2.1}/docs/figures/surface_angles.png +0 -0
  37. {hklforge-0.2.0 → hklforge-0.2.1}/docs/figures/tau.png +0 -0
  38. {hklforge-0.2.0 → hklforge-0.2.1}/docs/make_figures.py +0 -0
  39. {hklforge-0.2.0 → hklforge-0.2.1}/docs/modes.md +0 -0
  40. {hklforge-0.2.0 → hklforge-0.2.1}/docs/releasing.md +0 -0
  41. {hklforge-0.2.0 → hklforge-0.2.1}/docs/verification.md +0 -0
  42. {hklforge-0.2.0 → hklforge-0.2.1}/docs/viewer.md +0 -0
  43. {hklforge-0.2.0 → hklforge-0.2.1}/docs/virtual_angles.md +0 -0
  44. {hklforge-0.2.0 → hklforge-0.2.1}/examples/01_quickstart.ipynb +0 -0
  45. {hklforge-0.2.0 → hklforge-0.2.1}/examples/02_virtual_angles.ipynb +0 -0
  46. {hklforge-0.2.0 → hklforge-0.2.1}/examples/03_diffcalc_comparison.ipynb +0 -0
  47. {hklforge-0.2.0 → hklforge-0.2.1}/examples/04_double_diffraction.ipynb +0 -0
  48. {hklforge-0.2.0 → hklforge-0.2.1}/examples/05_custom_geometries.ipynb +0 -0
  49. {hklforge-0.2.0 → hklforge-0.2.1}/examples/06_crystallography_planning.ipynb +0 -0
  50. {hklforge-0.2.0 → hklforge-0.2.1}/pyproject.toml +0 -0
  51. {hklforge-0.2.0 → hklforge-0.2.1}/setup.cfg +0 -0
  52. {hklforge-0.2.0 → hklforge-0.2.1}/src/hklforge/__init__.py +0 -0
  53. {hklforge-0.2.0 → hklforge-0.2.1}/src/hklforge/crystal/__init__.py +0 -0
  54. {hklforge-0.2.0 → hklforge-0.2.1}/src/hklforge/crystal/bz.py +0 -0
  55. {hklforge-0.2.0 → hklforge-0.2.1}/src/hklforge/crystal/cell.py +0 -0
  56. {hklforge-0.2.0 → hklforge-0.2.1}/src/hklforge/crystal/cif.py +0 -0
  57. {hklforge-0.2.0 → hklforge-0.2.1}/src/hklforge/crystal/reflections.py +0 -0
  58. {hklforge-0.2.0 → hklforge-0.2.1}/src/hklforge/crystal/spacegroups.json +0 -0
  59. {hklforge-0.2.0 → hklforge-0.2.1}/src/hklforge/crystal/spacegroups.py +0 -0
  60. {hklforge-0.2.0 → hklforge-0.2.1}/src/hklforge/crystal/structure.py +0 -0
  61. {hklforge-0.2.0 → hklforge-0.2.1}/src/hklforge/draw.py +0 -0
  62. {hklforge-0.2.0 → hklforge-0.2.1}/src/hklforge/geometries/__init__.py +0 -0
  63. {hklforge-0.2.0 → hklforge-0.2.1}/src/hklforge/geometries/e4ch.yml +0 -0
  64. {hklforge-0.2.0 → hklforge-0.2.1}/src/hklforge/geometries/fourcv.yml +0 -0
  65. {hklforge-0.2.0 → hklforge-0.2.1}/src/hklforge/geometries/k4cv.yml +0 -0
  66. {hklforge-0.2.0 → hklforge-0.2.1}/src/hklforge/geometries/k6c.yml +0 -0
  67. {hklforge-0.2.0 → hklforge-0.2.1}/src/hklforge/geometries/psic.yml +0 -0
  68. {hklforge-0.2.0 → hklforge-0.2.1}/src/hklforge/geometry.py +0 -0
  69. {hklforge-0.2.0 → hklforge-0.2.1}/src/hklforge/lattice.py +0 -0
  70. {hklforge-0.2.0 → hklforge-0.2.1}/src/hklforge/orient.py +0 -0
  71. {hklforge-0.2.0 → hklforge-0.2.1}/src/hklforge/rotation.py +0 -0
  72. {hklforge-0.2.0 → hklforge-0.2.1}/src/hklforge/solve.py +0 -0
  73. {hklforge-0.2.0 → hklforge-0.2.1}/src/hklforge/view/__init__.py +0 -0
  74. {hklforge-0.2.0 → hklforge-0.2.1}/src/hklforge/view/explorer.py +0 -0
  75. {hklforge-0.2.0 → hklforge-0.2.1}/src/hklforge/virtual.py +0 -0
  76. {hklforge-0.2.0 → hklforge-0.2.1}/src/hklforge.egg-info/SOURCES.txt +0 -0
  77. {hklforge-0.2.0 → hklforge-0.2.1}/src/hklforge.egg-info/dependency_links.txt +0 -0
  78. {hklforge-0.2.0 → hklforge-0.2.1}/src/hklforge.egg-info/requires.txt +0 -0
  79. {hklforge-0.2.0 → hklforge-0.2.1}/src/hklforge.egg-info/scm_file_list.json +0 -0
  80. {hklforge-0.2.0 → hklforge-0.2.1}/src/hklforge.egg-info/top_level.txt +0 -0
  81. {hklforge-0.2.0 → hklforge-0.2.1}/tests/data/Bi2Se3.cif +0 -0
  82. {hklforge-0.2.0 → hklforge-0.2.1}/tests/data/GaAs.cif +0 -0
  83. {hklforge-0.2.0 → hklforge-0.2.1}/tests/data/TiO2_rutile.cif +0 -0
  84. {hklforge-0.2.0 → hklforge-0.2.1}/tests/test_builtins.py +0 -0
  85. {hklforge-0.2.0 → hklforge-0.2.1}/tests/test_bz.py +0 -0
  86. {hklforge-0.2.0 → hklforge-0.2.1}/tests/test_crystal.py +0 -0
  87. {hklforge-0.2.0 → hklforge-0.2.1}/tests/test_double.py +0 -0
  88. {hklforge-0.2.0 → hklforge-0.2.1}/tests/test_forward.py +0 -0
  89. {hklforge-0.2.0 → hklforge-0.2.1}/tests/test_frame.py +0 -0
  90. {hklforge-0.2.0 → hklforge-0.2.1}/tests/test_orient.py +0 -0
  91. {hklforge-0.2.0 → hklforge-0.2.1}/tests/test_rotation.py +0 -0
  92. {hklforge-0.2.0 → hklforge-0.2.1}/tests/test_solve_diffcalc.py +0 -0
  93. {hklforge-0.2.0 → hklforge-0.2.1}/tests/test_solve_generic.py +0 -0
  94. {hklforge-0.2.0 → hklforge-0.2.1}/tests/test_view.py +0 -0
  95. {hklforge-0.2.0 → hklforge-0.2.1}/tests/test_virtual.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hklforge
3
- Version: 0.2.0
3
+ Version: 0.2.1
4
4
  Summary: Diffractometer angle solvers generated exactly from a declared geometry, with crystallography for planning
5
5
  Author: Henrik Lemke
6
6
  License-Expression: BSD-3-Clause
@@ -120,21 +120,19 @@
120
120
  <button id="reset-btn">Reset all to 0</button>
121
121
  </div>
122
122
 
123
- <div class="section" id="virtual-section">
124
- <h2>Virtual angles</h2>
125
- <label class="chk"><input type="checkbox" id="show-virtual"> draw the virtual angles ticked below</label>
126
- <div id="virtual-list" style="margin-left:4px"></div>
127
- <div class="hint">Each angle is drawn at the sample from the vectors that define it
128
- (unit length, not to the reciprocal scale): the incoming beam k, the outgoing
129
- beam k&prime;, Q = k&prime; &minus; k, the reference vector n, the surface normal s,
130
- and the frames they are measured in. Unfold an entry for its definition.
131
- The values follow the circles live.</div>
132
- </div>
133
-
134
123
  <div class="section">
135
124
  <h2>Display</h2>
136
125
  <label class="chk"><input type="checkbox" id="show-circles" checked> show rotation circles</label>
137
126
  <label class="chk"><input type="checkbox" id="show-axes"> circle axes and names (how the circles are stacked)</label>
127
+ <label class="chk"><input type="checkbox" id="show-virtual"> draw selected virtual angles</label>
128
+ <div id="virtual-box" style="margin-left:18px; display:none">
129
+ <div id="virtual-list"></div>
130
+ <div class="hint">Each angle is drawn at the sample from the vectors that define it
131
+ (unit length, not to the reciprocal scale): the incoming beam k, the outgoing
132
+ beam k&prime;, Q = k&prime; &minus; k, the reference vector n, the surface normal s,
133
+ and the frames they are measured in. Unfold an entry for its definition.
134
+ The values follow the circles live.</div>
135
+ </div>
138
136
  <label class="chk"><input type="checkbox" id="show-recip"> show reciprocal vectors (k, k&prime;, Q)</label>
139
137
  <label class="chk"><input type="checkbox" id="show-cell"> show reciprocal unit cell (a*, b*, c*)</label>
140
138
  <label class="chk"><input type="checkbox" id="show-real-cell"> show real-space unit cell (a, b, c) at the origin</label>
@@ -3208,6 +3206,7 @@ window.HKLFORGE_VIEW = Object.assign({"id": "diff3d", "storage": "hklforge-viewe
3208
3206
  }
3209
3207
 
3210
3208
  function refreshRecip() {
3209
+ document.getElementById("virtual-box").style.display = showVirtualEl.checked ? "" : "none";
3211
3210
  const cm = parseFloat(recScaleEl.value);
3212
3211
  document.getElementById("rec-scale-val").textContent = cm.toFixed(1) + " cm";
3213
3212
  app.setRecip({
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hklforge
3
- Version: 0.2.0
3
+ Version: 0.2.1
4
4
  Summary: Diffractometer angle solvers generated exactly from a declared geometry, with crystallography for planning
5
5
  Author: Henrik Lemke
6
6
  License-Expression: BSD-3-Clause
@@ -0,0 +1,8 @@
1
+ {
2
+ "tag": "0.2.1",
3
+ "distance": 0,
4
+ "node": "g693e753fec8381a6b4751bb32f56333a61e8c681",
5
+ "dirty": false,
6
+ "branch": "HEAD",
7
+ "node_date": "2026-11-17"
8
+ }
@@ -1,8 +0,0 @@
1
- {
2
- "tag": "0.2.0",
3
- "distance": 0,
4
- "node": "g212b939fce192d2a6f451be55ec327102982aec6",
5
- "dirty": false,
6
- "branch": "HEAD",
7
- "node_date": "2026-11-16"
8
- }
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