solid_surface¶
Bindings for core::scoring::solid_surface namespace
-
class
pyrosetta.rosetta.core.scoring.solid_surface.
SurfaceEnergies
¶ Bases:
pyrosetta.rosetta.core.scoring.Energies
A derived class from class Energies for efficiently representing the interactions between a protein and a fixed surface
-
__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.core.scoring.solid_surface.SurfaceEnergies) -> None
- __init__(self: pyrosetta.rosetta.core.scoring.solid_surface.SurfaceEnergies, arg0: pyrosetta.rosetta.core.scoring.solid_surface.SurfaceEnergies) -> 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__
(self: pyrosetta.rosetta.core.scoring.Energies) → str¶
-
__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
(*args, **kwargs)¶ Overloaded function.
- assign(self: pyrosetta.rosetta.core.scoring.solid_surface.SurfaceEnergies, rhs: pyrosetta.rosetta.core.scoring.Energies) -> pyrosetta.rosetta.core.scoring.Energies
C++: core::scoring::solid_surface::SurfaceEnergies::operator=(const class core::scoring::Energies &) –> class core::scoring::Energies &
- assign(self: pyrosetta.rosetta.core.scoring.solid_surface.SurfaceEnergies, : pyrosetta.rosetta.core.scoring.solid_surface.SurfaceEnergies) -> pyrosetta.rosetta.core.scoring.solid_surface.SurfaceEnergies
C++: core::scoring::solid_surface::SurfaceEnergies::operator=(const class core::scoring::solid_surface::SurfaceEnergies &) –> class core::scoring::solid_surface::SurfaceEnergies &
-
clear
(self: pyrosetta.rosetta.core.scoring.Energies) → None¶ kill everything (that nobody forgot about)
C++: core::scoring::Energies::clear() –> void
-
clear_energies
(self: pyrosetta.rosetta.core.scoring.Energies) → None¶ for debugging – forget all stored energies, does not change size
C++: core::scoring::Energies::clear_energies() –> void
-
clone
(self: pyrosetta.rosetta.core.scoring.solid_surface.SurfaceEnergies) → pyrosetta.rosetta.core.scoring.Energies¶ C++: core::scoring::solid_surface::SurfaceEnergies::clone() const –> class std::shared_ptr<class core::scoring::Energies>
-
context_graph
(self: pyrosetta.rosetta.core.scoring.Energies, type: pyrosetta.rosetta.core.scoring.ContextGraphType) → core::scoring::ContextGraph¶ C++: core::scoring::Energies::context_graph(enum core::scoring::ContextGraphType) –> class std::shared_ptr<class core::scoring::ContextGraph>
-
data
(self: pyrosetta.rosetta.core.scoring.Energies) → pyrosetta.rosetta.basic.datacache.BasicDataCache¶ BasicDataCache indexed by enum in core/scoring/EnergiesCacheableDataType.hh
C++: core::scoring::Energies::data() –> class basic::datacache::BasicDataCache &
-
discard_conformation_domain_map
(self: pyrosetta.rosetta.core.scoring.Energies) → bool¶ instructs Pose whether the domain map info in the Conformation object should be discarded
C++: core::scoring::Energies::discard_conformation_domain_map() const –> bool
-
domain_map
(*args, **kwargs)¶ Overloaded function.
- domain_map(self: pyrosetta.rosetta.core.scoring.Energies, pos: int) -> int
- Return the color assigned to a particular residue (index = pos) as held in the
domain map describing how this residue has moved with respect to the other residues in the pose.
CAUTION new behavior: domain_map may not return 0 for residues that have undergone internal degree of freedom changes since the last scoring. Ask the res_moved() method for that information
C++: core::scoring::Energies::domain_map(const int) const –> int
- domain_map(self: pyrosetta.rosetta.core.scoring.Energies) -> ObjexxFCL::FArray1D<int>
Read access for the domain map.
C++: core::scoring::Energies::domain_map() const –> const class ObjexxFCL::FArray1D<int> &
-
energies_updated
(self: pyrosetta.rosetta.core.scoring.Energies) → bool¶ Returns true if the score is up-to-date
- example(s):
- pose.energies().energies_updated()
- See also:
- Energies Energies.residue_total_energy Energies.residue_total_energies Pose ScoreFunction ScoreFunction.show create_score_function
C++: core::scoring::Energies::energies_updated() const –> bool
-
energy_graph
(self: pyrosetta.rosetta.core.scoring.Energies) → core::scoring::EnergyGraph¶ Write access to the EnergyGraph.
C++: core::scoring::Energies::energy_graph() –> class core::scoring::EnergyGraph &
-
finalized_energies
(self: pyrosetta.rosetta.core.scoring.Energies) → pyrosetta.rosetta.core.scoring.EMapVector¶ - Write access to the components of the “finalized” energies.
- This access is intended only for the ScoreFunction.
C++: core::scoring::Energies::finalized_energies() –> class core::scoring::EMapVector &
-
get_scorefxn_info
(self: pyrosetta.rosetta.core.scoring.Energies) → core::scoring::ScoreFunctionInfo¶ get scorefxn info
C++: core::scoring::Energies::get_scorefxn_info() const –> const class core::scoring::ScoreFunctionInfo &
-
long_range_container
(self: pyrosetta.rosetta.core.scoring.Energies, : pyrosetta.rosetta.core.scoring.methods.LongRangeEnergyType) → core::scoring::LREnergyContainer¶ C++: core::scoring::Energies::long_range_container(enum core::scoring::methods::LongRangeEnergyType) const –> class std::shared_ptr<const class core::scoring::LREnergyContainer>
-
minimization_graph
(self: pyrosetta.rosetta.core.scoring.Energies) → core::scoring::MinimizationGraph¶ C++: core::scoring::Energies::minimization_graph() –> class std::shared_ptr<class core::scoring::MinimizationGraph>
-
nblist
(self: pyrosetta.rosetta.core.scoring.Energies, type: pyrosetta.rosetta.core.scoring.EnergiesCacheableDataType.Enum) → core::scoring::NeighborList¶ C++: core::scoring::Energies::nblist(const enum core::scoring::EnergiesCacheableDataType::Enum &) const –> const class core::scoring::NeighborList &
-
nonconst_long_range_container
(self: pyrosetta.rosetta.core.scoring.Energies, : pyrosetta.rosetta.core.scoring.methods.LongRangeEnergyType) → core::scoring::LREnergyContainer¶ C++: core::scoring::Energies::nonconst_long_range_container(enum core::scoring::methods::LongRangeEnergyType) –> class std::shared_ptr<class core::scoring::LREnergyContainer>
-
onebody_energies
(self: pyrosetta.rosetta.core.scoring.Energies, seqpos: int) → pyrosetta.rosetta.core.scoring.EMapVector¶ - Write access to the components of the one-body energies.
- This access is intended only for the ScoreFunction.
C++: core::scoring::Energies::onebody_energies(const int) –> class core::scoring::EMapVector &
-
require_context_graph
(self: pyrosetta.rosetta.core.scoring.Energies, : pyrosetta.rosetta.core.scoring.ContextGraphType) → None¶ - Allows non-scorefunction components of Rosetta to impose requirements on
- the context graphs that this object maintains.
C++: core::scoring::Energies::require_context_graph(enum core::scoring::ContextGraphType) const –> void
-
res_moved
(self: pyrosetta.rosetta.core.scoring.Energies, seqpos: int) → bool¶ check if rsd has changed internal conformation, necessitating, recomputation of 1d energies like dun,intra,prob,etc
C++: core::scoring::Energies::res_moved(const int) const –> bool
-
reset_nblist
(self: pyrosetta.rosetta.core.scoring.Energies) → None¶ C++: core::scoring::Energies::reset_nblist() –> void
-
reset_res_moved
(self: pyrosetta.rosetta.core.scoring.Energies, seqpos: int) → None¶ C++: core::scoring::Energies::reset_res_moved(const int) –> void
-
reset_surface_residue_information
(self: pyrosetta.rosetta.core.scoring.solid_surface.SurfaceEnergies) → None¶ - Wipe away all the information in the SurfacEnergies object describing which
- residues are considered part of the surface and which residues are not part of the surface. (Afterwards, all residues are going to be considered part of the surface).
C++: core::scoring::solid_surface::SurfaceEnergies::reset_surface_residue_information() –> void
-
residue_is_surface
(self: pyrosetta.rosetta.core.scoring.solid_surface.SurfaceEnergies, seqpos: int) → bool¶ Does the SurfaceEnergies object consider a particular residue to be part of the surface?
C++: core::scoring::solid_surface::SurfaceEnergies::residue_is_surface(unsigned long) const –> bool
-
residue_neighbors_updated
(self: pyrosetta.rosetta.core.scoring.Energies) → bool¶ C++: core::scoring::Energies::residue_neighbors_updated() const –> bool
-
residue_total_energies
(self: pyrosetta.rosetta.core.scoring.Energies, seqpos: int) → pyrosetta.rosetta.core.scoring.EMapVector¶ - Returns the unweighted total_energies EnergyMap for
- Residue <seqpos>
- : only evaluated when requested (lazy!), inaccessible during
minimization, EnergyMap is an EMapVector
- example(s):
- r3 = pose.energies().residue_total_energies(3) r3[fa_sol]
- See also:
- Energies Energies.residue_total_energy Pose ScoreFunction ScoreFunction.show create_score_function EMapVector
C++: core::scoring::Energies::residue_total_energies(const int) const –> const class core::scoring::EMapVector &
-
residue_total_energy
(self: pyrosetta.rosetta.core.scoring.Energies, seqpos: int) → float¶ Returns the weighted total energy of residue <seqpos>
- example(s):
- pose.energies().residue_total_energy(3)
- See also:
- Energies Energies.residue_total_energies Pose ScoreFunction ScoreFunction.show create_score_function
C++: core::scoring::Energies::residue_total_energy(const int) const –> double
-
same_type_as_me
(*args, **kwargs)¶ Overloaded function.
- same_type_as_me(self: pyrosetta.rosetta.core.scoring.solid_surface.SurfaceEnergies, other: pyrosetta.rosetta.core.scoring.Energies) -> bool
- same_type_as_me(self: pyrosetta.rosetta.core.scoring.solid_surface.SurfaceEnergies, other: pyrosetta.rosetta.core.scoring.Energies, recurse: bool) -> bool
determine whether my type is the same as another Conformation’s
C++: core::scoring::solid_surface::SurfaceEnergies::same_type_as_me(const class core::scoring::Energies &, bool) const –> bool
-
scoring
(self: pyrosetta.rosetta.core.scoring.Energies) → bool¶ are we in the midst of a scoring calculation?
C++: core::scoring::Energies::scoring() const –> bool
-
scoring_begin
(self: pyrosetta.rosetta.core.scoring.Energies, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction, pose: pyrosetta.rosetta.core.pose.Pose) → None¶ Notification of the start of a scoring calculation.
C++: core::scoring::Energies::scoring_begin(const class core::scoring::ScoreFunction &, const class core::pose::Pose &) –> void
-
scoring_end
(self: pyrosetta.rosetta.core.scoring.Energies, scorefxn: pyrosetta.rosetta.core.scoring.ScoreFunction) → None¶ signal from the scorefxn that scoring is over
C++: core::scoring::Energies::scoring_end(const class core::scoring::ScoreFunction &) –> void
-
set_long_range_container
(self: pyrosetta.rosetta.core.scoring.Energies, : pyrosetta.rosetta.core.scoring.methods.LongRangeEnergyType, : core::scoring::LREnergyContainer) → None¶ C++: core::scoring::Energies::set_long_range_container(enum core::scoring::methods::LongRangeEnergyType, class std::shared_ptr<class core::scoring::LREnergyContainer>) –> void
-
set_minimization_graph
(self: pyrosetta.rosetta.core.scoring.Energies, : core::scoring::MinimizationGraph) → None¶ C++: core::scoring::Energies::set_minimization_graph(class std::shared_ptr<class core::scoring::MinimizationGraph>) –> void
-
set_nblist
(self: pyrosetta.rosetta.core.scoring.Energies, type: pyrosetta.rosetta.core.scoring.EnergiesCacheableDataType.Enum, nblist_in: core::scoring::NeighborList) → None¶ C++: core::scoring::Energies::set_nblist(const enum core::scoring::EnergiesCacheableDataType::Enum &, class std::shared_ptr<class core::scoring::NeighborList>) –> void
-
set_owner
(self: pyrosetta.rosetta.core.scoring.Energies, owner: pyrosetta.rosetta.core.pose.Pose) → None¶ - Pose must claim its Energies object; this should happen once,
- at the time the Pose is allocated. Future copying of the Energies object will not change ownership. The purpose of ownership is to allow lazy context-graph creation. When context graphs are requested that have not been created, they must be created and their edges must be updated to represent the current conformation of the pose.
C++: core::scoring::Energies::set_owner(class core::pose::Pose *) –> void
-
set_residue_range_not_surface
(self: pyrosetta.rosetta.core.scoring.solid_surface.SurfaceEnergies, seqpos_begin: int, seqpos_end: int) → None¶ - Tell the SurfacEnergies that the following residues are considered not
- part of the surface.
C++: core::scoring::solid_surface::SurfaceEnergies::set_residue_range_not_surface(unsigned long, unsigned long) –> void
-
set_total_residue
(self: pyrosetta.rosetta.core.scoring.solid_surface.SurfaceEnergies, total_residue: int) → None¶ - The SurfaceEnergies object needs to know how many residues are in its pose;
- it also has to be told which residues are considered part of the surface and which residues are not part of the surface.
C++: core::scoring::solid_surface::SurfaceEnergies::set_total_residue(unsigned long) –> void
-
set_use_nblist
(self: pyrosetta.rosetta.core.scoring.Energies, pose: pyrosetta.rosetta.core.pose.Pose, domain_map_in: ObjexxFCL::FArray1D<int>, use_nblist_auto_update: bool) → None¶ C++: core::scoring::Energies::set_use_nblist(const class core::pose::Pose &, const class ObjexxFCL::FArray1D<int> &, const bool) –> void
-
show
(*args, **kwargs)¶ Overloaded function.
- show(self: pyrosetta.rosetta.core.scoring.Energies, out: pyrosetta.rosetta.std.ostream) -> None
C++: core::scoring::Energies::show(class std::basic_ostream<char> &) const –> void
- show(self: pyrosetta.rosetta.core.scoring.Energies, out: pyrosetta.rosetta.std.ostream, res: int) -> None
C++: core::scoring::Energies::show(class std::basic_ostream<char> &, unsigned long) const –> void
- show(self: pyrosetta.rosetta.core.scoring.Energies) -> None
C++: core::scoring::Energies::show() const –> void
- show(self: pyrosetta.rosetta.core.scoring.Energies, res: int) -> None
Shows the energy information of residue <seqpos>
: wrapper function of energies.show(Size) for Pyrosetta
- example(s):
- pose.energies().show(3)
- See also:
- Energies Energies.residue_total_energies Energies.residue_total_energy Pose ScoreFunction ScoreFunction.show create_score_function
C++: core::scoring::Energies::show(unsigned long) const –> void
-
show_total_headers
(self: pyrosetta.rosetta.core.scoring.Energies, out: pyrosetta.rosetta.std.ostream) → None¶ C++: core::scoring::Energies::show_total_headers(class std::basic_ostream<char> &) const –> void
-
show_totals
(self: pyrosetta.rosetta.core.scoring.Energies, out: pyrosetta.rosetta.std.ostream) → None¶ C++: core::scoring::Energies::show_totals(class std::basic_ostream<char> &) const –> void
-
size
(self: pyrosetta.rosetta.core.scoring.Energies) → int¶ Returns the number of held residue energies
- example(s):
- r3 = pose.energies().residue_total_energies(3) r3[fa_sol]
- See also:
- Energies Energies.residue_total_energies Energies.residue_total_energy Pose ScoreFunction ScoreFunction.show create_score_function
C++: core::scoring::Energies::size() const –> unsigned long
-
structure_has_moved
(self: pyrosetta.rosetta.core.scoring.Energies, nres: int) → None¶ called (eg by pose) to notify us of a change to the structure
Triggers clearing of the total energies and the twobody rsd energies PHIL – should also mark the neighbor links as invalid somehow… Called by pose when someone tries to access us, if the Conformation indicates that the structure has moved since the last score evaluation
const b/c called inside const access methods
C++: core::scoring::Energies::structure_has_moved(const unsigned long) const –> void
-
tenA_neighbor_graph
(self: pyrosetta.rosetta.core.scoring.Energies) → core::scoring::TenANeighborGraph¶ - Write access to the graph encoding # neighbors within 10 Angstroms
- If the graph has not been requested up until this point, then it will be instantiated and filled. If the pose has changed size since the last score function evaluation (or if the pose has never been scored) this function will exit.
C++: core::scoring::Energies::tenA_neighbor_graph() –> class core::scoring::TenANeighborGraph &
-
total_energies
(self: pyrosetta.rosetta.core.scoring.Energies) → pyrosetta.rosetta.core.scoring.EMapVector¶ - Returns a non-const reference to the total_energies EnergyMap
- so that external sources may append additional information to the Energies object. This is primarily useful for outputting score data with structures when those terms are not part of the energy function. This function will update the component energies if they are not up-to-date.
C++: core::scoring::Energies::total_energies() –> class core::scoring::EMapVector &
-
total_energy
(self: pyrosetta.rosetta.core.scoring.Energies) → float¶ C++: core::scoring::Energies::total_energy() –> double &
-
twelveA_neighbor_graph
(self: pyrosetta.rosetta.core.scoring.Energies) → core::scoring::TwelveANeighborGraph¶ C++: core::scoring::Energies::twelveA_neighbor_graph() –> class core::scoring::TwelveANeighborGraph &
-
update_residue_neighbors
(self: pyrosetta.rosetta.core.scoring.Energies, domain_map_in: ObjexxFCL::FArray1D<int>, pose: pyrosetta.rosetta.core.pose.Pose) → None¶ update the residue neighbors
C++: core::scoring::Energies::update_residue_neighbors(const class ObjexxFCL::FArray1D<int> &, const class core::pose::Pose &) –> void
-
use_nblist
(self: pyrosetta.rosetta.core.scoring.Energies) → bool¶ C++: core::scoring::Energies::use_nblist() const –> bool
-
use_nblist_auto_update
(self: pyrosetta.rosetta.core.scoring.Energies) → bool¶ C++: core::scoring::Energies::use_nblist_auto_update() const –> bool
-
use_nblist_of_type
(self: pyrosetta.rosetta.core.scoring.Energies, type: pyrosetta.rosetta.core.scoring.EnergiesCacheableDataType.Enum) → bool¶ C++: core::scoring::Energies::use_nblist_of_type(const enum core::scoring::EnergiesCacheableDataType::Enum &) const –> bool
-
weights
(*args, **kwargs)¶ Overloaded function.
- weights(self: pyrosetta.rosetta.core.scoring.Energies) -> pyrosetta.rosetta.core.scoring.EMapVector
- Returns an EnergyMap of the ScoreFunction weights from the last
scoring
- example(s):
- we = pose.energies().weights() we[fa_atr]
- See also:
- Energies Energies.residue_total_energies Energies.residue_total_energy Pose ScoreFunction ScoreFunction.show create_score_function EMapVector
C++: core::scoring::Energies::weights() const –> class core::scoring::EMapVector
- weights(self: pyrosetta.rosetta.core.scoring.Energies, new_weights: pyrosetta.rosetta.core.scoring.EMapVector) -> None
Setter for the weights in this Energies object.
C++: core::scoring::Energies::weights(class core::scoring::EMapVector) –> void
-