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.
- {hklforge-0.2.0 → hklforge-0.2.1}/PKG-INFO +1 -1
- {hklforge-0.2.0 → hklforge-0.2.1}/src/hklforge/view/viewer.html +10 -11
- {hklforge-0.2.0 → hklforge-0.2.1}/src/hklforge.egg-info/PKG-INFO +1 -1
- hklforge-0.2.1/src/hklforge.egg-info/scm_version.json +8 -0
- hklforge-0.2.0/src/hklforge.egg-info/scm_version.json +0 -8
- {hklforge-0.2.0 → hklforge-0.2.1}/.githooks/pre-push +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/.github/workflows/ci.yml +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/.github/workflows/publish.yml +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/.gitignore +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/.vscode/settings.json +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/CLAUDE.md +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/LICENSE +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/README.md +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/dev/build_notebooks.py +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/dev/cdp.py +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/dev/check_naz_scan.py +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/dev/check_viewer.py +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/dev/conda-forge/recipe.yaml +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/dev/conda-forge/run_test.py +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/dev/diffcalc_stats.py +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/dev/make_spacegroup_table.py +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/dev/reference/bernina_two_reflections.py +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/dev/reference/check_two_reflections_vs_diffcalc.py +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/dev/reference/compare_ad_hoc_psic.py +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/dev/reference/compare_libhkl_builtins.py +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/dev/reference/compare_libhkl_e6c.py +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/dev/reference/compare_libhkl_planner.py +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/docs/README.md +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/docs/crystallography.md +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/docs/figures/azimuths.png +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/docs/figures/omega.png +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/docs/figures/psi.png +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/docs/figures/psic_circles.png +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/docs/figures/reference_angles.png +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/docs/figures/scattering.png +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/docs/figures/surface_angles.png +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/docs/figures/tau.png +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/docs/make_figures.py +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/docs/modes.md +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/docs/releasing.md +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/docs/verification.md +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/docs/viewer.md +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/docs/virtual_angles.md +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/examples/01_quickstart.ipynb +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/examples/02_virtual_angles.ipynb +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/examples/03_diffcalc_comparison.ipynb +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/examples/04_double_diffraction.ipynb +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/examples/05_custom_geometries.ipynb +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/examples/06_crystallography_planning.ipynb +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/pyproject.toml +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/setup.cfg +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/src/hklforge/__init__.py +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/src/hklforge/crystal/__init__.py +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/src/hklforge/crystal/bz.py +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/src/hklforge/crystal/cell.py +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/src/hklforge/crystal/cif.py +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/src/hklforge/crystal/reflections.py +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/src/hklforge/crystal/spacegroups.json +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/src/hklforge/crystal/spacegroups.py +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/src/hklforge/crystal/structure.py +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/src/hklforge/draw.py +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/src/hklforge/geometries/__init__.py +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/src/hklforge/geometries/e4ch.yml +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/src/hklforge/geometries/fourcv.yml +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/src/hklforge/geometries/k4cv.yml +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/src/hklforge/geometries/k6c.yml +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/src/hklforge/geometries/psic.yml +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/src/hklforge/geometry.py +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/src/hklforge/lattice.py +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/src/hklforge/orient.py +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/src/hklforge/rotation.py +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/src/hklforge/solve.py +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/src/hklforge/view/__init__.py +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/src/hklforge/view/explorer.py +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/src/hklforge/virtual.py +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/src/hklforge.egg-info/SOURCES.txt +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/src/hklforge.egg-info/dependency_links.txt +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/src/hklforge.egg-info/requires.txt +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/src/hklforge.egg-info/scm_file_list.json +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/src/hklforge.egg-info/top_level.txt +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/tests/data/Bi2Se3.cif +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/tests/data/GaAs.cif +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/tests/data/TiO2_rutile.cif +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/tests/test_builtins.py +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/tests/test_bz.py +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/tests/test_crystal.py +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/tests/test_double.py +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/tests/test_forward.py +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/tests/test_frame.py +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/tests/test_orient.py +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/tests/test_rotation.py +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/tests/test_solve_diffcalc.py +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/tests/test_solve_generic.py +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/tests/test_view.py +0 -0
- {hklforge-0.2.0 → hklforge-0.2.1}/tests/test_virtual.py +0 -0
|
@@ -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′, Q = k′ − 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′, Q = k′ − 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′, 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({
|
|
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
|