AtomsTopologyMixin¶
-
class
sknano.core.atoms.AtomsTopologyMixin[source] [edit on github][source]¶ Bases:
objectMixin
Atomstopology class.Attributes
all_anglesAngles.all_bondsBonds.all_dihedralsDihedrals.all_impropersImpropers.anglesAngles.angles_in_degreesboolsetting for returning angles in degrees.bondsBonds.dihedralsDihedrals.impropersImpropers.topology_statsdictof topology statistics.Methods
get_angle(*triplet[, check_operands, degrees])Compute bond angles. get_angles([neighbors_only, unique, ids_only])Return list of bond angles. get_bond(*pair[, check_operands, degrees])Compute bond lengths. get_bonds([neighbors_only, unique, ids_only])Return list of bonds. get_dihedral(*ids[, check_operands, degrees])Compute dihedral angles. get_dihedrals([neighbors_only, unique, ids_only])Return list of Dihedralsget_improper(*ids[, check_operands, degrees])Compute improper angles. get_impropers([neighbors_only, unique, ids_only])Return list of Improperssupdate_attrs([topology])Update AtomsTopologyMixinclass attributes.Attributes Summary
all_anglesAngles.all_bondsBonds.all_dihedralsDihedrals.all_impropersImpropers.anglesAngles.angles_in_degreesboolsetting for returning angles in degrees.bondsBonds.dihedralsDihedrals.impropersImpropers.topology_statsdictof topology statistics.Methods Summary
get_angle(*triplet[, check_operands, degrees])Compute bond angles. get_angles([neighbors_only, unique, ids_only])Return list of bond angles. get_bond(*pair[, check_operands, degrees])Compute bond lengths. get_bonds([neighbors_only, unique, ids_only])Return list of bonds. get_dihedral(*ids[, check_operands, degrees])Compute dihedral angles. get_dihedrals([neighbors_only, unique, ids_only])Return list of Dihedralsget_improper(*ids[, check_operands, degrees])Compute improper angles. get_impropers([neighbors_only, unique, ids_only])Return list of Improperssupdate_attrs([topology])Update AtomsTopologyMixinclass attributes.Attributes Documentation
Methods Documentation
-
get_angle(*triplet, check_operands=True, degrees=False)[source] [edit on github][source]¶ Compute bond angles.
Parameters: Returns: Return type: Raises: TypeError– iftripletis not a list ofidsValueError– if len(triplet) != 3.
-
get_angles(neighbors_only=False, unique=False, ids_only=False)[source] [edit on github][source]¶ Return list of bond angles.
-
get_bond(*pair, check_operands=True, degrees=False)[source] [edit on github][source]¶ Compute bond lengths.
Parameters: Returns: Return type: Raises: TypeError– ifpairis not a list ofidsValueError– if len(pair) != 2.
-
get_bonds(neighbors_only=False, unique=False, ids_only=False)[source] [edit on github][source]¶ Return list of bonds.
-
get_dihedral(*ids, check_operands=True, degrees=False)[source] [edit on github][source]¶ Compute dihedral angles.
-
get_dihedrals(neighbors_only=False, unique=False, ids_only=False)[source] [edit on github][source]¶ Return list of
Dihedrals
-
get_improper(*ids, check_operands=True, degrees=False)[source] [edit on github][source]¶ Compute improper angles.
-
get_impropers(neighbors_only=False, unique=False, ids_only=False)[source] [edit on github][source]¶ Return list of
Improperss
-
update_attrs(topology=True, **kwargs)[source] [edit on github][source]¶ Update
AtomsTopologyMixinclass attributes.
-