Skip to content

tools/beta-variants: planted truth for the 12 beta'' OR variants - #4

Merged
Paullo9 merged 1 commit into
mainfrom
claude/project-thread-hi5p3o
Oct 22, 2026
Merged

Paullo9 merged 1 commit into
mainfrom
claude/project-thread-hi5p3o

Conversation

@Paullo9

@Paullo9 Paullo9 commented Oct 22, 2026

Copy link
Copy Markdown
Contributor

Requested by Paul · project thread

What and why

tools/beta-variants/planted.py (numpy only) builds the 12 orientation-relationship variants of β'' (Mg5Si6, C2/m) in Al as rotation matrices, with closed-form pairwise disorientation angles (only 0/90/120/180°), the OR's reduced angle arctan(2/3) = 33.690068°, and 48 seeded measured orientations with a known nearest variant (DiffractoKit task 35). No orix was run; the Mac pin script adds orix numbers at atol 1e-4. Docs/tools only, no Sources.

Open point for Paul: the OR (a ∥ [3 2 0]Al, b ∥ [001]Al, c ∥ [1 -3 0]Al) is derived from the lattice parameters (105.25° vs β = 105.3°), not copied from Andersen 1998. Check it against the paper or the study's own OR; swapping it means editing R0 only.

Checklist

  • swift test -c release passes (not applicable: no Swift changes)
  • Generator runs clean in the container with python3 -I; internal asserts check 12 variants, 4 per needle axis, unique nearest variant
  • Pinned numbers unchanged (no fixtures touched)
  • README written

Generated by Claude Code

…riants

Rotation matrices, closed-form disorientation angles and seeded measured orientations with known nearest variant.

Done: the generator runs clean with python3 -I and its truth is self-checked. Next: the Mac session adds the upstream pins.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014Wwax7V3YZCErT4fN6kTPy
@Paullo9 Paullo9 self-assigned this Oct 22, 2026
@Paullo9
Paullo9 marked this pull request as ready for review October 22, 2026 07:55
@Paullo9
Paullo9 merged commit e5a0842 into main Oct 22, 2026
2 checks passed
@Paullo9
Paullo9 deleted the claude/project-thread-hi5p3o branch October 22, 2026 07:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants