elec

Bindings for core::scoring::elec namespace

class pyrosetta.rosetta.core.scoring.elec.CountPairRepMap

Bases: pybind11_builtins.pybind11_object

A class to encapsulate the raw-pointer-based data caching

__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__(self: pyrosetta.rosetta.core.scoring.elec.CountPairRepMap) → 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).

get_map(self: pyrosetta.rosetta.core.scoring.elec.CountPairRepMap, restype: pyrosetta.rosetta.core.chemical.ResidueType) → pyrosetta.rosetta.std.map_unsigned_long_unsigned_long

C++: core::scoring::elec::CountPairRepMap::get_map(const class core::chemical::ResidueType &) –> const class std::map<unsigned long, unsigned long, struct std::less<unsigned long>, class std::allocator<struct std::pair<const unsigned long, unsigned long> > > &

has(self: pyrosetta.rosetta.core.scoring.elec.CountPairRepMap, restype: pyrosetta.rosetta.core.chemical.ResidueType) → bool

C++: core::scoring::elec::CountPairRepMap::has(const class core::chemical::ResidueType &) const –> bool

restype_destruction_observer(self: pyrosetta.rosetta.core.scoring.elec.CountPairRepMap, event: pyrosetta.rosetta.core.chemical.RestypeDestructionEvent) → None

C++: core::scoring::elec::CountPairRepMap::restype_destruction_observer(const struct core::chemical::RestypeDestructionEvent &) –> void

pyrosetta.rosetta.core.scoring.elec.read_cp_tables_from_db(filename: str) → pyrosetta.rosetta.std.map_std_string_std_map_std_string_std_string_std_less_std_string_std_allocator_std_pair_const_std_string_std_string_t
Read the CP tables from the database and return an owning pointer to the

new object created in memory.

Called by the ScoringManager to allow these data to be read in once and only once.

C++: core::scoring::elec::read_cp_tables_from_db(const class std::basic_string<char> &) –> class std::shared_ptr<class std::map<std::string, class std::map<std::string, std::string, struct std::less<std::string >, class std::allocator<struct std::pair<const std::string, std::string > > >, struct std::less<std::string >, class std::allocator<struct std::pair<const std::string, class std::map<std::string, std::string, struct std::less<std::string >, class std::allocator<struct std::pair<const std::string, std::string > > > > > > >