Skip to content

v0.1.2#2

Merged
IvanChernyshov merged 9 commits into
mainfrom
dev
Jan 26, 2026
Merged

v0.1.2#2
IvanChernyshov merged 9 commits into
mainfrom
dev

Conversation

@IvanChernyshov
Copy link
Copy Markdown
Member

Adds lift functionality for PeriodicComponent:

  • Added lift_patch(...) to extract finite patches of the infinite lift (BFS radius and/or abs/rel cell-index boxes) with snapshot edge attributes and deterministic deduplication for undirected containers.
  • For directed periodic containers, lift_patch(...) now produces directed patches by default, and LiftPatch.to_networkx(as_undirected=True, undirected_mode=...) provides undirected views via either per-edge multigraph export (_pbc_tail/_pbc_head) or a collapsed simple graph with orig_edges=[...] snapshots.
  • Added canonical_lift(...) to select one instance per quotient node for a chosen strand, with placements tree, best_anchor, and greedy_cut, and deterministic spanning-tree parent edges for optional tree_edges.
  • Added CanonicalLiftError and LiftPatchError for well-scoped failure modes.

@IvanChernyshov IvanChernyshov merged commit d6ba4bb into main Jan 26, 2026
12 checks passed
@IvanChernyshov IvanChernyshov deleted the dev branch January 26, 2026 07:38
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.

1 participant