Function: get_multip_pos
Reference
Home
List of PyCrysFML08 Dictionaries
List of PyCrysFML08 Functions
USE
get_multip_pos returns the multiplicit of a given position in a given spacegroup.
function call
r = get_multip_pos(x : ndarray,spg : dict)
Variable | Type | Description |
---|---|---|
x | ndarray; dtype = float32; shape = : | Position. Shape = 3 + n, where n is the number of propagation vectors. |
spg | dict | Space group. It must be a dictionary of type spg_type or superspacegroup_type. It can be generated with the function set_spacegroup. |
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]: int, multiplicity of x. |
examples