print

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)

VariableTypeDescription
celladictUnit cell. Dictionary of type cell_g_type or cell_gls_type. It can be generated with the function set_crystal_cell.
cellbdictUnit cell. Dictionary of type cell_g_type or cell_gls_type. It can be generated with the function set_crystal_cell.
kwargsdictOptional arguments. Available keys: tol.
 tolfloatTolerance.
rtuple

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