upxo.pxtal.geotess module
Geometric tessellation class. This has the following components.
class geotess2d for 2D voronoi tessellation grain structures.
class vtess2d, inheriting from geotess2d
class regtess2d, inheriting from geotess2d
class semiregtess2d, inheriting from geotess2d
class demiregtess2d, inheriting from geotess2d
geotess2d: parent class for generalized geometric tessellation
vtess2d: 2D Voronoi tessellation
- regtess2d: Tessellation of regular polygons. Can make tessellations of
Equilateral triangles
SQuares
REgular hexagons
- semiregtess2d: Semi-regular tessellations. Also known as Archimedan
tessellations. Each vertex in a semiregtess2d has the same arrangement of polygons areound it.. Can make tessellations of
triangles & Squares
Triangles & Squares (but a different pattern)
Hexagons & Triangles
Hexagons & Triangles (but a different pattern)
Hexagons & Triangles & Squares
Octagons & Squares
Dodecagons & Triangles
Dodecagons & Squares & Hexagons
demiregtess2d: Demi-regular tessellations.
Dependencies
numpy matplotlib pandas shapely
- class upxo.pxtal.geotess.geotess2d(*, from_mcgs=False)[source]
Bases:
objectVoronoi Tessellation grain structure in 2D.
- bounds
- Type:
x-axis and y-axis bounds
- seeds
- Type:
seed points: Numpy array
- grid
- Type:
x and y grid underlay: 2D Numpy arrays
- jp
- Type:
Unction points: UPXO point2d
- vp
- Type:
Vertex points: UPXO point2d
- gbedges
- Type:
List of all grain boundary edges: list(UPXO edge2d)
- gbseg
- Type:
List of all grain bounmdary segments: list(UPXO muledge2d)
- xtals
- Type:
List of grains: shapely polygons
- prop
- Type:
Property holder: Pandas dataframe
- info
- Type:
Meta data storage: dict
- bounds
- seeds
- grid
- jp
- vp
- gbedges
- gbseg
- xtals
- gid
- neigh_gid
- prop
- info