schrodinger.application.matsci.cctbx.rot_mx module

Operations on rotation matrices.

Copyright Schrodinger, LLC. All rights reserved.

schrodinger.application.matsci.cctbx.rot_mx.basis_of_mirror_plane_with_normal(u)[source]

Primitive setting assumed

schrodinger.application.matsci.cctbx.rot_mx.back_substitution_int(re_mx, sol=None)[source]
schrodinger.application.matsci.cctbx.rot_mx.homog_rank_2(re_mx)[source]
class schrodinger.application.matsci.cctbx.rot_mx.parse_string(operator)[source]

Bases: object

__init__(operator)[source]
string()[source]
parse_symm_op()[source]
class schrodinger.application.matsci.cctbx.rot_mx.tr_vec(*args)[source]

Bases: object

sg_t_den = 12
__init__(*args)[source]
den()[source]

Get denominator of the rotation matrix.

num()[source]

Get rotation matrix.

is_valid()[source]

Check if the matrix is valid. True only if den() != 0.

is_zero()[source]

True only if all elements of the numertor are equal to zero.

cancel()[source]
copy()[source]
new_denominator(new_den)[source]
scale(fac)[source]
divide(rhs)[source]
minus(rhs)[source]
as_double()[source]
class schrodinger.application.matsci.cctbx.rot_mx.rot_mx(*args)[source]

Bases: object

3x3 rotation matrix. The elements of the matrix are stored as integers and a common denominator. The actual value of an element is obtained by dividing the integer number by the denominator.

__init__(*args)[source]

Initialize matrix.

See cctbx/sgtbx/rot_mx.h for more documentation

den()[source]

Get denominator of the rotation matrix.

num()[source]

Get rotation matrix.

is_valid()[source]

Check if the matrix is valid. True only if den() != 0.

is_unit_mx()[source]
minus_unit_mx()[source]
new_denominator(new_den)[source]
matrix_cofactor()[source]
copy(transpose=False, minus=False)[source]
scale(fac)[source]
determinant()[source]
transpose()[source]
inverse()[source]
cancel()[source]
inverse_cancel()[source]
opdiv(rhs)[source]
divide(rhs)[source]
multiply(rhs)[source]
oper_multiply(rhs)[source]
as_double()[source]
type()[source]
order(type_in=0)[source]
accumulate(type_in=0)[source]
info()[source]
class schrodinger.application.matsci.cctbx.rot_mx.rot_mx_info(rot_mx_in)[source]

Bases: object

__init__(rot_mx_in)[source]
type()[source]
ev()[source]
basis_of_invariant()[source]
sense_of_rotation(rot_mx, type_, ev)[source]
sense()[source]
class schrodinger.application.matsci.cctbx.rot_mx.rt_mx(*args)[source]

Bases: object

__init__(*args)[source]
r()[source]
t()[source]
is_unit_mx()[source]
t_intrinsic_part()[source]
t_location_part(wi)[source]
class schrodinger.application.matsci.cctbx.rot_mx.translation_part_info(rt_mx)[source]

Bases: object

__init__(rt_mx)[source]
intrinsic_part()[source]
location_part()[source]
origin_shift()[source]