pysrw.lib.uti_math.trf_rotation

Contents

pysrw.lib.uti_math.trf_rotation#

pysrw.lib.uti_math.trf_rotation(_V, _ang, _P)[source]#

Sets up matrix and vector describing rotation about axis _V passing through a point _P about an angle _ang :param _V: vector (array of 3 Cartesian coordinates) defining rotation axis :param _ang: rotation angle [rad] :param _P: point (array of 3 Cartesian coordinates) rotation axis passes through :returns list containing the 3x3 matrix and 3-element vector