matflow.param_classes.orientations.UnitCellAlignment#

class matflow.param_classes.orientations.UnitCellAlignment(x: matflow.param_classes.orientations.LatticeDirection | None = None, y: matflow.param_classes.orientations.LatticeDirection | None = None, z: matflow.param_classes.orientations.LatticeDirection | None = None)#

Bases: ParameterValue

Methods

dump_to_HDF5_group

from_hex_convention_DAMASK

from_hex_convention_MTEX

Generate a unit cell alignment from MTEX's default convention for hexagonal symmetry.

prepare_JSON_dump

save_from_HDF5_group

save_from_JSON

to_dict

Attributes

x

y

z

Parameters:
dump_to_HDF5_group(group)#
classmethod from_hex_convention_DAMASK()#
classmethod from_hex_convention_MTEX()#

Generate a unit cell alignment from MTEX’s default convention for hexagonal symmetry.

Tested using this command in MTEX: crystalSymmetry(“hexagonal”).alignment

prepare_JSON_dump()#
Return type:

Dict

classmethod save_from_HDF5_group(group, param_id, workflow)#
Parameters:

param_id (int) –

classmethod save_from_JSON(data, param_id, workflow)#
Parameters:

param_id (int) –

to_dict()#
x: LatticeDirection | None = None#
y: LatticeDirection | None = None#
z: LatticeDirection | None = None#