geometor.divine.golden.chains¶
Golden Chain Analyzer: Harmonic Range Identification in Golden Sections.
This module analyzes and explores chains of connected golden sections, unraveling proportional progressions within exact symbolic geometric models.
Features:
find_chains_in_sections: Identifies maximal chains within a collection of golden sections, returning a hierarchical tree of connected sections.unpack_chains: Unpacks the chain tree into individualChainobjects ready for symbolic inspection.
Functions¶
|
Identify maximal chains of connected golden sections. |
|
Unpack a chain tree into a list of individual |
Module Contents¶
- geometor.divine.golden.chains.find_chains_in_sections(sections: list[geometor.model.sections.Section]) dict[geometor.model.sections.Section, dict]¶
Identify maximal chains of connected golden sections.
Two ordered sections
(A, B, C)and(B, C, D)connect when the trailing segment(B, C)of the first equals the leading segment(B, C)of the second.- Parameters:
sections – A list of
Sectionobjects to analyze.- Returns:
Tree structure mapping root
Sectionnodes to nested dictionaries of connected successorSectionnodes.- Return type:
- geometor.divine.golden.chains.unpack_chains(tree: dict[geometor.model.sections.Section, dict]) list[geometor.model.chains.Chain]¶
Unpack a chain tree into a list of individual
Chainobjects.- Parameters:
tree – Tree structure returned by
find_chains_in_sections().- Returns:
Connected golden-section chains.
- Return type:
list[Chain]