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)¶