cctbx.sgtbx package

Subpackages

Submodules

Module contents

class cctbx.sgtbx.any_generator_set(space_group, z2c_r_den=12, z2c_t_den=144)

Bases: object

cctbx.sgtbx.compare_cb_op_as_hkl(a, b)
class cctbx.sgtbx.empty

Bases: object

class cctbx.sgtbx.le_page_1982_delta_details(reduced_cell, rot_mx, deg=False)

Bases: object

cctbx.sgtbx.reference_space_group_infos()
class cctbx.sgtbx.space_group_info(symbol=None, table_id=None, group=None, number=None, space_group_t_den=None)

Bases: object

any_compatible_crystal_symmetry(volume=None, asu_volume=None)
any_compatible_unit_cell(volume=None, asu_volume=None)

Generate a unit cell of arbitrary dimensions (optionally filling the desired volume) with parameters compatible with the specified space group.

Parameters:
  • volume – desired unit cell volume

  • asu_volume – desired volume of the asymmetric unit

Returns:

uctbx.unit_cell object

any_generator_set()
as_reference_setting()
brick()
change_basis(cb_op)
change_hand()
change_of_basis_op_to(other)

The change of basis from self to other. This method strives to return a mere origin shift.

change_of_basis_op_to_other_hand()
change_of_basis_op_to_primitive_setting()
change_of_basis_op_to_reference_setting()
cif_symmetry_code(rt_mx, full_code=False, sep='_')

The symmetry code for the given rt_mx in the given space group as required by the CIF:

http://www.iucr.org/__data/iucr/cifdic_html/1/cif_core.dic/Igeom_angle_site_symmetry_.html

With the default full_code=False, if the translation term is zero, just the index of the symmetry operation is returned.

direct_space_asu()
group()
is_allowed_origin_shift(shift, tolerance)

Determine whether the specified fractional coordinate shift is allowed under the space group rules.

Parameters:
  • shift – tuple specifying fractional coordinate shift

  • tolerance – tolerance for coordinate shifts outside the allowed range

Returns:

Python boolean

is_reference_setting()
number_of_continuous_allowed_origin_shifts()
primitive_setting()
reciprocal_space_asu()
reference_setting()
reflection_intensity_equivalent_groups(anomalous_flag=True)
show_summary(f=None, prefix='Space group: ')
structure_seminvariants()
subtract_continuous_allowed_origin_shifts(translation_frac)
symbol_and_number()
type(tidy_cb_op=True, r_den=None, t_den=None)
wyckoff_table()
class cctbx.sgtbx.special_op_simplified(terms)

Bases: slots_getstate_setstate

shelx_fvar_encoding(fvars, site, p_tolerance=1e-05)
terms
class cctbx.sgtbx.special_op_simplified_term(i_vars, multipliers, constant)

Bases: slots_getstate_setstate

constant
i_vars
is_identity()
multipliers
cctbx.sgtbx.special_op_simplifier(special_op)
class cctbx.sgtbx.symmetry_equivalent_pair_interactions(site_symmetry_ops_i, site_symmetry_ops_j, i_seq_eq_j_seq, rt_mx_ji)

Bases: slots_getstate_setstate

get()
is_equivalent(rt_mx_ji)
registry
site_symmetry_ops_j
cctbx.sgtbx.vec3_rat_from_str(s)