Skip to content

Added Lattice extraction support for MomentumSpace#145

Merged
Alphaharrius merged 2 commits into
mainfrom
dev/momentum_space_lattice_extract
May 11, 2026
Merged

Added Lattice extraction support for MomentumSpace#145
Alphaharrius merged 2 commits into
mainfrom
dev/momentum_space_lattice_extract

Conversation

@Alphaharrius
Copy link
Copy Markdown
Owner

See #143

Description

MomentumSpace.extract(Lattice) now returns the direct lattice dual to the space's unique reciprocal lattice. This reuses the existing reciprocal-lattice extraction path, so empty spaces and mixed reciprocal lattices still raise the same validation errors. Tests were added to cover successful lattice extraction and the existing failure modes.

MomentumSpace.extract(Lattice) now returns the direct lattice dual to the
space's unique reciprocal lattice. This reuses the existing reciprocal-lattice
extraction path, so empty spaces and mixed reciprocal lattices still raise the
same validation errors. Tests were added to cover successful lattice
extraction and the existing failure modes.
@Alphaharrius Alphaharrius added this to the v0.4.0-qten milestone May 11, 2026
@Alphaharrius Alphaharrius requested a review from eyjafjallac May 11, 2026 08:25
@Alphaharrius Alphaharrius self-assigned this May 11, 2026
@Alphaharrius Alphaharrius added the enhancement New feature or request label May 11, 2026
@Alphaharrius Alphaharrius linked an issue May 11, 2026 that may be closed by this pull request
Copy link
Copy Markdown
Collaborator

@eyjafjallac eyjafjallac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice

@Alphaharrius Alphaharrius merged commit 2385eb0 into main May 11, 2026
1 check passed
@Alphaharrius Alphaharrius deleted the dev/momentum_space_lattice_extract branch May 11, 2026 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow extraction of Lattice from MomentumSpace

2 participants