cctbx.sgtbx.sub_lattice_tools module

class cctbx.sgtbx.sub_lattice_tools.compare_lattice(xs_a, xs_b, max_delta=2.0, out=None, relative_length_tolerance=0.05, absolute_angle_tolerance=10.0, order=1)

Bases: object

make_new_cell_and_symmetry(mat)
show_basic_info()
show_solution(sol_entry)
cctbx.sgtbx.sub_lattice_tools.divisor(n, pairs=False)

find all divisors

cctbx.sgtbx.sub_lattice_tools.exercise()
cctbx.sgtbx.sub_lattice_tools.find_triples(n)
cctbx.sgtbx.sub_lattice_tools.find_triples_slowly(n)

finds all triples for which a*b*c==n

cctbx.sgtbx.sub_lattice_tools.generate_cb_op_up_to_order(end_order, start_order=1)
cctbx.sgtbx.sub_lattice_tools.generate_inverse_matrix_up_to_order(end_order, start_order=1)
cctbx.sgtbx.sub_lattice_tools.generate_matrix(order)

make all sub lattices generators of order order

cctbx.sgtbx.sub_lattice_tools.generate_matrix_up_to_order(end_order, start_order=1)
class cctbx.sgtbx.sub_lattice_tools.make_list_of_target_xs_up_to_order(basic_xs, order=1, max_delta=2)

Bases: object

make_new_xs(mat, cb_op, to_reference=True)
cctbx.sgtbx.sub_lattice_tools.make_permutations(triple)
cctbx.sgtbx.sub_lattice_tools.make_triples(n)

finds all triples for which a*b*c==n

cctbx.sgtbx.sub_lattice_tools.rt_mx_as_rational(rot_mat)
cctbx.sgtbx.sub_lattice_tools.sort_triple(triple)
cctbx.sgtbx.sub_lattice_tools.tst_centered_cells()
cctbx.sgtbx.sub_lattice_tools.tst_compare()
cctbx.sgtbx.sub_lattice_tools.tst_make_bigger_cell()
cctbx.sgtbx.sub_lattice_tools.tst_sublattice()