cctbx.sgtbx.reticular_twin_laws module

cctbx.sgtbx.reticular_twin_laws.exercise()

uc = uctbx.unit_cell( “10.079 10.079 48.409 90 90 120” ) xs = crystal.symmetry( uc, “R32”) reticular_twin_laws( xs , max_index=3, max_delta=1.5).show()

uc = uctbx.unit_cell( “5.05 11.15 11.45 108.25 98.42 95.78” ) xs = crystal.symmetry( uc, “P1” ) reticular_twin_laws( xs, max_index=3 ).show()

uc = uctbx.unit_cell( “127.6, 58.1, 51.2, 90, 97.2, 90” ) xs = crystal.symmetry( uc, “C2” ) reticular_twin_laws( xs, max_index=3, max_delta=1.5 ).show()

uc = uctbx.unit_cell( “127.6, 152.1, 51.2, 90, 90.0, 90” ) xs = crystal.symmetry( uc, “P222” ) reticular_twin_laws( xs, max_index=3, max_delta=1.5 ).show()

class cctbx.sgtbx.reticular_twin_laws.ret_twin_law_info(twin_laws, m, metric_r, base_xs, subl_xs)

Bases: object

show(out=None)
class cctbx.sgtbx.reticular_twin_laws.reticular_twin_laws(xs, max_delta=5.0, max_index=5)

Bases: object

construct_twin_laws(xs, mat, additional_cb_op, r, show=False)
show(out=None)
class cctbx.sgtbx.reticular_twin_laws.symmetry_safe_sublattice_xs(xsin, start_order=1, stop_order=5, max_delta=5.0)

Bases: object

make_new_xs(mat)
metric_r(a, b)