contact_map¶
Bindings for protocols::contact_map namespace
-
class
pyrosetta.rosetta.protocols.contact_map.
Contact
¶ Bases:
pybind11_builtins.pybind11_object
Simple class representing a contact between two atoms
-
__delattr__
¶ Implement delattr(self, name).
-
__dir__
() → list¶ default dir() implementation
-
__eq__
¶ Return self==value.
-
__format__
()¶ default object formatter
-
__ge__
¶ Return self>=value.
-
__getattribute__
¶ Return getattr(self, name).
-
__gt__
¶ Return self>value.
-
__hash__
¶ Return hash(self).
-
__init__
(*args, **kwargs)¶ Overloaded function.
- __init__(self: pyrosetta.rosetta.protocols.contact_map.Contact) -> None
doc
- __init__(self: pyrosetta.rosetta.protocols.contact_map.Contact, arg0: pyrosetta.rosetta.protocols.contact_map.ContactPartner) -> None
doc
- __init__(self: pyrosetta.rosetta.protocols.contact_map.Contact, p1: pyrosetta.rosetta.protocols.contact_map.ContactPartner, p2: pyrosetta.rosetta.protocols.contact_map.ContactPartner) -> None
- __init__(self: pyrosetta.rosetta.protocols.contact_map.Contact, arg0: pyrosetta.rosetta.protocols.contact_map.Contact) -> None
-
__init_subclass__
()¶ This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
-
__le__
¶ Return self<=value.
-
__lt__
¶ Return self<value.
-
__ne__
¶ Return self!=value.
-
__new__
()¶ Create and return a new object. See help(type) for accurate signature.
-
__reduce__
()¶ helper for pickle
-
__reduce_ex__
()¶ helper for pickle
-
__repr__
¶ Return repr(self).
-
__setattr__
¶ Implement setattr(self, name, value).
-
__sizeof__
() → int¶ size of object in memory, in bytes
-
__str__
¶ Return str(self).
-
__subclasshook__
()¶ Abstract classes can override this to customize issubclass().
This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).
-
add_distance
(*args, **kwargs)¶ Overloaded function.
- add_distance(self: pyrosetta.rosetta.protocols.contact_map.Contact) -> None
Adds distance to the contact
C++: protocols::contact_map::Contact::add_distance() –> void
- add_distance(self: pyrosetta.rosetta.protocols.contact_map.Contact, distance: float) -> None
Adds distance to the contact
C++: protocols::contact_map::Contact::add_distance(double) –> void
-
assign
(self: pyrosetta.rosetta.protocols.contact_map.Contact, : pyrosetta.rosetta.protocols.contact_map.Contact) → pyrosetta.rosetta.protocols.contact_map.Contact¶ C++: protocols::contact_map::Contact::operator=(const class protocols::contact_map::Contact &) –> class protocols::contact_map::Contact &
-
long_string_rep
(*args, **kwargs)¶ Overloaded function.
- long_string_rep(self: pyrosetta.rosetta.protocols.contact_map.Contact) -> str
- long_string_rep(self: pyrosetta.rosetta.protocols.contact_map.Contact, n_poses: int) -> str
Returns string representation of the Contact including partner names
C++: protocols::contact_map::Contact::long_string_rep(unsigned long) const –> std::string
-
partner1
(self: pyrosetta.rosetta.protocols.contact_map.Contact) → pyrosetta.rosetta.protocols.contact_map.ContactPartner¶ Accessor functions for private class variables
C++: protocols::contact_map::Contact::partner1() –> class protocols::contact_map::ContactPartner *
-
partner2
(self: pyrosetta.rosetta.protocols.contact_map.Contact) → pyrosetta.rosetta.protocols.contact_map.ContactPartner¶ C++: protocols::contact_map::Contact::partner2() –> class protocols::contact_map::ContactPartner *
-
reset_count
(self: pyrosetta.rosetta.protocols.contact_map.Contact) → None¶ Resets count to 0
C++: protocols::contact_map::Contact::reset_count() –> void
-
string_rep
(*args, **kwargs)¶ Overloaded function.
- string_rep(self: pyrosetta.rosetta.protocols.contact_map.Contact) -> str
Returns string representation of the Contact
C++: protocols::contact_map::Contact::string_rep() const –> std::string
- string_rep(self: pyrosetta.rosetta.protocols.contact_map.Contact, n_poses: int) -> str
Returns string representation of the Contact as percentage value
C++: protocols::contact_map::Contact::string_rep(unsigned long) const –> std::string
-
-
class
pyrosetta.rosetta.protocols.contact_map.
ContactPartner
¶ Bases:
pybind11_builtins.pybind11_object
Simple class that holds the information on an atom involved in a contact
-
__delattr__
¶ Implement delattr(self, name).
-
__dir__
() → list¶ default dir() implementation
-
__eq__
¶ Return self==value.
-
__format__
()¶ default object formatter
-
__ge__
¶ Return self>=value.
-
__getattribute__
¶ Return getattr(self, name).
-
__gt__
¶ Return self>value.
-
__hash__
¶ Return hash(self).
-
__init__
(*args, **kwargs)¶ Overloaded function.
- __init__(self: pyrosetta.rosetta.protocols.contact_map.ContactPartner) -> None
doc
- __init__(self: pyrosetta.rosetta.protocols.contact_map.ContactPartner, arg0: int) -> None
doc
- __init__(self: pyrosetta.rosetta.protocols.contact_map.ContactPartner, arg0: int, arg1: str) -> None
doc
- __init__(self: pyrosetta.rosetta.protocols.contact_map.ContactPartner, seqpos: int, resname: str, aname: str) -> None
- __init__(self: pyrosetta.rosetta.protocols.contact_map.ContactPartner, arg0: pyrosetta.rosetta.protocols.contact_map.ContactPartner) -> None
-
__init_subclass__
()¶ This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
-
__le__
¶ Return self<=value.
-
__lt__
¶ Return self<value.
-
__ne__
¶ Return self!=value.
-
__new__
()¶ Create and return a new object. See help(type) for accurate signature.
-
__reduce__
()¶ helper for pickle
-
__reduce_ex__
()¶ helper for pickle
-
__repr__
¶ Return repr(self).
-
__setattr__
¶ Implement setattr(self, name, value).
-
__sizeof__
() → int¶ size of object in memory, in bytes
-
__str__
¶ Return str(self).
-
__subclasshook__
()¶ Abstract classes can override this to customize issubclass().
This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).
-
assign
(self: pyrosetta.rosetta.protocols.contact_map.ContactPartner, : pyrosetta.rosetta.protocols.contact_map.ContactPartner) → pyrosetta.rosetta.protocols.contact_map.ContactPartner¶ C++: protocols::contact_map::ContactPartner::operator=(const class protocols::contact_map::ContactPartner &) –> class protocols::contact_map::ContactPartner &
-
atomname
(self: pyrosetta.rosetta.protocols.contact_map.ContactPartner) → str¶ C++: protocols::contact_map::ContactPartner::atomname() const –> std::string
-
resname
(self: pyrosetta.rosetta.protocols.contact_map.ContactPartner) → str¶ C++: protocols::contact_map::ContactPartner::resname() const –> std::string
-
seqpos
(self: pyrosetta.rosetta.protocols.contact_map.ContactPartner) → int¶ Accessor functions for private class variables
C++: protocols::contact_map::ContactPartner::seqpos() const –> unsigned long
-
string_rep
(self: pyrosetta.rosetta.protocols.contact_map.ContactPartner) → str¶ Returns string representation of the ContactPartner
C++: protocols::contact_map::ContactPartner::string_rep() const –> std::string
-