print

Function: get_symbol_from_mat

Reference

Home

List of PyCrysFML08 Dictionaries

List of PyCrysFML08 Functions

Use

get_symb_from_mat provides the short symbol for a setting change defined by a rotational matrix and a translation vector. 

function call

r = get_symb_from_mat(mat: ndarray, tr: ndarray, kwargs: dict)

VariableTypeDescription
matndarray; dtype=int32 | float32; shape=(3,3)Rotational part of the symmetry operator.
trndarray; dtype=float32; shape=3Translational part of the symmetry operator.
kwargsdictOptional arguments. Available keys: opposite.
 oppositeboolRotational symbol before translational symbol.
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]: str, the short symbol for the setting change.

examples