Function: get_transfm_matrix
Reference
Home
List of PyCrysFML08 Dictionaries
List of PyCrysFML08 Functions
Use
get_transfm_matrix is used for computing the transformation matrix between two primitive cells.
function call
r = set_crystal_cell(cella: dict, cellb: dict, kwargs: dict)
Variable | Type | Description | |
---|---|---|---|
cella | dict | Unit cell. Dictionary of type cell_g_type or cell_gls_type. It can be generated with the function set_crystal_cell. | |
cellb | dict | Unit cell. Dictionary of type cell_g_type or cell_gls_type. It can be generated with the function set_crystal_cell. | |
kwargs | dict | Optional arguments. Available keys: tol. | |
tol | float | Tolerance. | |
r | tuple | The tuple returned by the function. r[0] : int, error code. If non-zero, an error has occurred. r[1] : str, error message. r[2]: ndarray; dtype=float32; shape=(3,3), the transformation matrix. |
examples