membrane¶
Bindings for core::scoring::membrane namespace
-
class
pyrosetta.rosetta.core.scoring.membrane.
FaMPEnvEnergy
¶ Bases:
pyrosetta.rosetta.core.scoring.methods.ContextDependentOneBodyEnergy
Fullatom Membrane Environment Energy
-
__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.membrane.FaMPEnvEnergy, memb_etable_in: pyrosetta.rosetta.std.weak_ptr_const_core_scoring_etable_MembEtable_t) -> None
- __init__(self: pyrosetta.rosetta.core.scoring.membrane.FaMPEnvEnergy, arg0: pyrosetta.rosetta.core.scoring.membrane.FaMPEnvEnergy) -> 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.core.scoring.methods.ContextDependentOneBodyEnergy, : pyrosetta.rosetta.core.scoring.methods.ContextDependentOneBodyEnergy) → pyrosetta.rosetta.core.scoring.methods.ContextDependentOneBodyEnergy¶ C++: core::scoring::methods::ContextDependentOneBodyEnergy::operator=(const class core::scoring::methods::ContextDependentOneBodyEnergy &) –> class core::scoring::methods::ContextDependentOneBodyEnergy &
-
clone
(self: pyrosetta.rosetta.core.scoring.membrane.FaMPEnvEnergy) → pyrosetta.rosetta.core.scoring.methods.EnergyMethod¶ Clone Energy Method
C++: core::scoring::membrane::FaMPEnvEnergy::clone() const –> class std::shared_ptr<class core::scoring::methods::EnergyMethod>
-
defines_dof_derivatives
(self: pyrosetta.rosetta.core.scoring.methods.OneBodyEnergy, p: pyrosetta.rosetta.core.pose.Pose) → bool¶ - Use the dof_derivative interface for this energy method when
- calculating derivatives? It is possible to define both dof_derivatives and atom-derivatives; they are not mutually exclusive.
C++: core::scoring::methods::OneBodyEnergy::defines_dof_derivatives(const class core::pose::Pose &) const –> bool
-
defines_high_order_terms
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.core.pose.Pose) → bool¶ - Should this EnergyMethod have score and derivative evaluation
- evaluated both in the context of the whole Pose and in the context of residue or residue-pairs? This covers scoring terms like env-smooth wherein the CBeta’s get derivatives for increasing the neighbor counts for surrounding residues, and terms like constraints, which are definable on arbitrary number of residues (e.g. more than 2); both of these terms could be used in RTMin, and both should use the residue and residue-pair evaluation scheme with the MinimizationGraph for the majority of the work they do. (Now, high-order constraints (3-body or above) will not be properly evaluated within RTMin.). The default implementation returns “false”.
C++: core::scoring::methods::EnergyMethod::defines_high_order_terms(const class core::pose::Pose &) const –> bool
-
defines_score_for_residue
(self: pyrosetta.rosetta.core.scoring.methods.OneBodyEnergy, : pyrosetta.rosetta.core.conformation.Residue) → bool¶ - During minimization, energy methods are allowed to decide that they say nothing
- about a particular residue (e.g. no non-zero energy) and as a result they will not be queried for a derivative or an energy. The default behavior is to return “true” for all residues.
C++: core::scoring::methods::OneBodyEnergy::defines_score_for_residue(const class core::conformation::Residue &) const –> bool
-
eval_atom_derivative
(self: pyrosetta.rosetta.core.scoring.membrane.FaMPEnvEnergy, id: pyrosetta.rosetta.core.id.AtomID, pose: pyrosetta.rosetta.core.pose.Pose, domain_map: ObjexxFCL::FArray1D<int>, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction, emap: pyrosetta.rosetta.core.scoring.EMapVector, F1: pyrosetta.rosetta.numeric.xyzVector_double_t, F2: pyrosetta.rosetta.numeric.xyzVector_double_t) → None¶ Evaluate Per-Atom Derivatives
C++: core::scoring::membrane::FaMPEnvEnergy::eval_atom_derivative(const class core::id::AtomID &, const class core::pose::Pose &, const class ObjexxFCL::FArray1D<int> &, const class core::scoring::ScoreFunction &, const class core::scoring::EMapVector &, class numeric::xyzVector<double> &, class numeric::xyzVector<double> &) const –> void
-
eval_residue_derivatives
(self: pyrosetta.rosetta.core.scoring.methods.OneBodyEnergy, rsd: pyrosetta.rosetta.core.conformation.Residue, min_data: core::scoring::ResSingleMinimizationData, pose: pyrosetta.rosetta.core.pose.Pose, weights: pyrosetta.rosetta.core.scoring.EMapVector, atom_derivs: pyrosetta.rosetta.utility.vector1_core_scoring_DerivVectorPair) → None¶ - Evaluate the derivatives for all atoms on this residue and increment them
- into the input atom_derivs vector1. The calling function must guarantee that setup for derivatives is called before this function is, and that the atom_derivs vector contains at least as many entries as there are atoms in the input Residue. This base class provides a default noop implementation of this function.
C++: core::scoring::methods::OneBodyEnergy::eval_residue_derivatives(const class core::conformation::Residue &, const class core::scoring::ResSingleMinimizationData &, const class core::pose::Pose &, const class core::scoring::EMapVector &, class utility::vector1<class core::scoring::DerivVectorPair, class std::allocator<class core::scoring::DerivVectorPair> > &) const –> void
-
eval_residue_dof_derivative
(self: pyrosetta.rosetta.core.scoring.methods.OneBodyEnergy, rsd: pyrosetta.rosetta.core.conformation.Residue, min_data: core::scoring::ResSingleMinimizationData, dof_id: pyrosetta.rosetta.core.id.DOF_ID, torsion_id: pyrosetta.rosetta.core.id.TorsionID, pose: pyrosetta.rosetta.core.pose.Pose, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction, weights: pyrosetta.rosetta.core.scoring.EMapVector) → float¶ - Evaluate the DOF derivative for a particular residue. The Pose merely serves as context,
- and the input residue is not required to be a member of the Pose.
C++: core::scoring::methods::OneBodyEnergy::eval_residue_dof_derivative(const class core::conformation::Residue &, const class core::scoring::ResSingleMinimizationData &, const class core::id::DOF_ID &, const class core::id::TorsionID &, const class core::pose::Pose &, const class core::scoring::ScoreFunction &, const class core::scoring::EMapVector &) const –> double
-
finalize_after_derivatives
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.core.scoring.ScoreFunction) → None¶ called at the end of derivatives evaluation
C++: core::scoring::methods::EnergyMethod::finalize_after_derivatives(class core::pose::Pose &, const class core::scoring::ScoreFunction &) const –> void
-
finalize_total_energy
(self: pyrosetta.rosetta.core.scoring.membrane.FaMPEnvEnergy, pose: pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.core.scoring.ScoreFunction, emap: pyrosetta.rosetta.core.scoring.EMapVector) → None¶ Fianlzie Total Per-Residue Energies
C++: core::scoring::membrane::FaMPEnvEnergy::finalize_total_energy(class core::pose::Pose &, const class core::scoring::ScoreFunction &, class core::scoring::EMapVector &) const –> void
-
indicate_required_context_graphs
(self: pyrosetta.rosetta.core.scoring.membrane.FaMPEnvEnergy, : pyrosetta.rosetta.utility.vector1_bool) → None¶ Fa_MbenvEnergy is context independent
C++: core::scoring::membrane::FaMPEnvEnergy::indicate_required_context_graphs(class utility::vector1<bool, class std::allocator<bool> > &) const –> void
-
method_type
(self: pyrosetta.rosetta.core.scoring.methods.ContextDependentOneBodyEnergy) → pyrosetta.rosetta.core.scoring.methods.EnergyMethodType¶ - Returns the cd_1b element of the EnergyMethodType enumeration; this method
- should NOT be overridden by derived classes.
C++: core::scoring::methods::ContextDependentOneBodyEnergy::method_type() const –> enum core::scoring::methods::EnergyMethodType
-
minimize_in_whole_structure_context
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.core.pose.Pose) → bool¶ - Should this EnergyMethod have score and derivative evaluation
- evaluated only in the context of the whole Pose, or can it be included in a decomposed manner for a residue or a set of residue-pairs that are not part of the Pose that’s serving as their context? The default method implemented in the base class returns true in order to grandfather in EnergyMethods that have not had their derivatives changed to take advantage of the new derivative-evaluation machinery. Methods that return “true” will not have their residue-energy(-ext) / residue-pair-energy(-ext) methods invoked by the ScoreFunction during its traversal of the MinimizationGraph, and instead will be asked to perform all their work during finalize_total_energies(). Similarly, they will be expected to perform all their work during eval_atom_deriv() instead of during the ScoreFunction’s traversal of the MinimizationGraph for derivative evaluation. IMPORTANT: Methods that return “true” cannot be included in RTMin.
C++: core::scoring::methods::EnergyMethod::minimize_in_whole_structure_context(const class core::pose::Pose &) const –> bool
-
prepare_rotamers_for_packing
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.core.conformation.RotamerSetBase) → None¶ - If an energy method needs to cache data in a packing::RotamerSet object before
- rotamer energies are calculated, it does so during this function. The packer must ensure this function is called. The default behavior is to do nothing.
C++: core::scoring::methods::EnergyMethod::prepare_rotamers_for_packing(const class core::pose::Pose &, class core::conformation::RotamerSetBase &) const –> void
-
requires_a_setup_for_derivatives_for_residue_opportunity
(self: pyrosetta.rosetta.core.scoring.methods.OneBodyEnergy, pose: pyrosetta.rosetta.core.pose.Pose) → bool¶ - Does this EnergyMethod require the opportunity to examine the residue before derivative evaluation begins? Not
- all energy methods would. The ScoreFunction will not ask energy methods to examine residues that are uninterested in doing so.
C++: core::scoring::methods::OneBodyEnergy::requires_a_setup_for_derivatives_for_residue_opportunity(const class core::pose::Pose &) const –> bool
-
requires_a_setup_for_scoring_for_residue_opportunity_during_minimization
(self: pyrosetta.rosetta.core.scoring.methods.OneBodyEnergy, pose: pyrosetta.rosetta.core.pose.Pose) → bool¶ - Does this EnergyMethod require the opportunity to examine the residue before scoring begins? Not
- all energy methods would. The ScoreFunction will not ask energy methods to examine residues that are uninterested in doing so.
C++: core::scoring::methods::OneBodyEnergy::requires_a_setup_for_scoring_for_residue_opportunity_during_minimization(const class core::pose::Pose &) const –> bool
-
requires_a_setup_for_scoring_for_residue_opportunity_during_regular_scoring
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, pose: pyrosetta.rosetta.core.pose.Pose) → bool¶ - Does this EnergyMethod require the opportunity to examine the residue before (regular) scoring begins? Not
- all energy methods would. The ScoreFunction will not ask energy methods to examine residues that are uninterested in doing so. The default implmentation of this function returns false
C++: core::scoring::methods::EnergyMethod::requires_a_setup_for_scoring_for_residue_opportunity_during_regular_scoring(const class core::pose::Pose &) const –> bool
-
residue_energy
(self: pyrosetta.rosetta.core.scoring.membrane.FaMPEnvEnergy, rsd: pyrosetta.rosetta.core.conformation.Residue, pose: pyrosetta.rosetta.core.pose.Pose, emap: pyrosetta.rosetta.core.scoring.EMapVector) → None¶ Compute Per-Residue Energies
C++: core::scoring::membrane::FaMPEnvEnergy::residue_energy(const class core::conformation::Residue &, const class core::pose::Pose &, class core::scoring::EMapVector &) const –> void
-
residue_energy_ext
(self: pyrosetta.rosetta.core.scoring.methods.OneBodyEnergy, rsd: pyrosetta.rosetta.core.conformation.Residue, min_data: core::scoring::ResSingleMinimizationData, pose: pyrosetta.rosetta.core.pose.Pose, emap: pyrosetta.rosetta.core.scoring.EMapVector) → None¶ - Evaluate the one-body energies for a particular residue, in the context of a
- given Pose, and with the help of a piece of cached data for minimization, increment those one body energies into the input EnergyMap. The calling function must guarantee that this EnergyMethod has had the opportunity to update the input ResSingleMinimizationData object for the given residue in a call to setup_for_minimizing_for_residue before this function is invoked. This function should not be called unless the use_extended_residue_energy_interface() method returns “true”. Default implementation provided by this base class calls utility::exit(). The Pose merely serves as context, and the input residue is not required to be a member of the Pose.
C++: core::scoring::methods::OneBodyEnergy::residue_energy_ext(const class core::conformation::Residue &, const class core::scoring::ResSingleMinimizationData &, const class core::pose::Pose &, class core::scoring::EMapVector &) const –> void
-
score_types
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod) → pyrosetta.rosetta.utility.vector1_core_scoring_ScoreType¶ Returns the score types that this energy method computes.
C++: core::scoring::methods::EnergyMethod::score_types() const –> const class utility::vector1<enum core::scoring::ScoreType, class std::allocator<enum core::scoring::ScoreType> > &
-
setup_for_derivatives
(self: pyrosetta.rosetta.core.scoring.membrane.FaMPEnvEnergy, pose: pyrosetta.rosetta.core.pose.Pose, scfxn: pyrosetta.rosetta.core.scoring.ScoreFunction) → None¶ Setup for Computing Derivatives
C++: core::scoring::membrane::FaMPEnvEnergy::setup_for_derivatives(class core::pose::Pose &, const class core::scoring::ScoreFunction &) const –> void
-
setup_for_derivatives_for_residue
(self: pyrosetta.rosetta.core.scoring.methods.OneBodyEnergy, rsd: pyrosetta.rosetta.core.conformation.Residue, pose: pyrosetta.rosetta.core.pose.Pose, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction, min_data: core::scoring::ResSingleMinimizationData, res_data_cache: pyrosetta.rosetta.basic.datacache.BasicDataCache) → None¶ Do any setup work necessary before evaluating the derivatives for this residue
C++: core::scoring::methods::OneBodyEnergy::setup_for_derivatives_for_residue(const class core::conformation::Residue &, const class core::pose::Pose &, const class core::scoring::ScoreFunction &, class core::scoring::ResSingleMinimizationData &, class basic::datacache::BasicDataCache &) const –> void
-
setup_for_minimizing
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.core.scoring.ScoreFunction, : pyrosetta.rosetta.core.kinematics.MinimizerMapBase) → None¶ - Called at the beginning of atom tree minimization, this method
- allows the derived class the opportunity to initialize pertinent data that will be used during minimization. During minimzation, the chemical structure of the pose is constant, so assumptions on the number of atoms per residue and their identities are safe so long as the pose’s Energies object’s “use_nblist()” method returns true.
C++: core::scoring::methods::EnergyMethod::setup_for_minimizing(class core::pose::Pose &, const class core::scoring::ScoreFunction &, const class core::kinematics::MinimizerMapBase &) const –> void
-
setup_for_minimizing_for_residue
(self: pyrosetta.rosetta.core.scoring.methods.OneBodyEnergy, rsd: pyrosetta.rosetta.core.conformation.Residue, : pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.core.scoring.ScoreFunction, : pyrosetta.rosetta.core.kinematics.MinimizerMapBase, : pyrosetta.rosetta.basic.datacache.BasicDataCache, : core::scoring::ResSingleMinimizationData) → None¶ - Called at the beginning of minimization, allowing this energy method to cache data
- pertinent for a single residue in the the ResSingleMinimizationData that is used for a particular residue in the context of a particular Pose. This base class provides a noop implementation for this function if there is nothing that the derived class needs to perform in this setup phase. The Pose merely serves as context, and the input residue is not required to be a member of the Pose.
C++: core::scoring::methods::OneBodyEnergy::setup_for_minimizing_for_residue(const class core::conformation::Residue &, const class core::pose::Pose &, const class core::scoring::ScoreFunction &, const class core::kinematics::MinimizerMapBase &, class basic::datacache::BasicDataCache &, class core::scoring::ResSingleMinimizationData &) const –> void
-
setup_for_packing
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.utility.vector1_bool, : pyrosetta.rosetta.utility.vector1_bool) → None¶ - if an energy method needs to cache data in the Energies object,
- before packing begins, then it does so during this function. The packer must ensure this function is called. The default behavior is to do nothing.
C++: core::scoring::methods::EnergyMethod::setup_for_packing(class core::pose::Pose &, const class utility::vector1<bool, class std::allocator<bool> > &, const class utility::vector1<bool, class std::allocator<bool> > &) const –> void
-
setup_for_scoring
(self: pyrosetta.rosetta.core.scoring.membrane.FaMPEnvEnergy, pose: pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.core.scoring.ScoreFunction) → None¶ Setup Method for initial scoring
C++: core::scoring::membrane::FaMPEnvEnergy::setup_for_scoring(class core::pose::Pose &, const class core::scoring::ScoreFunction &) const –> void
-
setup_for_scoring_for_residue
(*args, **kwargs)¶ Overloaded function.
- setup_for_scoring_for_residue(self: pyrosetta.rosetta.core.scoring.methods.OneBodyEnergy, rsd: pyrosetta.rosetta.core.conformation.Residue, pose: pyrosetta.rosetta.core.pose.Pose, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction, residue_data_cache: pyrosetta.rosetta.basic.datacache.BasicDataCache) -> None
- setup_for_scoring_for_residue(self: pyrosetta.rosetta.core.scoring.methods.OneBodyEnergy, rsd: pyrosetta.rosetta.core.conformation.Residue, pose: pyrosetta.rosetta.core.pose.Pose, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction, min_data: core::scoring::ResSingleMinimizationData) -> None
- Do any setup work should the coordinates of this residue, who is still guaranteed to be
- of the same residue type as when setup_for_minimizing_for_residue was called, have changed so dramatically as to possibly require some amount of setup work before scoring should proceed
C++: core::scoring::methods::OneBodyEnergy::setup_for_scoring_for_residue(const class core::conformation::Residue &, const class core::pose::Pose &, const class core::scoring::ScoreFunction &, class core::scoring::ResSingleMinimizationData &) const –> void
-
show_additional_info
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.std.ostream, : pyrosetta.rosetta.core.pose.Pose, : bool) → None¶ show additional information of the energy method
C++: core::scoring::methods::EnergyMethod::show_additional_info(class std::basic_ostream<char> &, class core::pose::Pose &, bool) const –> void
-
update_residue_for_packing
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.core.pose.Pose, resid: int) → None¶ - If the pose changes in the middle of a packing (as happens in rotamer trials) and if
- an energy method needs to cache data in the pose that corresponds to its current state, then the method must update that data when this function is called. The packer must ensure this function gets called. The default behavior is to do nothing.
C++: core::scoring::methods::EnergyMethod::update_residue_for_packing(class core::pose::Pose &, unsigned long) const –> void
-
use_extended_residue_energy_interface
(self: pyrosetta.rosetta.core.scoring.methods.OneBodyEnergy) → bool¶ - Rely on the extended version of the residue_energy function during score-function
- evaluation in minimization? The extended version (below) takes a ResSingleMinimizationData. Return ‘true’ for the extended version. The default method implemented in this class returns ‘false’
C++: core::scoring::methods::OneBodyEnergy::use_extended_residue_energy_interface() const –> bool
-
version
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod) → int¶ Return the version of the energy method
C++: core::scoring::methods::EnergyMethod::version() const –> unsigned long
-
-
class
pyrosetta.rosetta.core.scoring.membrane.
FaMPEnvEnergyCreator
¶ Bases:
pyrosetta.rosetta.core.scoring.methods.EnergyMethodCreator
Creator Class for Membrane CBeta Energy Method
-
__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.membrane.FaMPEnvEnergyCreator) → 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.core.scoring.membrane.FaMPEnvEnergyCreator, : pyrosetta.rosetta.core.scoring.membrane.FaMPEnvEnergyCreator) → pyrosetta.rosetta.core.scoring.membrane.FaMPEnvEnergyCreator¶ C++: core::scoring::membrane::FaMPEnvEnergyCreator::operator=(const class core::scoring::membrane::FaMPEnvEnergyCreator &) –> class core::scoring::membrane::FaMPEnvEnergyCreator &
-
create_energy_method
(self: pyrosetta.rosetta.core.scoring.membrane.FaMPEnvEnergyCreator, : pyrosetta.rosetta.core.scoring.methods.EnergyMethodOptions) → pyrosetta.rosetta.core.scoring.methods.EnergyMethod¶ Instantiate a new MPEnvEnergy
C++: core::scoring::membrane::FaMPEnvEnergyCreator::create_energy_method(const class core::scoring::methods::EnergyMethodOptions &) const –> class std::shared_ptr<class core::scoring::methods::EnergyMethod>
-
score_types_for_method
(self: pyrosetta.rosetta.core.scoring.membrane.FaMPEnvEnergyCreator) → pyrosetta.rosetta.utility.vector1_core_scoring_ScoreType¶ Return MPEnv Score Type Claimed by this energy method
C++: core::scoring::membrane::FaMPEnvEnergyCreator::score_types_for_method() const –> class utility::vector1<enum core::scoring::ScoreType, class std::allocator<enum core::scoring::ScoreType> >
-
-
class
pyrosetta.rosetta.core.scoring.membrane.
FaMPEnvSmoothEnergy
¶ Bases:
pyrosetta.rosetta.core.scoring.methods.ContextDependentOneBodyEnergy
Fullatom Membrane Solvation Energy - Statistically Derived, and smoothed derivatives
-
__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.membrane.FaMPEnvSmoothEnergy) -> None
- __init__(self: pyrosetta.rosetta.core.scoring.membrane.FaMPEnvSmoothEnergy, arg0: pyrosetta.rosetta.core.scoring.membrane.FaMPEnvSmoothEnergy) -> 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.core.scoring.membrane.FaMPEnvSmoothEnergy, : pyrosetta.rosetta.core.scoring.membrane.FaMPEnvSmoothEnergy) → pyrosetta.rosetta.core.scoring.membrane.FaMPEnvSmoothEnergy¶ C++: core::scoring::membrane::FaMPEnvSmoothEnergy::operator=(const class core::scoring::membrane::FaMPEnvSmoothEnergy &) –> class core::scoring::membrane::FaMPEnvSmoothEnergy &
-
atomic_interaction_cutoff
(self: pyrosetta.rosetta.core.scoring.membrane.FaMPEnvSmoothEnergy) → float¶ Unused by the FaMPEnvSmoothEnergy class, returns 0
C++: core::scoring::membrane::FaMPEnvSmoothEnergy::atomic_interaction_cutoff() const –> double
-
clone
(self: pyrosetta.rosetta.core.scoring.membrane.FaMPEnvSmoothEnergy) → pyrosetta.rosetta.core.scoring.methods.EnergyMethod¶ Create a clone of this energy method
C++: core::scoring::membrane::FaMPEnvSmoothEnergy::clone() const –> class std::shared_ptr<class core::scoring::methods::EnergyMethod>
-
defines_dof_derivatives
(self: pyrosetta.rosetta.core.scoring.methods.OneBodyEnergy, p: pyrosetta.rosetta.core.pose.Pose) → bool¶ - Use the dof_derivative interface for this energy method when
- calculating derivatives? It is possible to define both dof_derivatives and atom-derivatives; they are not mutually exclusive.
C++: core::scoring::methods::OneBodyEnergy::defines_dof_derivatives(const class core::pose::Pose &) const –> bool
-
defines_high_order_terms
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.core.pose.Pose) → bool¶ - Should this EnergyMethod have score and derivative evaluation
- evaluated both in the context of the whole Pose and in the context of residue or residue-pairs? This covers scoring terms like env-smooth wherein the CBeta’s get derivatives for increasing the neighbor counts for surrounding residues, and terms like constraints, which are definable on arbitrary number of residues (e.g. more than 2); both of these terms could be used in RTMin, and both should use the residue and residue-pair evaluation scheme with the MinimizationGraph for the majority of the work they do. (Now, high-order constraints (3-body or above) will not be properly evaluated within RTMin.). The default implementation returns “false”.
C++: core::scoring::methods::EnergyMethod::defines_high_order_terms(const class core::pose::Pose &) const –> bool
-
defines_score_for_residue
(self: pyrosetta.rosetta.core.scoring.methods.OneBodyEnergy, : pyrosetta.rosetta.core.conformation.Residue) → bool¶ - During minimization, energy methods are allowed to decide that they say nothing
- about a particular residue (e.g. no non-zero energy) and as a result they will not be queried for a derivative or an energy. The default behavior is to return “true” for all residues.
C++: core::scoring::methods::OneBodyEnergy::defines_score_for_residue(const class core::conformation::Residue &) const –> bool
-
eval_atom_derivative
(self: pyrosetta.rosetta.core.scoring.membrane.FaMPEnvSmoothEnergy, atom_id: pyrosetta.rosetta.core.id.AtomID, pose: pyrosetta.rosetta.core.pose.Pose, : ObjexxFCL::FArray1D<int>, : pyrosetta.rosetta.core.scoring.ScoreFunction, weights: pyrosetta.rosetta.core.scoring.EMapVector, F1: pyrosetta.rosetta.numeric.xyzVector_double_t, F2: pyrosetta.rosetta.numeric.xyzVector_double_t) → None¶ Increments the F1 and F2 derivative vectors for an atom
C++: core::scoring::membrane::FaMPEnvSmoothEnergy::eval_atom_derivative(const class core::id::AtomID &, const class core::pose::Pose &, const class ObjexxFCL::FArray1D<int> &, const class core::scoring::ScoreFunction &, const class core::scoring::EMapVector &, class numeric::xyzVector<double> &, class numeric::xyzVector<double> &) const –> void
-
eval_residue_derivatives
(self: pyrosetta.rosetta.core.scoring.methods.OneBodyEnergy, rsd: pyrosetta.rosetta.core.conformation.Residue, min_data: core::scoring::ResSingleMinimizationData, pose: pyrosetta.rosetta.core.pose.Pose, weights: pyrosetta.rosetta.core.scoring.EMapVector, atom_derivs: pyrosetta.rosetta.utility.vector1_core_scoring_DerivVectorPair) → None¶ - Evaluate the derivatives for all atoms on this residue and increment them
- into the input atom_derivs vector1. The calling function must guarantee that setup for derivatives is called before this function is, and that the atom_derivs vector contains at least as many entries as there are atoms in the input Residue. This base class provides a default noop implementation of this function.
C++: core::scoring::methods::OneBodyEnergy::eval_residue_derivatives(const class core::conformation::Residue &, const class core::scoring::ResSingleMinimizationData &, const class core::pose::Pose &, const class core::scoring::EMapVector &, class utility::vector1<class core::scoring::DerivVectorPair, class std::allocator<class core::scoring::DerivVectorPair> > &) const –> void
-
eval_residue_dof_derivative
(self: pyrosetta.rosetta.core.scoring.methods.OneBodyEnergy, rsd: pyrosetta.rosetta.core.conformation.Residue, min_data: core::scoring::ResSingleMinimizationData, dof_id: pyrosetta.rosetta.core.id.DOF_ID, torsion_id: pyrosetta.rosetta.core.id.TorsionID, pose: pyrosetta.rosetta.core.pose.Pose, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction, weights: pyrosetta.rosetta.core.scoring.EMapVector) → float¶ - Evaluate the DOF derivative for a particular residue. The Pose merely serves as context,
- and the input residue is not required to be a member of the Pose.
C++: core::scoring::methods::OneBodyEnergy::eval_residue_dof_derivative(const class core::conformation::Residue &, const class core::scoring::ResSingleMinimizationData &, const class core::id::DOF_ID &, const class core::id::TorsionID &, const class core::pose::Pose &, const class core::scoring::ScoreFunction &, const class core::scoring::EMapVector &) const –> double
-
finalize_after_derivatives
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.core.scoring.ScoreFunction) → None¶ called at the end of derivatives evaluation
C++: core::scoring::methods::EnergyMethod::finalize_after_derivatives(class core::pose::Pose &, const class core::scoring::ScoreFunction &) const –> void
-
finalize_total_energy
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, pose: pyrosetta.rosetta.core.pose.Pose, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction, total_energy: pyrosetta.rosetta.core.scoring.EMapVector) → None¶ - called by the ScoreFunction at the end of energy evaluation.
- The derived class has the opportunity to accumulate a score into the pose’s total_energy EnergyMap. WholeStructure energies operate within this method; any method using a NeighborList during minimization would also operate within this function call.
C++: core::scoring::methods::EnergyMethod::finalize_total_energy(class core::pose::Pose &, const class core::scoring::ScoreFunction &, class core::scoring::EMapVector &) const –> void
-
indicate_required_context_graphs
(self: pyrosetta.rosetta.core.scoring.membrane.FaMPEnvSmoothEnergy, context_graphs_required: pyrosetta.rosetta.utility.vector1_bool) → None¶ Tells the scoring function to maintain the TwelveANeighborGraph
C++: core::scoring::membrane::FaMPEnvSmoothEnergy::indicate_required_context_graphs(class utility::vector1<bool, class std::allocator<bool> > &) const –> void
-
method_type
(self: pyrosetta.rosetta.core.scoring.methods.ContextDependentOneBodyEnergy) → pyrosetta.rosetta.core.scoring.methods.EnergyMethodType¶ - Returns the cd_1b element of the EnergyMethodType enumeration; this method
- should NOT be overridden by derived classes.
C++: core::scoring::methods::ContextDependentOneBodyEnergy::method_type() const –> enum core::scoring::methods::EnergyMethodType
-
minimize_in_whole_structure_context
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.core.pose.Pose) → bool¶ - Should this EnergyMethod have score and derivative evaluation
- evaluated only in the context of the whole Pose, or can it be included in a decomposed manner for a residue or a set of residue-pairs that are not part of the Pose that’s serving as their context? The default method implemented in the base class returns true in order to grandfather in EnergyMethods that have not had their derivatives changed to take advantage of the new derivative-evaluation machinery. Methods that return “true” will not have their residue-energy(-ext) / residue-pair-energy(-ext) methods invoked by the ScoreFunction during its traversal of the MinimizationGraph, and instead will be asked to perform all their work during finalize_total_energies(). Similarly, they will be expected to perform all their work during eval_atom_deriv() instead of during the ScoreFunction’s traversal of the MinimizationGraph for derivative evaluation. IMPORTANT: Methods that return “true” cannot be included in RTMin.
C++: core::scoring::methods::EnergyMethod::minimize_in_whole_structure_context(const class core::pose::Pose &) const –> bool
-
prepare_rotamers_for_packing
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.core.conformation.RotamerSetBase) → None¶ - If an energy method needs to cache data in a packing::RotamerSet object before
- rotamer energies are calculated, it does so during this function. The packer must ensure this function is called. The default behavior is to do nothing.
C++: core::scoring::methods::EnergyMethod::prepare_rotamers_for_packing(const class core::pose::Pose &, class core::conformation::RotamerSetBase &) const –> void
-
requires_a_setup_for_derivatives_for_residue_opportunity
(self: pyrosetta.rosetta.core.scoring.methods.OneBodyEnergy, pose: pyrosetta.rosetta.core.pose.Pose) → bool¶ - Does this EnergyMethod require the opportunity to examine the residue before derivative evaluation begins? Not
- all energy methods would. The ScoreFunction will not ask energy methods to examine residues that are uninterested in doing so.
C++: core::scoring::methods::OneBodyEnergy::requires_a_setup_for_derivatives_for_residue_opportunity(const class core::pose::Pose &) const –> bool
-
requires_a_setup_for_scoring_for_residue_opportunity_during_minimization
(self: pyrosetta.rosetta.core.scoring.methods.OneBodyEnergy, pose: pyrosetta.rosetta.core.pose.Pose) → bool¶ - Does this EnergyMethod require the opportunity to examine the residue before scoring begins? Not
- all energy methods would. The ScoreFunction will not ask energy methods to examine residues that are uninterested in doing so.
C++: core::scoring::methods::OneBodyEnergy::requires_a_setup_for_scoring_for_residue_opportunity_during_minimization(const class core::pose::Pose &) const –> bool
-
requires_a_setup_for_scoring_for_residue_opportunity_during_regular_scoring
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, pose: pyrosetta.rosetta.core.pose.Pose) → bool¶ - Does this EnergyMethod require the opportunity to examine the residue before (regular) scoring begins? Not
- all energy methods would. The ScoreFunction will not ask energy methods to examine residues that are uninterested in doing so. The default implmentation of this function returns false
C++: core::scoring::methods::EnergyMethod::requires_a_setup_for_scoring_for_residue_opportunity_during_regular_scoring(const class core::pose::Pose &) const –> bool
-
residue_energy
(self: pyrosetta.rosetta.core.scoring.membrane.FaMPEnvSmoothEnergy, rsd: pyrosetta.rosetta.core.conformation.Residue, : pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.core.scoring.EMapVector) → None¶ Evaluates the one-body energy for a residue
C++: core::scoring::membrane::FaMPEnvSmoothEnergy::residue_energy(const class core::conformation::Residue &, const class core::pose::Pose &, class core::scoring::EMapVector &) const –> void
-
residue_energy_ext
(self: pyrosetta.rosetta.core.scoring.methods.OneBodyEnergy, rsd: pyrosetta.rosetta.core.conformation.Residue, min_data: core::scoring::ResSingleMinimizationData, pose: pyrosetta.rosetta.core.pose.Pose, emap: pyrosetta.rosetta.core.scoring.EMapVector) → None¶ - Evaluate the one-body energies for a particular residue, in the context of a
- given Pose, and with the help of a piece of cached data for minimization, increment those one body energies into the input EnergyMap. The calling function must guarantee that this EnergyMethod has had the opportunity to update the input ResSingleMinimizationData object for the given residue in a call to setup_for_minimizing_for_residue before this function is invoked. This function should not be called unless the use_extended_residue_energy_interface() method returns “true”. Default implementation provided by this base class calls utility::exit(). The Pose merely serves as context, and the input residue is not required to be a member of the Pose.
C++: core::scoring::methods::OneBodyEnergy::residue_energy_ext(const class core::conformation::Residue &, const class core::scoring::ResSingleMinimizationData &, const class core::pose::Pose &, class core::scoring::EMapVector &) const –> void
-
score_types
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod) → pyrosetta.rosetta.utility.vector1_core_scoring_ScoreType¶ Returns the score types that this energy method computes.
C++: core::scoring::methods::EnergyMethod::score_types() const –> const class utility::vector1<enum core::scoring::ScoreType, class std::allocator<enum core::scoring::ScoreType> > &
-
setup_for_derivatives
(self: pyrosetta.rosetta.core.scoring.membrane.FaMPEnvSmoothEnergy, pose: pyrosetta.rosetta.core.pose.Pose, sf: pyrosetta.rosetta.core.scoring.ScoreFunction) → None¶ Causes a neighbor graph update
C++: core::scoring::membrane::FaMPEnvSmoothEnergy::setup_for_derivatives(class core::pose::Pose &, const class core::scoring::ScoreFunction &) const –> void
-
setup_for_derivatives_for_residue
(self: pyrosetta.rosetta.core.scoring.methods.OneBodyEnergy, rsd: pyrosetta.rosetta.core.conformation.Residue, pose: pyrosetta.rosetta.core.pose.Pose, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction, min_data: core::scoring::ResSingleMinimizationData, res_data_cache: pyrosetta.rosetta.basic.datacache.BasicDataCache) → None¶ Do any setup work necessary before evaluating the derivatives for this residue
C++: core::scoring::methods::OneBodyEnergy::setup_for_derivatives_for_residue(const class core::conformation::Residue &, const class core::pose::Pose &, const class core::scoring::ScoreFunction &, class core::scoring::ResSingleMinimizationData &, class basic::datacache::BasicDataCache &) const –> void
-
setup_for_minimizing
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.core.scoring.ScoreFunction, : pyrosetta.rosetta.core.kinematics.MinimizerMapBase) → None¶ - Called at the beginning of atom tree minimization, this method
- allows the derived class the opportunity to initialize pertinent data that will be used during minimization. During minimzation, the chemical structure of the pose is constant, so assumptions on the number of atoms per residue and their identities are safe so long as the pose’s Energies object’s “use_nblist()” method returns true.
C++: core::scoring::methods::EnergyMethod::setup_for_minimizing(class core::pose::Pose &, const class core::scoring::ScoreFunction &, const class core::kinematics::MinimizerMapBase &) const –> void
-
setup_for_minimizing_for_residue
(self: pyrosetta.rosetta.core.scoring.methods.OneBodyEnergy, rsd: pyrosetta.rosetta.core.conformation.Residue, : pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.core.scoring.ScoreFunction, : pyrosetta.rosetta.core.kinematics.MinimizerMapBase, : pyrosetta.rosetta.basic.datacache.BasicDataCache, : core::scoring::ResSingleMinimizationData) → None¶ - Called at the beginning of minimization, allowing this energy method to cache data
- pertinent for a single residue in the the ResSingleMinimizationData that is used for a particular residue in the context of a particular Pose. This base class provides a noop implementation for this function if there is nothing that the derived class needs to perform in this setup phase. The Pose merely serves as context, and the input residue is not required to be a member of the Pose.
C++: core::scoring::methods::OneBodyEnergy::setup_for_minimizing_for_residue(const class core::conformation::Residue &, const class core::pose::Pose &, const class core::scoring::ScoreFunction &, const class core::kinematics::MinimizerMapBase &, class basic::datacache::BasicDataCache &, class core::scoring::ResSingleMinimizationData &) const –> void
-
setup_for_packing
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.utility.vector1_bool, : pyrosetta.rosetta.utility.vector1_bool) → None¶ - if an energy method needs to cache data in the Energies object,
- before packing begins, then it does so during this function. The packer must ensure this function is called. The default behavior is to do nothing.
C++: core::scoring::methods::EnergyMethod::setup_for_packing(class core::pose::Pose &, const class utility::vector1<bool, class std::allocator<bool> > &, const class utility::vector1<bool, class std::allocator<bool> > &) const –> void
-
setup_for_scoring
(self: pyrosetta.rosetta.core.scoring.membrane.FaMPEnvSmoothEnergy, pose: pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.core.scoring.ScoreFunction) → None¶ - Computes dScore/dNumNeighbors for all residues for rapid use in later
- atom derivate calculations
C++: core::scoring::membrane::FaMPEnvSmoothEnergy::setup_for_scoring(class core::pose::Pose &, const class core::scoring::ScoreFunction &) const –> void
-
setup_for_scoring_for_residue
(*args, **kwargs)¶ Overloaded function.
- setup_for_scoring_for_residue(self: pyrosetta.rosetta.core.scoring.methods.OneBodyEnergy, rsd: pyrosetta.rosetta.core.conformation.Residue, pose: pyrosetta.rosetta.core.pose.Pose, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction, residue_data_cache: pyrosetta.rosetta.basic.datacache.BasicDataCache) -> None
- setup_for_scoring_for_residue(self: pyrosetta.rosetta.core.scoring.methods.OneBodyEnergy, rsd: pyrosetta.rosetta.core.conformation.Residue, pose: pyrosetta.rosetta.core.pose.Pose, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction, min_data: core::scoring::ResSingleMinimizationData) -> None
- Do any setup work should the coordinates of this residue, who is still guaranteed to be
- of the same residue type as when setup_for_minimizing_for_residue was called, have changed so dramatically as to possibly require some amount of setup work before scoring should proceed
C++: core::scoring::methods::OneBodyEnergy::setup_for_scoring_for_residue(const class core::conformation::Residue &, const class core::pose::Pose &, const class core::scoring::ScoreFunction &, class core::scoring::ResSingleMinimizationData &) const –> void
-
show_additional_info
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.std.ostream, : pyrosetta.rosetta.core.pose.Pose, : bool) → None¶ show additional information of the energy method
C++: core::scoring::methods::EnergyMethod::show_additional_info(class std::basic_ostream<char> &, class core::pose::Pose &, bool) const –> void
-
update_residue_for_packing
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.core.pose.Pose, resid: int) → None¶ - If the pose changes in the middle of a packing (as happens in rotamer trials) and if
- an energy method needs to cache data in the pose that corresponds to its current state, then the method must update that data when this function is called. The packer must ensure this function gets called. The default behavior is to do nothing.
C++: core::scoring::methods::EnergyMethod::update_residue_for_packing(class core::pose::Pose &, unsigned long) const –> void
-
use_extended_residue_energy_interface
(self: pyrosetta.rosetta.core.scoring.methods.OneBodyEnergy) → bool¶ - Rely on the extended version of the residue_energy function during score-function
- evaluation in minimization? The extended version (below) takes a ResSingleMinimizationData. Return ‘true’ for the extended version. The default method implemented in this class returns ‘false’
C++: core::scoring::methods::OneBodyEnergy::use_extended_residue_energy_interface() const –> bool
-
version
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod) → int¶ Return the version of the energy method
C++: core::scoring::methods::EnergyMethod::version() const –> unsigned long
-
-
class
pyrosetta.rosetta.core.scoring.membrane.
FaMPEnvSmoothEnergyCreator
¶ Bases:
pyrosetta.rosetta.core.scoring.methods.EnergyMethodCreator
Membrane Termini Penalty Creator Class
-
__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.membrane.FaMPEnvSmoothEnergyCreator) → 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.core.scoring.membrane.FaMPEnvSmoothEnergyCreator, : pyrosetta.rosetta.core.scoring.membrane.FaMPEnvSmoothEnergyCreator) → pyrosetta.rosetta.core.scoring.membrane.FaMPEnvSmoothEnergyCreator¶ C++: core::scoring::membrane::FaMPEnvSmoothEnergyCreator::operator=(const class core::scoring::membrane::FaMPEnvSmoothEnergyCreator &) –> class core::scoring::membrane::FaMPEnvSmoothEnergyCreator &
-
create_energy_method
(self: pyrosetta.rosetta.core.scoring.membrane.FaMPEnvSmoothEnergyCreator, : pyrosetta.rosetta.core.scoring.methods.EnergyMethodOptions) → pyrosetta.rosetta.core.scoring.methods.EnergyMethod¶ Instantiate a new FaMPEnvSmoothEnergy
C++: core::scoring::membrane::FaMPEnvSmoothEnergyCreator::create_energy_method(const class core::scoring::methods::EnergyMethodOptions &) const –> class std::shared_ptr<class core::scoring::methods::EnergyMethod>
-
score_types_for_method
(self: pyrosetta.rosetta.core.scoring.membrane.FaMPEnvSmoothEnergyCreator) → pyrosetta.rosetta.utility.vector1_core_scoring_ScoreType¶ - Return the set of score types claimed by the EnergyMethod
- this EnergyMethodCreator creates in its create_energy_method() function
C++: core::scoring::membrane::FaMPEnvSmoothEnergyCreator::score_types_for_method() const –> class utility::vector1<enum core::scoring::ScoreType, class std::allocator<enum core::scoring::ScoreType> >
-
-
class
pyrosetta.rosetta.core.scoring.membrane.
FaMPSolvEnergy
¶ Bases:
pyrosetta.rosetta.core.scoring.methods.ContextDependentTwoBodyEnergy
Energy Method: Membrane Fullaotm Solvation Energy (LK)
-
__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.membrane.FaMPSolvEnergy, etable_in: pyrosetta.rosetta.std.weak_ptr_const_core_scoring_etable_Etable_t, memb_etable_in: pyrosetta.rosetta.std.weak_ptr_const_core_scoring_etable_MembEtable_t) -> None
- __init__(self: pyrosetta.rosetta.core.scoring.membrane.FaMPSolvEnergy, arg0: pyrosetta.rosetta.core.scoring.membrane.FaMPSolvEnergy) -> 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.core.scoring.methods.ContextDependentTwoBodyEnergy, : pyrosetta.rosetta.core.scoring.methods.ContextDependentTwoBodyEnergy) → pyrosetta.rosetta.core.scoring.methods.ContextDependentTwoBodyEnergy¶ C++: core::scoring::methods::ContextDependentTwoBodyEnergy::operator=(const class core::scoring::methods::ContextDependentTwoBodyEnergy &) –> class core::scoring::methods::ContextDependentTwoBodyEnergy &
-
atomic_interaction_cutoff
(self: pyrosetta.rosetta.core.scoring.membrane.FaMPSolvEnergy) → float¶ Specify Interaction Cutoff for computing pair energies
C++: core::scoring::membrane::FaMPSolvEnergy::atomic_interaction_cutoff() const –> double
-
backbone_backbone_energy
(self: pyrosetta.rosetta.core.scoring.methods.TwoBodyEnergy, rsd1: pyrosetta.rosetta.core.conformation.Residue, rsd2: pyrosetta.rosetta.core.conformation.Residue, pose: pyrosetta.rosetta.core.pose.Pose, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction, emap: pyrosetta.rosetta.core.scoring.EMapVector) → None¶ - Evaluate the interaction between the backbone of rsd1 and the
- backbone of rsd2 and accumulate the unweighted energies. The sum bb_bb(r1,r2) + bb_sc(r1,r2) + bb_sc(r2,r1) + sc_sc( r1,r2) must equal the weighted result of a call to residue_pair_energy. By default, bb_bb & bb_sc return 0 and sc_sc returns residue pair energy.
C++: core::scoring::methods::TwoBodyEnergy::backbone_backbone_energy(const class core::conformation::Residue &, const class core::conformation::Residue &, const class core::pose::Pose &, const class core::scoring::ScoreFunction &, class core::scoring::EMapVector &) const –> void
-
backbone_sidechain_energy
(self: pyrosetta.rosetta.core.scoring.methods.TwoBodyEnergy, rsd1: pyrosetta.rosetta.core.conformation.Residue, rsd2: pyrosetta.rosetta.core.conformation.Residue, pose: pyrosetta.rosetta.core.pose.Pose, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction, emap: pyrosetta.rosetta.core.scoring.EMapVector) → None¶ - Evaluate the interaction between the backbone of rsd1 and the
- sidechain of rsd2 and accumulate the unweighted energies. The sum bb_bb(r1,r2) + bb_sc(r1,r2) + bb_sc(r2,r1) + sc_sc( r1,r2) must equal the unweighted result of a call to residue_pair_energy. By default, bb_bb & bb_sc return 0 and sc_sc returns residue pair energy.
C++: core::scoring::methods::TwoBodyEnergy::backbone_sidechain_energy(const class core::conformation::Residue &, const class core::conformation::Residue &, const class core::pose::Pose &, const class core::scoring::ScoreFunction &, class core::scoring::EMapVector &) const –> void
-
bump_energy_backbone
(self: pyrosetta.rosetta.core.scoring.methods.TwoBodyEnergy, : pyrosetta.rosetta.core.conformation.Residue, : pyrosetta.rosetta.core.conformation.Residue, : pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.core.scoring.ScoreFunction, : pyrosetta.rosetta.core.scoring.EMapVector) → None¶ C++: core::scoring::methods::TwoBodyEnergy::bump_energy_backbone(const class core::conformation::Residue &, const class core::conformation::Residue &, const class core::pose::Pose &, const class core::scoring::ScoreFunction &, class core::scoring::EMapVector &) const –> void
-
bump_energy_full
(self: pyrosetta.rosetta.core.scoring.methods.TwoBodyEnergy, : pyrosetta.rosetta.core.conformation.Residue, : pyrosetta.rosetta.core.conformation.Residue, : pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.core.scoring.ScoreFunction, : pyrosetta.rosetta.core.scoring.EMapVector) → None¶ C++: core::scoring::methods::TwoBodyEnergy::bump_energy_full(const class core::conformation::Residue &, const class core::conformation::Residue &, const class core::pose::Pose &, const class core::scoring::ScoreFunction &, class core::scoring::EMapVector &) const –> void
-
clone
(self: pyrosetta.rosetta.core.scoring.membrane.FaMPSolvEnergy) → pyrosetta.rosetta.core.scoring.methods.EnergyMethod¶ Clone Energy Method
C++: core::scoring::membrane::FaMPSolvEnergy::clone() const –> class std::shared_ptr<class core::scoring::methods::EnergyMethod>
-
defines_high_order_terms
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.core.pose.Pose) → bool¶ - Should this EnergyMethod have score and derivative evaluation
- evaluated both in the context of the whole Pose and in the context of residue or residue-pairs? This covers scoring terms like env-smooth wherein the CBeta’s get derivatives for increasing the neighbor counts for surrounding residues, and terms like constraints, which are definable on arbitrary number of residues (e.g. more than 2); both of these terms could be used in RTMin, and both should use the residue and residue-pair evaluation scheme with the MinimizationGraph for the majority of the work they do. (Now, high-order constraints (3-body or above) will not be properly evaluated within RTMin.). The default implementation returns “false”.
C++: core::scoring::methods::EnergyMethod::defines_high_order_terms(const class core::pose::Pose &) const –> bool
-
defines_intrares_dof_derivatives
(self: pyrosetta.rosetta.core.scoring.methods.TwoBodyEnergy, p: pyrosetta.rosetta.core.pose.Pose) → bool¶ - Use the dof_derivative interface for this energy method when
- calculating derivatives? It is possible to define both dof_derivatives and atom-derivatives; they are not mutually exclusive.
C++: core::scoring::methods::TwoBodyEnergy::defines_intrares_dof_derivatives(const class core::pose::Pose &) const –> bool
-
defines_intrares_energy
(self: pyrosetta.rosetta.core.scoring.membrane.FaMPSolvEnergy, : pyrosetta.rosetta.core.scoring.EMapVector) → bool¶ Define Use of Intraresidue Energies
C++: core::scoring::membrane::FaMPSolvEnergy::defines_intrares_energy(const class core::scoring::EMapVector &) const –> bool
-
defines_intrares_energy_for_residue
(self: pyrosetta.rosetta.core.scoring.methods.TwoBodyEnergy, res: pyrosetta.rosetta.core.conformation.Residue) → bool¶ - If a score function defines no intra-residue scores for a particular
- residue, then it may opt-out of being asked during minimization to evaluate the score for this residue.
C++: core::scoring::methods::TwoBodyEnergy::defines_intrares_energy_for_residue(const class core::conformation::Residue &) const –> bool
-
defines_score_for_residue_pair
(self: pyrosetta.rosetta.core.scoring.methods.TwoBodyEnergy, res1: pyrosetta.rosetta.core.conformation.Residue, res2: pyrosetta.rosetta.core.conformation.Residue, res_moving_wrt_eachother: bool) → bool¶ - During minimization, energy methods are allowed to decide that they say nothing
- about a particular residue pair (e.g. no non-zero energy) and as a result they will not be queried for a derivative or an energy. The default implementation returns “true” for all residue pairs. Context-dependent two-body energies have the option of behaving as if they are context-independent by returning “false” for residue pairs that do no move wrt each other.
C++: core::scoring::methods::TwoBodyEnergy::defines_score_for_residue_pair(const class core::conformation::Residue &, const class core::conformation::Residue &, bool) const –> bool
-
divides_backbone_and_sidechain_energetics
(self: pyrosetta.rosetta.core.scoring.methods.ShortRangeTwoBodyEnergy) → bool¶ - A derived class should return true for this function if it implements its own
- versions of the backbone_backbone_energy, backbone_sidechain_energy and sidechain_sidechain_energy functions. The default sidechain_sidechain_energy implemented by the TwoBodyEnergy base class calls residue_pair_energy. If the derived class implements its own versions of these functions, then calling code may avoid calling it on pairs of residues that are “provably distant” based on a pair of bounding spheres for a sidechains and backbones and this method’s atomic_interaction_cutoff energy method.
C++: core::scoring::methods::ShortRangeTwoBodyEnergy::divides_backbone_and_sidechain_energetics() const –> bool
-
eval_atom_derivative
(self: pyrosetta.rosetta.core.scoring.membrane.FaMPSolvEnergy, id: pyrosetta.rosetta.core.id.AtomID, pose: pyrosetta.rosetta.core.pose.Pose, domain_map: ObjexxFCL::FArray1D<int>, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction, weights: pyrosetta.rosetta.core.scoring.EMapVector, F1: pyrosetta.rosetta.numeric.xyzVector_double_t, F2: pyrosetta.rosetta.numeric.xyzVector_double_t) → None¶ Evaluate Derivatives
Called during graident-based minimization inside dfunc note: f1 and f2 are not zeroed - contributions are summedC++: core::scoring::membrane::FaMPSolvEnergy::eval_atom_derivative(const class core::id::AtomID &, const class core::pose::Pose &, const class ObjexxFCL::FArray1D<int> &, const class core::scoring::ScoreFunction &, const class core::scoring::EMapVector &, class numeric::xyzVector<double> &, class numeric::xyzVector<double> &) const –> void
-
eval_intrares_derivatives
(self: pyrosetta.rosetta.core.scoring.methods.TwoBodyEnergy, rsd: pyrosetta.rosetta.core.conformation.Residue, min_data: pyrosetta.rosetta.core.scoring.ResSingleMinimizationData, pose: pyrosetta.rosetta.core.pose.Pose, weights: pyrosetta.rosetta.core.scoring.EMapVector, atom_derivs: pyrosetta.rosetta.utility.vector1_core_scoring_DerivVectorPair) → None¶ - Evaluate the derivative for the intra-residue component of this energy method
- for all the atoms in a residue in the context of a particular pose, and increment the F1 and F2 vectors held in the atom_derivs vector1. This base class provides a default noop implementation of this function. The calling function must guarantee that this EnergyMethod has had the opportunity to update the input ResSingleMinimizationData object for the given residue in a call to prepare_for_minimization before this function is invoked. The calling function must also guarantee that there are at least as many entries in the atom_derivs vector1 as there are atoms in the input rsd.
C++: core::scoring::methods::TwoBodyEnergy::eval_intrares_derivatives(const class core::conformation::Residue &, const class core::scoring::ResSingleMinimizationData &, const class core::pose::Pose &, const class core::scoring::EMapVector &, class utility::vector1<class core::scoring::DerivVectorPair, class std::allocator<class core::scoring::DerivVectorPair> > &) const –> void
-
eval_intrares_energy
(self: pyrosetta.rosetta.core.scoring.membrane.FaMPSolvEnergy, : pyrosetta.rosetta.core.conformation.Residue, : pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.core.scoring.ScoreFunction, emap: pyrosetta.rosetta.core.scoring.EMapVector) → None¶ Evaluate Intra-Residue Energies
C++: core::scoring::membrane::FaMPSolvEnergy::eval_intrares_energy(const class core::conformation::Residue &, const class core::pose::Pose &, const class core::scoring::ScoreFunction &, class core::scoring::EMapVector &) const –> void
-
eval_intrares_energy_ext
(self: pyrosetta.rosetta.core.scoring.methods.TwoBodyEnergy, rsd: pyrosetta.rosetta.core.conformation.Residue, data_cache: pyrosetta.rosetta.core.scoring.ResSingleMinimizationData, pose: pyrosetta.rosetta.core.pose.Pose, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction, emap: pyrosetta.rosetta.core.scoring.EMapVector) → None¶ - Evaluate the intra-residue energy for a given residue using the data held within the
- ResSingleMinimizationData object. This function should be invoked only on derived instances of this class if they return “true” in a call to their use_extended_intrares_energy_interface method. This base class provides a noop implementation for classes that do not implement this interface, or that do not define intrares energies.
C++: core::scoring::methods::TwoBodyEnergy::eval_intrares_energy_ext(const class core::conformation::Residue &, const class core::scoring::ResSingleMinimizationData &, const class core::pose::Pose &, const class core::scoring::ScoreFunction &, class core::scoring::EMapVector &) const –> void
-
eval_intraresidue_dof_derivative
(self: pyrosetta.rosetta.core.scoring.methods.TwoBodyEnergy, rsd: pyrosetta.rosetta.core.conformation.Residue, min_data: pyrosetta.rosetta.core.scoring.ResSingleMinimizationData, dof_id: pyrosetta.rosetta.core.id.DOF_ID, torsion_id: pyrosetta.rosetta.core.id.TorsionID, pose: pyrosetta.rosetta.core.pose.Pose, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction, weights: pyrosetta.rosetta.core.scoring.EMapVector) → float¶ - Evaluate the DOF derivative for a particular residue. The Pose merely serves as context,
- and the input residue is not required to be a member of the Pose.
C++: core::scoring::methods::TwoBodyEnergy::eval_intraresidue_dof_derivative(const class core::conformation::Residue &, const class core::scoring::ResSingleMinimizationData &, const class core::id::DOF_ID &, const class core::id::TorsionID &, const class core::pose::Pose &, const class core::scoring::ScoreFunction &, const class core::scoring::EMapVector &) const –> double
-
eval_residue_pair_derivatives
(self: pyrosetta.rosetta.core.scoring.methods.TwoBodyEnergy, rsd1: pyrosetta.rosetta.core.conformation.Residue, rsd2: pyrosetta.rosetta.core.conformation.Residue, : pyrosetta.rosetta.core.scoring.ResSingleMinimizationData, : pyrosetta.rosetta.core.scoring.ResSingleMinimizationData, min_data: pyrosetta.rosetta.core.scoring.ResPairMinimizationData, pose: pyrosetta.rosetta.core.pose.Pose, weights: pyrosetta.rosetta.core.scoring.EMapVector, r1_atom_derivs: pyrosetta.rosetta.utility.vector1_core_scoring_DerivVectorPair, r2_atom_derivs: pyrosetta.rosetta.utility.vector1_core_scoring_DerivVectorPair) → None¶ - Evaluate the derivatives for all atoms on rsd1 and rsd2 with respect
- to each other and increment the derivatives in atom-derivatives vector1s. The calling function must guarantee that the r1_atom_derivs vector1 holds at least as many entries as there are atoms in rsd1, and that the r2_atom_derivs vector1 holds at least as many entries as there are atoms in rsd2.
C++: core::scoring::methods::TwoBodyEnergy::eval_residue_pair_derivatives(const class core::conformation::Residue &, const class core::conformation::Residue &, const class core::scoring::ResSingleMinimizationData &, const class core::scoring::ResSingleMinimizationData &, const class core::scoring::ResPairMinimizationData &, const class core::pose::Pose &, const class core::scoring::EMapVector &, class utility::vector1<class core::scoring::DerivVectorPair, class std::allocator<class core::scoring::DerivVectorPair> > &, class utility::vector1<class core::scoring::DerivVectorPair, class std::allocator<class core::scoring::DerivVectorPair> > &) const –> void
-
evaluate_rotamer_background_energies
(self: pyrosetta.rosetta.core.scoring.methods.ShortRangeTwoBodyEnergy, set: pyrosetta.rosetta.core.conformation.RotamerSetBase, residue: pyrosetta.rosetta.core.conformation.Residue, pose: pyrosetta.rosetta.core.pose.Pose, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction, weights: pyrosetta.rosetta.core.scoring.EMapVector, energy_vector: pyrosetta.rosetta.utility.vector1_float) → None¶ - Batch computation of rotamer/background energies. Need not be overriden
- in derived class – by default, iterates over all rotamers in the set, and calls derived class’s residue_pair_energy method for each one against the background rotamer Since short range rotamer pairs may not need calculation, the default method looks at blocks of residue type pairs and only calls the residue_pair_energy method if the rotamer pairs are within range
C++: core::scoring::methods::ShortRangeTwoBodyEnergy::evaluate_rotamer_background_energies(const class core::conformation::RotamerSetBase &, const class core::conformation::Residue &, const class core::pose::Pose &, const class core::scoring::ScoreFunction &, const class core::scoring::EMapVector &, class utility::vector1<float, class std::allocator<float> > &) const –> void
-
evaluate_rotamer_background_energy_maps
(self: pyrosetta.rosetta.core.scoring.methods.ShortRangeTwoBodyEnergy, set: pyrosetta.rosetta.core.conformation.RotamerSetBase, residue: pyrosetta.rosetta.core.conformation.Residue, pose: pyrosetta.rosetta.core.pose.Pose, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction, weights: pyrosetta.rosetta.core.scoring.EMapVector, emaps: pyrosetta.rosetta.utility.vector1_core_scoring_EMapVector) → None¶ - Batch computation of rotamer/background energies. Need not be overriden
- in derived class – by default, iterates over all rotamers in the set, and calls derived class’s residue_pair_energy method for each one against the background rotamer Since short range rotamer pairs may not need calculation, the default method looks at blocks of residue type pairs and only calls the residue_pair_energy method if the rotamer pairs are within range
C++: core::scoring::methods::ShortRangeTwoBodyEnergy::evaluate_rotamer_background_energy_maps(const class core::conformation::RotamerSetBase &, const class core::conformation::Residue &, const class core::pose::Pose &, const class core::scoring::ScoreFunction &, const class core::scoring::EMapVector &, class utility::vector1<class core::scoring::EMapVector, class std::allocator<class core::scoring::EMapVector> > &) const –> void
-
evaluate_rotamer_intrares_energies
(self: pyrosetta.rosetta.core.scoring.methods.TwoBodyEnergy, set: pyrosetta.rosetta.core.conformation.RotamerSetBase, pose: pyrosetta.rosetta.core.pose.Pose, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction, energies: pyrosetta.rosetta.utility.vector1_float) → None¶ - Batch computation of rotamer intrares energies. Need not be overriden in
- derived class – by default, iterates over all rotamers, and calls derived class’s intrares _energy method.
C++: core::scoring::methods::TwoBodyEnergy::evaluate_rotamer_intrares_energies(const class core::conformation::RotamerSetBase &, const class core::pose::Pose &, const class core::scoring::ScoreFunction &, class utility::vector1<float, class std::allocator<float> > &) const –> void
-
evaluate_rotamer_intrares_energy_maps
(self: pyrosetta.rosetta.core.scoring.methods.TwoBodyEnergy, set: pyrosetta.rosetta.core.conformation.RotamerSetBase, pose: pyrosetta.rosetta.core.pose.Pose, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction, emaps: pyrosetta.rosetta.utility.vector1_core_scoring_EMapVector) → None¶ - Batch computation of rotamer intrares energy map. Need not be overriden in
- derived class – by default, iterates over all rotamers, and calls derived class’s intrares _energy method.
C++: core::scoring::methods::TwoBodyEnergy::evaluate_rotamer_intrares_energy_maps(const class core::conformation::RotamerSetBase &, const class core::pose::Pose &, const class core::scoring::ScoreFunction &, class utility::vector1<class core::scoring::EMapVector, class std::allocator<class core::scoring::EMapVector> > &) const –> void
-
evaluate_rotamer_pair_energies
(self: pyrosetta.rosetta.core.scoring.methods.ShortRangeTwoBodyEnergy, set1: pyrosetta.rosetta.core.conformation.RotamerSetBase, set2: pyrosetta.rosetta.core.conformation.RotamerSetBase, pose: pyrosetta.rosetta.core.pose.Pose, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction, weights: pyrosetta.rosetta.core.scoring.EMapVector, energy_table: ObjexxFCL::FArray2D<float>) → None¶ - Batch computation of rotamer pair energies. Need not be overriden in
- derived class – by default, iterates over all pairs of rotamers, and calls derived class’s residue_pair_energy method. Since short range rotamer pairs may not need calculation, the default method looks at blocks of residue type pairs and only calls the residue_pair_energy method if the rotamer pairs are within range
C++: core::scoring::methods::ShortRangeTwoBodyEnergy::evaluate_rotamer_pair_energies(const class core::conformation::RotamerSetBase &, const class core::conformation::RotamerSetBase &, const class core::pose::Pose &, const class core::scoring::ScoreFunction &, const class core::scoring::EMapVector &, class ObjexxFCL::FArray2D<float> &) const –> void
-
finalize_after_derivatives
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.core.scoring.ScoreFunction) → None¶ called at the end of derivatives evaluation
C++: core::scoring::methods::EnergyMethod::finalize_after_derivatives(class core::pose::Pose &, const class core::scoring::ScoreFunction &) const –> void
-
finalize_total_energy
(self: pyrosetta.rosetta.core.scoring.membrane.FaMPSolvEnergy, pose: pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.core.scoring.ScoreFunction, emap: pyrosetta.rosetta.core.scoring.EMapVector) → None¶ Finalize method after computing totals
C++: core::scoring::membrane::FaMPSolvEnergy::finalize_total_energy(class core::pose::Pose &, const class core::scoring::ScoreFunction &, class core::scoring::EMapVector &) const –> void
-
indicate_required_context_graphs
(self: pyrosetta.rosetta.core.scoring.membrane.FaMPSolvEnergy, context_graphs_required: pyrosetta.rosetta.utility.vector1_bool) → None¶ Provide context graphs
C++: core::scoring::membrane::FaMPSolvEnergy::indicate_required_context_graphs(class utility::vector1<bool, class std::allocator<bool> > &) const –> void
-
method_type
(self: pyrosetta.rosetta.core.scoring.methods.ContextDependentTwoBodyEnergy) → pyrosetta.rosetta.core.scoring.methods.EnergyMethodType¶ C++: core::scoring::methods::ContextDependentTwoBodyEnergy::method_type() const –> enum core::scoring::methods::EnergyMethodType
-
minimize_in_whole_structure_context
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.core.pose.Pose) → bool¶ - Should this EnergyMethod have score and derivative evaluation
- evaluated only in the context of the whole Pose, or can it be included in a decomposed manner for a residue or a set of residue-pairs that are not part of the Pose that’s serving as their context? The default method implemented in the base class returns true in order to grandfather in EnergyMethods that have not had their derivatives changed to take advantage of the new derivative-evaluation machinery. Methods that return “true” will not have their residue-energy(-ext) / residue-pair-energy(-ext) methods invoked by the ScoreFunction during its traversal of the MinimizationGraph, and instead will be asked to perform all their work during finalize_total_energies(). Similarly, they will be expected to perform all their work during eval_atom_deriv() instead of during the ScoreFunction’s traversal of the MinimizationGraph for derivative evaluation. IMPORTANT: Methods that return “true” cannot be included in RTMin.
C++: core::scoring::methods::EnergyMethod::minimize_in_whole_structure_context(const class core::pose::Pose &) const –> bool
-
prepare_rotamers_for_packing
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.core.conformation.RotamerSetBase) → None¶ - If an energy method needs to cache data in a packing::RotamerSet object before
- rotamer energies are calculated, it does so during this function. The packer must ensure this function is called. The default behavior is to do nothing.
C++: core::scoring::methods::EnergyMethod::prepare_rotamers_for_packing(const class core::pose::Pose &, class core::conformation::RotamerSetBase &) const –> void
-
requires_a_setup_for_derivatives_for_residue_opportunity
(self: pyrosetta.rosetta.core.scoring.methods.TwoBodyEnergy, pose: pyrosetta.rosetta.core.pose.Pose) → bool¶ - Does this EnergyMethod require the opportunity to examine each residue before derivative evaluation begins? Not
- all energy methods would. The ScoreFunction will not ask energy methods to examine residue pairs that are uninterested in doing so.
C++: core::scoring::methods::TwoBodyEnergy::requires_a_setup_for_derivatives_for_residue_opportunity(const class core::pose::Pose &) const –> bool
-
requires_a_setup_for_derivatives_for_residue_pair_opportunity
(self: pyrosetta.rosetta.core.scoring.methods.TwoBodyEnergy, pose: pyrosetta.rosetta.core.pose.Pose) → bool¶ - Does this EnergyMethod require the opportunity to examine each residue pair before derivative evaluation begins? Not
- all energy methods would. The ScoreFunction will not ask energy methods to examine residue pairs that are uninterested in doing so.
C++: core::scoring::methods::TwoBodyEnergy::requires_a_setup_for_derivatives_for_residue_pair_opportunity(const class core::pose::Pose &) const –> bool
-
requires_a_setup_for_scoring_for_residue_opportunity_during_minimization
(self: pyrosetta.rosetta.core.scoring.methods.TwoBodyEnergy, pose: pyrosetta.rosetta.core.pose.Pose) → bool¶ - Does this EnergyMethod require the opportunity to examine the residue before scoring begins? Not
- all energy methods would. The ScoreFunction will not ask energy methods to examine residues that are uninterested in doing so.
C++: core::scoring::methods::TwoBodyEnergy::requires_a_setup_for_scoring_for_residue_opportunity_during_minimization(const class core::pose::Pose &) const –> bool
-
requires_a_setup_for_scoring_for_residue_opportunity_during_regular_scoring
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, pose: pyrosetta.rosetta.core.pose.Pose) → bool¶ - Does this EnergyMethod require the opportunity to examine the residue before (regular) scoring begins? Not
- all energy methods would. The ScoreFunction will not ask energy methods to examine residues that are uninterested in doing so. The default implmentation of this function returns false
C++: core::scoring::methods::EnergyMethod::requires_a_setup_for_scoring_for_residue_opportunity_during_regular_scoring(const class core::pose::Pose &) const –> bool
-
requires_a_setup_for_scoring_for_residue_pair_opportunity
(self: pyrosetta.rosetta.core.scoring.methods.TwoBodyEnergy, pose: pyrosetta.rosetta.core.pose.Pose) → bool¶ - Does this EnergyMethod require the opportunity to examine each residue pair before scoring begins? Not
- all energy methods would. The ScoreFunction will not ask energy methods to examine residue pairs that are uninterested in doing so.
C++: core::scoring::methods::TwoBodyEnergy::requires_a_setup_for_scoring_for_residue_pair_opportunity(const class core::pose::Pose &) const –> bool
-
residue_pair_energy
(self: pyrosetta.rosetta.core.scoring.membrane.FaMPSolvEnergy, rsd1: pyrosetta.rosetta.core.conformation.Residue, rsd2: pyrosetta.rosetta.core.conformation.Residue, pose: pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.core.scoring.ScoreFunction, emap: pyrosetta.rosetta.core.scoring.EMapVector) → None¶ Compute Residue Pair Energy
C++: core::scoring::membrane::FaMPSolvEnergy::residue_pair_energy(const class core::conformation::Residue &, const class core::conformation::Residue &, const class core::pose::Pose &, const class core::scoring::ScoreFunction &, class core::scoring::EMapVector &) const –> void
-
residue_pair_energy_ext
(self: pyrosetta.rosetta.core.scoring.methods.TwoBodyEnergy, rsd1: pyrosetta.rosetta.core.conformation.Residue, rsd2: pyrosetta.rosetta.core.conformation.Residue, min_data: pyrosetta.rosetta.core.scoring.ResPairMinimizationData, pose: pyrosetta.rosetta.core.pose.Pose, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction, emap: pyrosetta.rosetta.core.scoring.EMapVector) → None¶ - Evaluate the two-body energies for a particular residue, in the context of a
- given Pose, and with the help of a piece of cached data for minimization, increment those two body energies into the input EnergyMap. The calling function must guarantee that this EnergyMethod has had the opportunity to update the input ResPairMinimizationData object for the given residues in a call to setup_for_minimizing_for_residue_pair before this function is invoked. This function should not be called unless the use_extended_residue_pair_energy_interface() method returns “true”. Default implementation provided by this base class calls utility::exit().
C++: core::scoring::methods::TwoBodyEnergy::residue_pair_energy_ext(const class core::conformation::Residue &, const class core::conformation::Residue &, const class core::scoring::ResPairMinimizationData &, const class core::pose::Pose &, const class core::scoring::ScoreFunction &, class core::scoring::EMapVector &) const –> void
-
score_types
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod) → pyrosetta.rosetta.utility.vector1_core_scoring_ScoreType¶ Returns the score types that this energy method computes.
C++: core::scoring::methods::EnergyMethod::score_types() const –> const class utility::vector1<enum core::scoring::ScoreType, class std::allocator<enum core::scoring::ScoreType> > &
-
setup_for_derivatives
(self: pyrosetta.rosetta.core.scoring.membrane.FaMPSolvEnergy, pose: pyrosetta.rosetta.core.pose.Pose, scfxn: pyrosetta.rosetta.core.scoring.ScoreFunction) → None¶ Setup Energy Method for Derivatives
C++: core::scoring::membrane::FaMPSolvEnergy::setup_for_derivatives(class core::pose::Pose &, const class core::scoring::ScoreFunction &) const –> void
-
setup_for_derivatives_for_residue
(self: pyrosetta.rosetta.core.scoring.methods.TwoBodyEnergy, rsd: pyrosetta.rosetta.core.conformation.Residue, pose: pyrosetta.rosetta.core.pose.Pose, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction, min_data: pyrosetta.rosetta.core.scoring.ResSingleMinimizationData, res_data_cache: pyrosetta.rosetta.basic.datacache.BasicDataCache) → None¶ Do any setup work necessary before evaluating the derivatives for this residue
C++: core::scoring::methods::TwoBodyEnergy::setup_for_derivatives_for_residue(const class core::conformation::Residue &, const class core::pose::Pose &, const class core::scoring::ScoreFunction &, class core::scoring::ResSingleMinimizationData &, class basic::datacache::BasicDataCache &) const –> void
-
setup_for_derivatives_for_residue_pair
(self: pyrosetta.rosetta.core.scoring.methods.TwoBodyEnergy, rsd1: pyrosetta.rosetta.core.conformation.Residue, rsd2: pyrosetta.rosetta.core.conformation.Residue, minsingle_data1: pyrosetta.rosetta.core.scoring.ResSingleMinimizationData, minsingle_data2: pyrosetta.rosetta.core.scoring.ResSingleMinimizationData, pose: pyrosetta.rosetta.core.pose.Pose, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction, data_cache: pyrosetta.rosetta.core.scoring.ResPairMinimizationData) → None¶ Do any setup work necessary before evaluating the derivatives for this residue pair
C++: core::scoring::methods::TwoBodyEnergy::setup_for_derivatives_for_residue_pair(const class core::conformation::Residue &, const class core::conformation::Residue &, const class core::scoring::ResSingleMinimizationData &, const class core::scoring::ResSingleMinimizationData &, const class core::pose::Pose &, const class core::scoring::ScoreFunction &, class core::scoring::ResPairMinimizationData &) const –> void
-
setup_for_minimizing
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.core.scoring.ScoreFunction, : pyrosetta.rosetta.core.kinematics.MinimizerMapBase) → None¶ - Called at the beginning of atom tree minimization, this method
- allows the derived class the opportunity to initialize pertinent data that will be used during minimization. During minimzation, the chemical structure of the pose is constant, so assumptions on the number of atoms per residue and their identities are safe so long as the pose’s Energies object’s “use_nblist()” method returns true.
C++: core::scoring::methods::EnergyMethod::setup_for_minimizing(class core::pose::Pose &, const class core::scoring::ScoreFunction &, const class core::kinematics::MinimizerMapBase &) const –> void
-
setup_for_minimizing_for_residue
(self: pyrosetta.rosetta.core.scoring.methods.TwoBodyEnergy, rsd: pyrosetta.rosetta.core.conformation.Residue, pose: pyrosetta.rosetta.core.pose.Pose, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction, minmap: pyrosetta.rosetta.core.kinematics.MinimizerMapBase, residue_data_cache: pyrosetta.rosetta.basic.datacache.BasicDataCache, res_data_cache: pyrosetta.rosetta.core.scoring.ResSingleMinimizationData) → None¶ - Called at the beginning of minimization, allowing this energy method to cache data
- pertinent for a single residue in the the ResPairMinimizationData that is used for a particular residue in the context of a particular Pose. This base class provides a noop implementation for this function if there is nothing that the derived class needs to perform in this setup phase.
C++: core::scoring::methods::TwoBodyEnergy::setup_for_minimizing_for_residue(const class core::conformation::Residue &, const class core::pose::Pose &, const class core::scoring::ScoreFunction &, const class core::kinematics::MinimizerMapBase &, class basic::datacache::BasicDataCache &, class core::scoring::ResSingleMinimizationData &) const –> void
-
setup_for_minimizing_for_residue_pair
(self: pyrosetta.rosetta.core.scoring.methods.TwoBodyEnergy, rsd1: pyrosetta.rosetta.core.conformation.Residue, rsd2: pyrosetta.rosetta.core.conformation.Residue, pose: pyrosetta.rosetta.core.pose.Pose, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction, minmap: pyrosetta.rosetta.core.kinematics.MinimizerMapBase, res1_data_cache: pyrosetta.rosetta.core.scoring.ResSingleMinimizationData, res2_data_cache: pyrosetta.rosetta.core.scoring.ResSingleMinimizationData, data_cache: pyrosetta.rosetta.core.scoring.ResPairMinimizationData) → None¶ - Called at the beginning of minimization, allowing this energy method to cache data
- pertinent for a single residue in the the ResPairMinimizationData that is used for a particular residue in the context of a particular Pose. This base class provides a noop implementation for this function if there is nothing that the derived class needs to perform in this setup phase.
C++: core::scoring::methods::TwoBodyEnergy::setup_for_minimizing_for_residue_pair(const class core::conformation::Residue &, const class core::conformation::Residue &, const class core::pose::Pose &, const class core::scoring::ScoreFunction &, const class core::kinematics::MinimizerMapBase &, const class core::scoring::ResSingleMinimizationData &, const class core::scoring::ResSingleMinimizationData &, class core::scoring::ResPairMinimizationData &) const –> void
-
setup_for_packing
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.utility.vector1_bool, : pyrosetta.rosetta.utility.vector1_bool) → None¶ - if an energy method needs to cache data in the Energies object,
- before packing begins, then it does so during this function. The packer must ensure this function is called. The default behavior is to do nothing.
C++: core::scoring::methods::EnergyMethod::setup_for_packing(class core::pose::Pose &, const class utility::vector1<bool, class std::allocator<bool> > &, const class utility::vector1<bool, class std::allocator<bool> > &) const –> void
-
setup_for_scoring
(self: pyrosetta.rosetta.core.scoring.membrane.FaMPSolvEnergy, pose: pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.core.scoring.ScoreFunction) → None¶ Setup Energy Method for Scoring
C++: core::scoring::membrane::FaMPSolvEnergy::setup_for_scoring(class core::pose::Pose &, const class core::scoring::ScoreFunction &) const –> void
-
setup_for_scoring_for_residue
(*args, **kwargs)¶ Overloaded function.
- setup_for_scoring_for_residue(self: pyrosetta.rosetta.core.scoring.methods.TwoBodyEnergy, rsd: pyrosetta.rosetta.core.conformation.Residue, pose: pyrosetta.rosetta.core.pose.Pose, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction, residue_data_cache: pyrosetta.rosetta.basic.datacache.BasicDataCache) -> None
- setup_for_scoring_for_residue(self: pyrosetta.rosetta.core.scoring.methods.TwoBodyEnergy, rsd: pyrosetta.rosetta.core.conformation.Residue, pose: pyrosetta.rosetta.core.pose.Pose, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction, min_data: pyrosetta.rosetta.core.scoring.ResSingleMinimizationData) -> None
- Do any setup work should the coordinates of this residue (who is still guaranteed to be
- of the same residue type as when setup_for_minimizing_for_residue was called) have changed so dramatically as to possibly require some amount of setup work before scoring should proceed. This function is used for both intra-residue setup and pre-inter-residue setup
C++: core::scoring::methods::TwoBodyEnergy::setup_for_scoring_for_residue(const class core::conformation::Residue &, const class core::pose::Pose &, const class core::scoring::ScoreFunction &, class core::scoring::ResSingleMinimizationData &) const –> void
-
setup_for_scoring_for_residue_pair
(self: pyrosetta.rosetta.core.scoring.methods.TwoBodyEnergy, rsd1: pyrosetta.rosetta.core.conformation.Residue, rsd2: pyrosetta.rosetta.core.conformation.Residue, minsingle_data1: pyrosetta.rosetta.core.scoring.ResSingleMinimizationData, minsingle_data2: pyrosetta.rosetta.core.scoring.ResSingleMinimizationData, pose: pyrosetta.rosetta.core.pose.Pose, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction, data_cache: pyrosetta.rosetta.core.scoring.ResPairMinimizationData) → None¶ - Do any setup work should the coordinates of a pair of residues, who are still guaranteed to be
- of the same residue type as when setup_for_minimizing_for_residue was called, have changed so dramatically as to possibly require some amount of setup work before scoring should proceed
C++: core::scoring::methods::TwoBodyEnergy::setup_for_scoring_for_residue_pair(const class core::conformation::Residue &, const class core::conformation::Residue &, const class core::scoring::ResSingleMinimizationData &, const class core::scoring::ResSingleMinimizationData &, const class core::pose::Pose &, const class core::scoring::ScoreFunction &, class core::scoring::ResPairMinimizationData &) const –> void
-
show_additional_info
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.std.ostream, : pyrosetta.rosetta.core.pose.Pose, : bool) → None¶ show additional information of the energy method
C++: core::scoring::methods::EnergyMethod::show_additional_info(class std::basic_ostream<char> &, class core::pose::Pose &, bool) const –> void
-
sidechain_sidechain_energy
(self: pyrosetta.rosetta.core.scoring.methods.TwoBodyEnergy, rsd1: pyrosetta.rosetta.core.conformation.Residue, rsd2: pyrosetta.rosetta.core.conformation.Residue, pose: pyrosetta.rosetta.core.pose.Pose, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction, emap: pyrosetta.rosetta.core.scoring.EMapVector) → None¶ - Evaluate the interaction between the sidechain of rsd1 and the
- sidechain of rsd2 and accumulate the unweighted energies. The sum bb_bb(r1,r2) + bb_sc(r1,r2) + bb_sc(r2,r1) + sc_sc( r1,r2) must equal the unweighted result of a call to residue_pair_energy. By default, bb_bb & bb_sc return 0 and sc_sc returns residue pair energy.
C++: core::scoring::methods::TwoBodyEnergy::sidechain_sidechain_energy(const class core::conformation::Residue &, const class core::conformation::Residue &, const class core::pose::Pose &, const class core::scoring::ScoreFunction &, class core::scoring::EMapVector &) const –> void
-
update_residue_for_packing
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.core.pose.Pose, resid: int) → None¶ - If the pose changes in the middle of a packing (as happens in rotamer trials) and if
- an energy method needs to cache data in the pose that corresponds to its current state, then the method must update that data when this function is called. The packer must ensure this function gets called. The default behavior is to do nothing.
C++: core::scoring::methods::EnergyMethod::update_residue_for_packing(class core::pose::Pose &, unsigned long) const –> void
-
use_extended_intrares_energy_interface
(self: pyrosetta.rosetta.core.scoring.methods.TwoBodyEnergy) → bool¶ - Derived classes wishing to invoke the alternate, extended interface for eval_intrares_energy
- during minimization routines should return “true” when this function is invoked on them. This class provides a default “return false” implementation so that classes not desiring to take advantage of this alternate interface need to do nothing.
C++: core::scoring::methods::TwoBodyEnergy::use_extended_intrares_energy_interface() const –> bool
-
use_extended_residue_pair_energy_interface
(self: pyrosetta.rosetta.core.scoring.methods.TwoBodyEnergy) → bool¶ - Rely on the extended version of the residue_pair_energy function during score-function
- evaluation in minimization? The extended version (below) takes a ResPairMinimizationData in which the derived base class has (or should have) cached a piece of data that will make residue-pair energy evaluation faster than its absense (e.g. a neighbor list). Derived energy methods should return ‘true’ from this function to use the extended interface. The default method implemented in this class returns ‘false’
C++: core::scoring::methods::TwoBodyEnergy::use_extended_residue_pair_energy_interface() const –> bool
-
version
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod) → int¶ Return the version of the energy method
C++: core::scoring::methods::EnergyMethod::version() const –> unsigned long
-
-
class
pyrosetta.rosetta.core.scoring.membrane.
FaMPSolvEnergyCreator
¶ Bases:
pyrosetta.rosetta.core.scoring.methods.EnergyMethodCreator
Creator Class for Membrane CBeta Energy Method
-
__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.membrane.FaMPSolvEnergyCreator) → 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.core.scoring.membrane.FaMPSolvEnergyCreator, : pyrosetta.rosetta.core.scoring.membrane.FaMPSolvEnergyCreator) → pyrosetta.rosetta.core.scoring.membrane.FaMPSolvEnergyCreator¶ C++: core::scoring::membrane::FaMPSolvEnergyCreator::operator=(const class core::scoring::membrane::FaMPSolvEnergyCreator &) –> class core::scoring::membrane::FaMPSolvEnergyCreator &
-
create_energy_method
(self: pyrosetta.rosetta.core.scoring.membrane.FaMPSolvEnergyCreator, : pyrosetta.rosetta.core.scoring.methods.EnergyMethodOptions) → pyrosetta.rosetta.core.scoring.methods.EnergyMethod¶ Instantiate a new MPEnvEnergy
C++: core::scoring::membrane::FaMPSolvEnergyCreator::create_energy_method(const class core::scoring::methods::EnergyMethodOptions &) const –> class std::shared_ptr<class core::scoring::methods::EnergyMethod>
-
score_types_for_method
(self: pyrosetta.rosetta.core.scoring.membrane.FaMPSolvEnergyCreator) → pyrosetta.rosetta.utility.vector1_core_scoring_ScoreType¶ Return MPEnv Score Type Claimed by this energy method
C++: core::scoring::membrane::FaMPSolvEnergyCreator::score_types_for_method() const –> class utility::vector1<enum core::scoring::ScoreType, class std::allocator<enum core::scoring::ScoreType> >
-
-
class
pyrosetta.rosetta.core.scoring.membrane.
MPCbetaEnergy
¶ Bases:
pyrosetta.rosetta.core.scoring.methods.ContextDependentOneBodyEnergy
Membrane Environemnt CBeta Energy Term
-
__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.membrane.MPCbetaEnergy) → 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.core.scoring.methods.ContextDependentOneBodyEnergy, : pyrosetta.rosetta.core.scoring.methods.ContextDependentOneBodyEnergy) → pyrosetta.rosetta.core.scoring.methods.ContextDependentOneBodyEnergy¶ C++: core::scoring::methods::ContextDependentOneBodyEnergy::operator=(const class core::scoring::methods::ContextDependentOneBodyEnergy &) –> class core::scoring::methods::ContextDependentOneBodyEnergy &
-
clone
(self: pyrosetta.rosetta.core.scoring.membrane.MPCbetaEnergy) → pyrosetta.rosetta.core.scoring.methods.EnergyMethod¶ Clone Energy Method
C++: core::scoring::membrane::MPCbetaEnergy::clone() const –> class std::shared_ptr<class core::scoring::methods::EnergyMethod>
-
compute_mpcbeta_score
(self: pyrosetta.rosetta.core.scoring.membrane.MPCbetaEnergy, cenlist: pyrosetta.rosetta.core.scoring.CenListInfo, seqpos: int, num_tmh: int) → float¶ Energy Function for CBeta Term
C++: core::scoring::membrane::MPCbetaEnergy::compute_mpcbeta_score(const class core::scoring::CenListInfo &, const unsigned long, const unsigned long) const –> double
-
defines_dof_derivatives
(self: pyrosetta.rosetta.core.scoring.methods.OneBodyEnergy, p: pyrosetta.rosetta.core.pose.Pose) → bool¶ - Use the dof_derivative interface for this energy method when
- calculating derivatives? It is possible to define both dof_derivatives and atom-derivatives; they are not mutually exclusive.
C++: core::scoring::methods::OneBodyEnergy::defines_dof_derivatives(const class core::pose::Pose &) const –> bool
-
defines_high_order_terms
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.core.pose.Pose) → bool¶ - Should this EnergyMethod have score and derivative evaluation
- evaluated both in the context of the whole Pose and in the context of residue or residue-pairs? This covers scoring terms like env-smooth wherein the CBeta’s get derivatives for increasing the neighbor counts for surrounding residues, and terms like constraints, which are definable on arbitrary number of residues (e.g. more than 2); both of these terms could be used in RTMin, and both should use the residue and residue-pair evaluation scheme with the MinimizationGraph for the majority of the work they do. (Now, high-order constraints (3-body or above) will not be properly evaluated within RTMin.). The default implementation returns “false”.
C++: core::scoring::methods::EnergyMethod::defines_high_order_terms(const class core::pose::Pose &) const –> bool
-
defines_score_for_residue
(self: pyrosetta.rosetta.core.scoring.methods.OneBodyEnergy, : pyrosetta.rosetta.core.conformation.Residue) → bool¶ - During minimization, energy methods are allowed to decide that they say nothing
- about a particular residue (e.g. no non-zero energy) and as a result they will not be queried for a derivative or an energy. The default behavior is to return “true” for all residues.
C++: core::scoring::methods::OneBodyEnergy::defines_score_for_residue(const class core::conformation::Residue &) const –> bool
-
eval_atom_derivative
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, id: pyrosetta.rosetta.core.id.AtomID, pose: pyrosetta.rosetta.core.pose.Pose, domain_map: ObjexxFCL::FArray1D<int>, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction, emap: pyrosetta.rosetta.core.scoring.EMapVector, F1: pyrosetta.rosetta.numeric.xyzVector_double_t, F2: pyrosetta.rosetta.numeric.xyzVector_double_t) → None¶ - Evaluate the XYZ derivative for an atom in the pose.
Called during the atomtree derivative calculation, atom_tree_minimize.cc, through the ScoreFunction::eval_atom_derivative intermediary. F1 and F2 should not zeroed, rather, this class should accumulate its contribution from this atom’s XYZ derivative
The derivative scheme is based on that of Abe, Braun, Noguti and Go (1984) “Rapid Calculation of First and Second Derivatives of Conformational Energy with Respect to Dihedral Angles for Proteins. General Recurrent Equations” Computers & Chemistry 8(4) pp. 239-247. F1 and F2 correspond roughly to Fa and Ga, respectively, of equations 7a & 7b in that paper.
C++: core::scoring::methods::EnergyMethod::eval_atom_derivative(const class core::id::AtomID &, const class core::pose::Pose &, const class ObjexxFCL::FArray1D<int> &, const class core::scoring::ScoreFunction &, const class core::scoring::EMapVector &, class numeric::xyzVector<double> &, class numeric::xyzVector<double> &) const –> void
-
eval_residue_derivatives
(self: pyrosetta.rosetta.core.scoring.methods.OneBodyEnergy, rsd: pyrosetta.rosetta.core.conformation.Residue, min_data: core::scoring::ResSingleMinimizationData, pose: pyrosetta.rosetta.core.pose.Pose, weights: pyrosetta.rosetta.core.scoring.EMapVector, atom_derivs: pyrosetta.rosetta.utility.vector1_core_scoring_DerivVectorPair) → None¶ - Evaluate the derivatives for all atoms on this residue and increment them
- into the input atom_derivs vector1. The calling function must guarantee that setup for derivatives is called before this function is, and that the atom_derivs vector contains at least as many entries as there are atoms in the input Residue. This base class provides a default noop implementation of this function.
C++: core::scoring::methods::OneBodyEnergy::eval_residue_derivatives(const class core::conformation::Residue &, const class core::scoring::ResSingleMinimizationData &, const class core::pose::Pose &, const class core::scoring::EMapVector &, class utility::vector1<class core::scoring::DerivVectorPair, class std::allocator<class core::scoring::DerivVectorPair> > &) const –> void
-
eval_residue_dof_derivative
(self: pyrosetta.rosetta.core.scoring.methods.OneBodyEnergy, rsd: pyrosetta.rosetta.core.conformation.Residue, min_data: core::scoring::ResSingleMinimizationData, dof_id: pyrosetta.rosetta.core.id.DOF_ID, torsion_id: pyrosetta.rosetta.core.id.TorsionID, pose: pyrosetta.rosetta.core.pose.Pose, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction, weights: pyrosetta.rosetta.core.scoring.EMapVector) → float¶ - Evaluate the DOF derivative for a particular residue. The Pose merely serves as context,
- and the input residue is not required to be a member of the Pose.
C++: core::scoring::methods::OneBodyEnergy::eval_residue_dof_derivative(const class core::conformation::Residue &, const class core::scoring::ResSingleMinimizationData &, const class core::id::DOF_ID &, const class core::id::TorsionID &, const class core::pose::Pose &, const class core::scoring::ScoreFunction &, const class core::scoring::EMapVector &) const –> double
-
finalize_after_derivatives
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.core.scoring.ScoreFunction) → None¶ called at the end of derivatives evaluation
C++: core::scoring::methods::EnergyMethod::finalize_after_derivatives(class core::pose::Pose &, const class core::scoring::ScoreFunction &) const –> void
-
finalize_total_energy
(self: pyrosetta.rosetta.core.scoring.membrane.MPCbetaEnergy, pose: pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.core.scoring.ScoreFunction, : pyrosetta.rosetta.core.scoring.EMapVector) → None¶ C++: core::scoring::membrane::MPCbetaEnergy::finalize_total_energy(class core::pose::Pose &, const class core::scoring::ScoreFunction &, class core::scoring::EMapVector &) const –> void
-
indicate_required_context_graphs
(self: pyrosetta.rosetta.core.scoring.membrane.MPCbetaEnergy, : pyrosetta.rosetta.utility.vector1_bool) → None¶ C++: core::scoring::membrane::MPCbetaEnergy::indicate_required_context_graphs(class utility::vector1<bool, class std::allocator<bool> > &) const –> void
-
method_type
(self: pyrosetta.rosetta.core.scoring.methods.ContextDependentOneBodyEnergy) → pyrosetta.rosetta.core.scoring.methods.EnergyMethodType¶ - Returns the cd_1b element of the EnergyMethodType enumeration; this method
- should NOT be overridden by derived classes.
C++: core::scoring::methods::ContextDependentOneBodyEnergy::method_type() const –> enum core::scoring::methods::EnergyMethodType
-
minimize_in_whole_structure_context
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.core.pose.Pose) → bool¶ - Should this EnergyMethod have score and derivative evaluation
- evaluated only in the context of the whole Pose, or can it be included in a decomposed manner for a residue or a set of residue-pairs that are not part of the Pose that’s serving as their context? The default method implemented in the base class returns true in order to grandfather in EnergyMethods that have not had their derivatives changed to take advantage of the new derivative-evaluation machinery. Methods that return “true” will not have their residue-energy(-ext) / residue-pair-energy(-ext) methods invoked by the ScoreFunction during its traversal of the MinimizationGraph, and instead will be asked to perform all their work during finalize_total_energies(). Similarly, they will be expected to perform all their work during eval_atom_deriv() instead of during the ScoreFunction’s traversal of the MinimizationGraph for derivative evaluation. IMPORTANT: Methods that return “true” cannot be included in RTMin.
C++: core::scoring::methods::EnergyMethod::minimize_in_whole_structure_context(const class core::pose::Pose &) const –> bool
-
prepare_rotamers_for_packing
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.core.conformation.RotamerSetBase) → None¶ - If an energy method needs to cache data in a packing::RotamerSet object before
- rotamer energies are calculated, it does so during this function. The packer must ensure this function is called. The default behavior is to do nothing.
C++: core::scoring::methods::EnergyMethod::prepare_rotamers_for_packing(const class core::pose::Pose &, class core::conformation::RotamerSetBase &) const –> void
-
requires_a_setup_for_derivatives_for_residue_opportunity
(self: pyrosetta.rosetta.core.scoring.methods.OneBodyEnergy, pose: pyrosetta.rosetta.core.pose.Pose) → bool¶ - Does this EnergyMethod require the opportunity to examine the residue before derivative evaluation begins? Not
- all energy methods would. The ScoreFunction will not ask energy methods to examine residues that are uninterested in doing so.
C++: core::scoring::methods::OneBodyEnergy::requires_a_setup_for_derivatives_for_residue_opportunity(const class core::pose::Pose &) const –> bool
-
requires_a_setup_for_scoring_for_residue_opportunity_during_minimization
(self: pyrosetta.rosetta.core.scoring.methods.OneBodyEnergy, pose: pyrosetta.rosetta.core.pose.Pose) → bool¶ - Does this EnergyMethod require the opportunity to examine the residue before scoring begins? Not
- all energy methods would. The ScoreFunction will not ask energy methods to examine residues that are uninterested in doing so.
C++: core::scoring::methods::OneBodyEnergy::requires_a_setup_for_scoring_for_residue_opportunity_during_minimization(const class core::pose::Pose &) const –> bool
-
requires_a_setup_for_scoring_for_residue_opportunity_during_regular_scoring
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, pose: pyrosetta.rosetta.core.pose.Pose) → bool¶ - Does this EnergyMethod require the opportunity to examine the residue before (regular) scoring begins? Not
- all energy methods would. The ScoreFunction will not ask energy methods to examine residues that are uninterested in doing so. The default implmentation of this function returns false
C++: core::scoring::methods::EnergyMethod::requires_a_setup_for_scoring_for_residue_opportunity_during_regular_scoring(const class core::pose::Pose &) const –> bool
-
residue_energy
(self: pyrosetta.rosetta.core.scoring.membrane.MPCbetaEnergy, rsd: pyrosetta.rosetta.core.conformation.Residue, pose: pyrosetta.rosetta.core.pose.Pose, emap: pyrosetta.rosetta.core.scoring.EMapVector) → None¶ C++: core::scoring::membrane::MPCbetaEnergy::residue_energy(const class core::conformation::Residue &, const class core::pose::Pose &, class core::scoring::EMapVector &) const –> void
-
residue_energy_ext
(self: pyrosetta.rosetta.core.scoring.methods.OneBodyEnergy, rsd: pyrosetta.rosetta.core.conformation.Residue, min_data: core::scoring::ResSingleMinimizationData, pose: pyrosetta.rosetta.core.pose.Pose, emap: pyrosetta.rosetta.core.scoring.EMapVector) → None¶ - Evaluate the one-body energies for a particular residue, in the context of a
- given Pose, and with the help of a piece of cached data for minimization, increment those one body energies into the input EnergyMap. The calling function must guarantee that this EnergyMethod has had the opportunity to update the input ResSingleMinimizationData object for the given residue in a call to setup_for_minimizing_for_residue before this function is invoked. This function should not be called unless the use_extended_residue_energy_interface() method returns “true”. Default implementation provided by this base class calls utility::exit(). The Pose merely serves as context, and the input residue is not required to be a member of the Pose.
C++: core::scoring::methods::OneBodyEnergy::residue_energy_ext(const class core::conformation::Residue &, const class core::scoring::ResSingleMinimizationData &, const class core::pose::Pose &, class core::scoring::EMapVector &) const –> void
-
score_types
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod) → pyrosetta.rosetta.utility.vector1_core_scoring_ScoreType¶ Returns the score types that this energy method computes.
C++: core::scoring::methods::EnergyMethod::score_types() const –> const class utility::vector1<enum core::scoring::ScoreType, class std::allocator<enum core::scoring::ScoreType> > &
-
setup_for_derivatives
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, pose: pyrosetta.rosetta.core.pose.Pose, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction) → None¶ - Called immediately before atom- and DOF-derivatives are calculated
- allowing the derived class a chance to prepare for future calls.
C++: core::scoring::methods::EnergyMethod::setup_for_derivatives(class core::pose::Pose &, const class core::scoring::ScoreFunction &) const –> void
-
setup_for_derivatives_for_residue
(self: pyrosetta.rosetta.core.scoring.methods.OneBodyEnergy, rsd: pyrosetta.rosetta.core.conformation.Residue, pose: pyrosetta.rosetta.core.pose.Pose, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction, min_data: core::scoring::ResSingleMinimizationData, res_data_cache: pyrosetta.rosetta.basic.datacache.BasicDataCache) → None¶ Do any setup work necessary before evaluating the derivatives for this residue
C++: core::scoring::methods::OneBodyEnergy::setup_for_derivatives_for_residue(const class core::conformation::Residue &, const class core::pose::Pose &, const class core::scoring::ScoreFunction &, class core::scoring::ResSingleMinimizationData &, class basic::datacache::BasicDataCache &) const –> void
-
setup_for_minimizing
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.core.scoring.ScoreFunction, : pyrosetta.rosetta.core.kinematics.MinimizerMapBase) → None¶ - Called at the beginning of atom tree minimization, this method
- allows the derived class the opportunity to initialize pertinent data that will be used during minimization. During minimzation, the chemical structure of the pose is constant, so assumptions on the number of atoms per residue and their identities are safe so long as the pose’s Energies object’s “use_nblist()” method returns true.
C++: core::scoring::methods::EnergyMethod::setup_for_minimizing(class core::pose::Pose &, const class core::scoring::ScoreFunction &, const class core::kinematics::MinimizerMapBase &) const –> void
-
setup_for_minimizing_for_residue
(self: pyrosetta.rosetta.core.scoring.methods.OneBodyEnergy, rsd: pyrosetta.rosetta.core.conformation.Residue, : pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.core.scoring.ScoreFunction, : pyrosetta.rosetta.core.kinematics.MinimizerMapBase, : pyrosetta.rosetta.basic.datacache.BasicDataCache, : core::scoring::ResSingleMinimizationData) → None¶ - Called at the beginning of minimization, allowing this energy method to cache data
- pertinent for a single residue in the the ResSingleMinimizationData that is used for a particular residue in the context of a particular Pose. This base class provides a noop implementation for this function if there is nothing that the derived class needs to perform in this setup phase. The Pose merely serves as context, and the input residue is not required to be a member of the Pose.
C++: core::scoring::methods::OneBodyEnergy::setup_for_minimizing_for_residue(const class core::conformation::Residue &, const class core::pose::Pose &, const class core::scoring::ScoreFunction &, const class core::kinematics::MinimizerMapBase &, class basic::datacache::BasicDataCache &, class core::scoring::ResSingleMinimizationData &) const –> void
-
setup_for_packing
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.utility.vector1_bool, : pyrosetta.rosetta.utility.vector1_bool) → None¶ - if an energy method needs to cache data in the Energies object,
- before packing begins, then it does so during this function. The packer must ensure this function is called. The default behavior is to do nothing.
C++: core::scoring::methods::EnergyMethod::setup_for_packing(class core::pose::Pose &, const class utility::vector1<bool, class std::allocator<bool> > &, const class utility::vector1<bool, class std::allocator<bool> > &) const –> void
-
setup_for_scoring
(self: pyrosetta.rosetta.core.scoring.membrane.MPCbetaEnergy, pose: pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.core.scoring.ScoreFunction) → None¶ C++: core::scoring::membrane::MPCbetaEnergy::setup_for_scoring(class core::pose::Pose &, const class core::scoring::ScoreFunction &) const –> void
-
setup_for_scoring_for_residue
(*args, **kwargs)¶ Overloaded function.
- setup_for_scoring_for_residue(self: pyrosetta.rosetta.core.scoring.methods.OneBodyEnergy, rsd: pyrosetta.rosetta.core.conformation.Residue, pose: pyrosetta.rosetta.core.pose.Pose, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction, residue_data_cache: pyrosetta.rosetta.basic.datacache.BasicDataCache) -> None
- setup_for_scoring_for_residue(self: pyrosetta.rosetta.core.scoring.methods.OneBodyEnergy, rsd: pyrosetta.rosetta.core.conformation.Residue, pose: pyrosetta.rosetta.core.pose.Pose, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction, min_data: core::scoring::ResSingleMinimizationData) -> None
- Do any setup work should the coordinates of this residue, who is still guaranteed to be
- of the same residue type as when setup_for_minimizing_for_residue was called, have changed so dramatically as to possibly require some amount of setup work before scoring should proceed
C++: core::scoring::methods::OneBodyEnergy::setup_for_scoring_for_residue(const class core::conformation::Residue &, const class core::pose::Pose &, const class core::scoring::ScoreFunction &, class core::scoring::ResSingleMinimizationData &) const –> void
-
show_additional_info
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.std.ostream, : pyrosetta.rosetta.core.pose.Pose, : bool) → None¶ show additional information of the energy method
C++: core::scoring::methods::EnergyMethod::show_additional_info(class std::basic_ostream<char> &, class core::pose::Pose &, bool) const –> void
-
update_residue_for_packing
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.core.pose.Pose, resid: int) → None¶ - If the pose changes in the middle of a packing (as happens in rotamer trials) and if
- an energy method needs to cache data in the pose that corresponds to its current state, then the method must update that data when this function is called. The packer must ensure this function gets called. The default behavior is to do nothing.
C++: core::scoring::methods::EnergyMethod::update_residue_for_packing(class core::pose::Pose &, unsigned long) const –> void
-
use_extended_residue_energy_interface
(self: pyrosetta.rosetta.core.scoring.methods.OneBodyEnergy) → bool¶ - Rely on the extended version of the residue_energy function during score-function
- evaluation in minimization? The extended version (below) takes a ResSingleMinimizationData. Return ‘true’ for the extended version. The default method implemented in this class returns ‘false’
C++: core::scoring::methods::OneBodyEnergy::use_extended_residue_energy_interface() const –> bool
-
version
(self: pyrosetta.rosetta.core.scoring.membrane.MPCbetaEnergy) → int¶ C++: core::scoring::membrane::MPCbetaEnergy::version() const –> unsigned long
-
-
class
pyrosetta.rosetta.core.scoring.membrane.
MPCbetaEnergyCreator
¶ Bases:
pyrosetta.rosetta.core.scoring.methods.EnergyMethodCreator
Creator Class for Membrane CBeta Energy Method
-
__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.membrane.MPCbetaEnergyCreator) → 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.core.scoring.membrane.MPCbetaEnergyCreator, : pyrosetta.rosetta.core.scoring.membrane.MPCbetaEnergyCreator) → pyrosetta.rosetta.core.scoring.membrane.MPCbetaEnergyCreator¶ C++: core::scoring::membrane::MPCbetaEnergyCreator::operator=(const class core::scoring::membrane::MPCbetaEnergyCreator &) –> class core::scoring::membrane::MPCbetaEnergyCreator &
-
create_energy_method
(self: pyrosetta.rosetta.core.scoring.membrane.MPCbetaEnergyCreator, : pyrosetta.rosetta.core.scoring.methods.EnergyMethodOptions) → pyrosetta.rosetta.core.scoring.methods.EnergyMethod¶ Instantiate a new MPCBetaEnergy
C++: core::scoring::membrane::MPCbetaEnergyCreator::create_energy_method(const class core::scoring::methods::EnergyMethodOptions &) const –> class std::shared_ptr<class core::scoring::methods::EnergyMethod>
-
score_types_for_method
(self: pyrosetta.rosetta.core.scoring.membrane.MPCbetaEnergyCreator) → pyrosetta.rosetta.utility.vector1_core_scoring_ScoreType¶ Return the Set of Score Types claimed by EnergyMethod (uses MPCbeta)
C++: core::scoring::membrane::MPCbetaEnergyCreator::score_types_for_method() const –> class utility::vector1<enum core::scoring::ScoreType, class std::allocator<enum core::scoring::ScoreType> >
-
-
class
pyrosetta.rosetta.core.scoring.membrane.
MPEnvEnergy
¶ Bases:
pyrosetta.rosetta.core.scoring.methods.ContextDependentOneBodyEnergy
Mmebrane Environemnt Energy Term
-
__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.membrane.MPEnvEnergy) → 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.core.scoring.methods.ContextDependentOneBodyEnergy, : pyrosetta.rosetta.core.scoring.methods.ContextDependentOneBodyEnergy) → pyrosetta.rosetta.core.scoring.methods.ContextDependentOneBodyEnergy¶ C++: core::scoring::methods::ContextDependentOneBodyEnergy::operator=(const class core::scoring::methods::ContextDependentOneBodyEnergy &) –> class core::scoring::methods::ContextDependentOneBodyEnergy &
-
clone
(self: pyrosetta.rosetta.core.scoring.membrane.MPEnvEnergy) → pyrosetta.rosetta.core.scoring.methods.EnergyMethod¶ Clone Method
C++: core::scoring::membrane::MPEnvEnergy::clone() const –> class std::shared_ptr<class core::scoring::methods::EnergyMethod>
-
compute_mpenv_score
(self: pyrosetta.rosetta.core.scoring.membrane.MPEnvEnergy, cenlist: pyrosetta.rosetta.core.scoring.CenListInfo, aa: pyrosetta.rosetta.core.chemical.AA, z_position: float, seqpos: int) → float¶ Full Evaluate Membrane Env Method (given z_position and const menv score)
C++: core::scoring::membrane::MPEnvEnergy::compute_mpenv_score(const class core::scoring::CenListInfo &, const enum core::chemical::AA &, const double, const unsigned long) const –> double
-
defines_dof_derivatives
(self: pyrosetta.rosetta.core.scoring.methods.OneBodyEnergy, p: pyrosetta.rosetta.core.pose.Pose) → bool¶ - Use the dof_derivative interface for this energy method when
- calculating derivatives? It is possible to define both dof_derivatives and atom-derivatives; they are not mutually exclusive.
C++: core::scoring::methods::OneBodyEnergy::defines_dof_derivatives(const class core::pose::Pose &) const –> bool
-
defines_high_order_terms
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.core.pose.Pose) → bool¶ - Should this EnergyMethod have score and derivative evaluation
- evaluated both in the context of the whole Pose and in the context of residue or residue-pairs? This covers scoring terms like env-smooth wherein the CBeta’s get derivatives for increasing the neighbor counts for surrounding residues, and terms like constraints, which are definable on arbitrary number of residues (e.g. more than 2); both of these terms could be used in RTMin, and both should use the residue and residue-pair evaluation scheme with the MinimizationGraph for the majority of the work they do. (Now, high-order constraints (3-body or above) will not be properly evaluated within RTMin.). The default implementation returns “false”.
C++: core::scoring::methods::EnergyMethod::defines_high_order_terms(const class core::pose::Pose &) const –> bool
-
defines_score_for_residue
(self: pyrosetta.rosetta.core.scoring.methods.OneBodyEnergy, : pyrosetta.rosetta.core.conformation.Residue) → bool¶ - During minimization, energy methods are allowed to decide that they say nothing
- about a particular residue (e.g. no non-zero energy) and as a result they will not be queried for a derivative or an energy. The default behavior is to return “true” for all residues.
C++: core::scoring::methods::OneBodyEnergy::defines_score_for_residue(const class core::conformation::Residue &) const –> bool
-
eval_atom_derivative
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, id: pyrosetta.rosetta.core.id.AtomID, pose: pyrosetta.rosetta.core.pose.Pose, domain_map: ObjexxFCL::FArray1D<int>, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction, emap: pyrosetta.rosetta.core.scoring.EMapVector, F1: pyrosetta.rosetta.numeric.xyzVector_double_t, F2: pyrosetta.rosetta.numeric.xyzVector_double_t) → None¶ - Evaluate the XYZ derivative for an atom in the pose.
Called during the atomtree derivative calculation, atom_tree_minimize.cc, through the ScoreFunction::eval_atom_derivative intermediary. F1 and F2 should not zeroed, rather, this class should accumulate its contribution from this atom’s XYZ derivative
The derivative scheme is based on that of Abe, Braun, Noguti and Go (1984) “Rapid Calculation of First and Second Derivatives of Conformational Energy with Respect to Dihedral Angles for Proteins. General Recurrent Equations” Computers & Chemistry 8(4) pp. 239-247. F1 and F2 correspond roughly to Fa and Ga, respectively, of equations 7a & 7b in that paper.
C++: core::scoring::methods::EnergyMethod::eval_atom_derivative(const class core::id::AtomID &, const class core::pose::Pose &, const class ObjexxFCL::FArray1D<int> &, const class core::scoring::ScoreFunction &, const class core::scoring::EMapVector &, class numeric::xyzVector<double> &, class numeric::xyzVector<double> &) const –> void
-
eval_residue_derivatives
(self: pyrosetta.rosetta.core.scoring.methods.OneBodyEnergy, rsd: pyrosetta.rosetta.core.conformation.Residue, min_data: core::scoring::ResSingleMinimizationData, pose: pyrosetta.rosetta.core.pose.Pose, weights: pyrosetta.rosetta.core.scoring.EMapVector, atom_derivs: pyrosetta.rosetta.utility.vector1_core_scoring_DerivVectorPair) → None¶ - Evaluate the derivatives for all atoms on this residue and increment them
- into the input atom_derivs vector1. The calling function must guarantee that setup for derivatives is called before this function is, and that the atom_derivs vector contains at least as many entries as there are atoms in the input Residue. This base class provides a default noop implementation of this function.
C++: core::scoring::methods::OneBodyEnergy::eval_residue_derivatives(const class core::conformation::Residue &, const class core::scoring::ResSingleMinimizationData &, const class core::pose::Pose &, const class core::scoring::EMapVector &, class utility::vector1<class core::scoring::DerivVectorPair, class std::allocator<class core::scoring::DerivVectorPair> > &) const –> void
-
eval_residue_dof_derivative
(self: pyrosetta.rosetta.core.scoring.methods.OneBodyEnergy, rsd: pyrosetta.rosetta.core.conformation.Residue, min_data: core::scoring::ResSingleMinimizationData, dof_id: pyrosetta.rosetta.core.id.DOF_ID, torsion_id: pyrosetta.rosetta.core.id.TorsionID, pose: pyrosetta.rosetta.core.pose.Pose, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction, weights: pyrosetta.rosetta.core.scoring.EMapVector) → float¶ - Evaluate the DOF derivative for a particular residue. The Pose merely serves as context,
- and the input residue is not required to be a member of the Pose.
C++: core::scoring::methods::OneBodyEnergy::eval_residue_dof_derivative(const class core::conformation::Residue &, const class core::scoring::ResSingleMinimizationData &, const class core::id::DOF_ID &, const class core::id::TorsionID &, const class core::pose::Pose &, const class core::scoring::ScoreFunction &, const class core::scoring::EMapVector &) const –> double
-
finalize_after_derivatives
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.core.scoring.ScoreFunction) → None¶ called at the end of derivatives evaluation
C++: core::scoring::methods::EnergyMethod::finalize_after_derivatives(class core::pose::Pose &, const class core::scoring::ScoreFunction &) const –> void
-
finalize_total_energy
(self: pyrosetta.rosetta.core.scoring.membrane.MPEnvEnergy, pose: pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.core.scoring.ScoreFunction, : pyrosetta.rosetta.core.scoring.EMapVector) → None¶ Finalize Whole Structure Energy from One Body Energies
C++: core::scoring::membrane::MPEnvEnergy::finalize_total_energy(class core::pose::Pose &, const class core::scoring::ScoreFunction &, class core::scoring::EMapVector &) const –> void
-
indicate_required_context_graphs
(self: pyrosetta.rosetta.core.scoring.membrane.MPEnvEnergy, : pyrosetta.rosetta.utility.vector1_bool) → None¶ No Required Context Graphs in MP Terms
C++: core::scoring::membrane::MPEnvEnergy::indicate_required_context_graphs(class utility::vector1<bool, class std::allocator<bool> > &) const –> void
-
method_type
(self: pyrosetta.rosetta.core.scoring.methods.ContextDependentOneBodyEnergy) → pyrosetta.rosetta.core.scoring.methods.EnergyMethodType¶ - Returns the cd_1b element of the EnergyMethodType enumeration; this method
- should NOT be overridden by derived classes.
C++: core::scoring::methods::ContextDependentOneBodyEnergy::method_type() const –> enum core::scoring::methods::EnergyMethodType
-
minimize_in_whole_structure_context
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.core.pose.Pose) → bool¶ - Should this EnergyMethod have score and derivative evaluation
- evaluated only in the context of the whole Pose, or can it be included in a decomposed manner for a residue or a set of residue-pairs that are not part of the Pose that’s serving as their context? The default method implemented in the base class returns true in order to grandfather in EnergyMethods that have not had their derivatives changed to take advantage of the new derivative-evaluation machinery. Methods that return “true” will not have their residue-energy(-ext) / residue-pair-energy(-ext) methods invoked by the ScoreFunction during its traversal of the MinimizationGraph, and instead will be asked to perform all their work during finalize_total_energies(). Similarly, they will be expected to perform all their work during eval_atom_deriv() instead of during the ScoreFunction’s traversal of the MinimizationGraph for derivative evaluation. IMPORTANT: Methods that return “true” cannot be included in RTMin.
C++: core::scoring::methods::EnergyMethod::minimize_in_whole_structure_context(const class core::pose::Pose &) const –> bool
-
prepare_rotamers_for_packing
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.core.conformation.RotamerSetBase) → None¶ - If an energy method needs to cache data in a packing::RotamerSet object before
- rotamer energies are calculated, it does so during this function. The packer must ensure this function is called. The default behavior is to do nothing.
C++: core::scoring::methods::EnergyMethod::prepare_rotamers_for_packing(const class core::pose::Pose &, class core::conformation::RotamerSetBase &) const –> void
-
requires_a_setup_for_derivatives_for_residue_opportunity
(self: pyrosetta.rosetta.core.scoring.methods.OneBodyEnergy, pose: pyrosetta.rosetta.core.pose.Pose) → bool¶ - Does this EnergyMethod require the opportunity to examine the residue before derivative evaluation begins? Not
- all energy methods would. The ScoreFunction will not ask energy methods to examine residues that are uninterested in doing so.
C++: core::scoring::methods::OneBodyEnergy::requires_a_setup_for_derivatives_for_residue_opportunity(const class core::pose::Pose &) const –> bool
-
requires_a_setup_for_scoring_for_residue_opportunity_during_minimization
(self: pyrosetta.rosetta.core.scoring.methods.OneBodyEnergy, pose: pyrosetta.rosetta.core.pose.Pose) → bool¶ - Does this EnergyMethod require the opportunity to examine the residue before scoring begins? Not
- all energy methods would. The ScoreFunction will not ask energy methods to examine residues that are uninterested in doing so.
C++: core::scoring::methods::OneBodyEnergy::requires_a_setup_for_scoring_for_residue_opportunity_during_minimization(const class core::pose::Pose &) const –> bool
-
requires_a_setup_for_scoring_for_residue_opportunity_during_regular_scoring
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, pose: pyrosetta.rosetta.core.pose.Pose) → bool¶ - Does this EnergyMethod require the opportunity to examine the residue before (regular) scoring begins? Not
- all energy methods would. The ScoreFunction will not ask energy methods to examine residues that are uninterested in doing so. The default implmentation of this function returns false
C++: core::scoring::methods::EnergyMethod::requires_a_setup_for_scoring_for_residue_opportunity_during_regular_scoring(const class core::pose::Pose &) const –> bool
-
residue_energy
(self: pyrosetta.rosetta.core.scoring.membrane.MPEnvEnergy, rsd: pyrosetta.rosetta.core.conformation.Residue, pose: pyrosetta.rosetta.core.pose.Pose, emap: pyrosetta.rosetta.core.scoring.EMapVector) → None¶ Compute Membrane Environemnt - Residue Energy
C++: core::scoring::membrane::MPEnvEnergy::residue_energy(const class core::conformation::Residue &, const class core::pose::Pose &, class core::scoring::EMapVector &) const –> void
-
residue_energy_ext
(self: pyrosetta.rosetta.core.scoring.methods.OneBodyEnergy, rsd: pyrosetta.rosetta.core.conformation.Residue, min_data: core::scoring::ResSingleMinimizationData, pose: pyrosetta.rosetta.core.pose.Pose, emap: pyrosetta.rosetta.core.scoring.EMapVector) → None¶ - Evaluate the one-body energies for a particular residue, in the context of a
- given Pose, and with the help of a piece of cached data for minimization, increment those one body energies into the input EnergyMap. The calling function must guarantee that this EnergyMethod has had the opportunity to update the input ResSingleMinimizationData object for the given residue in a call to setup_for_minimizing_for_residue before this function is invoked. This function should not be called unless the use_extended_residue_energy_interface() method returns “true”. Default implementation provided by this base class calls utility::exit(). The Pose merely serves as context, and the input residue is not required to be a member of the Pose.
C++: core::scoring::methods::OneBodyEnergy::residue_energy_ext(const class core::conformation::Residue &, const class core::scoring::ResSingleMinimizationData &, const class core::pose::Pose &, class core::scoring::EMapVector &) const –> void
-
score_types
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod) → pyrosetta.rosetta.utility.vector1_core_scoring_ScoreType¶ Returns the score types that this energy method computes.
C++: core::scoring::methods::EnergyMethod::score_types() const –> const class utility::vector1<enum core::scoring::ScoreType, class std::allocator<enum core::scoring::ScoreType> > &
-
setup_for_derivatives
(self: pyrosetta.rosetta.core.scoring.membrane.MPEnvEnergy, pose: pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.core.scoring.ScoreFunction) → None¶ Setup for Derivatives - Calls Setup for Scoring
C++: core::scoring::membrane::MPEnvEnergy::setup_for_derivatives(class core::pose::Pose &, const class core::scoring::ScoreFunction &) const –> void
-
setup_for_derivatives_for_residue
(self: pyrosetta.rosetta.core.scoring.methods.OneBodyEnergy, rsd: pyrosetta.rosetta.core.conformation.Residue, pose: pyrosetta.rosetta.core.pose.Pose, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction, min_data: core::scoring::ResSingleMinimizationData, res_data_cache: pyrosetta.rosetta.basic.datacache.BasicDataCache) → None¶ Do any setup work necessary before evaluating the derivatives for this residue
C++: core::scoring::methods::OneBodyEnergy::setup_for_derivatives_for_residue(const class core::conformation::Residue &, const class core::pose::Pose &, const class core::scoring::ScoreFunction &, class core::scoring::ResSingleMinimizationData &, class basic::datacache::BasicDataCache &) const –> void
-
setup_for_minimizing
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.core.scoring.ScoreFunction, : pyrosetta.rosetta.core.kinematics.MinimizerMapBase) → None¶ - Called at the beginning of atom tree minimization, this method
- allows the derived class the opportunity to initialize pertinent data that will be used during minimization. During minimzation, the chemical structure of the pose is constant, so assumptions on the number of atoms per residue and their identities are safe so long as the pose’s Energies object’s “use_nblist()” method returns true.
C++: core::scoring::methods::EnergyMethod::setup_for_minimizing(class core::pose::Pose &, const class core::scoring::ScoreFunction &, const class core::kinematics::MinimizerMapBase &) const –> void
-
setup_for_minimizing_for_residue
(self: pyrosetta.rosetta.core.scoring.methods.OneBodyEnergy, rsd: pyrosetta.rosetta.core.conformation.Residue, : pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.core.scoring.ScoreFunction, : pyrosetta.rosetta.core.kinematics.MinimizerMapBase, : pyrosetta.rosetta.basic.datacache.BasicDataCache, : core::scoring::ResSingleMinimizationData) → None¶ - Called at the beginning of minimization, allowing this energy method to cache data
- pertinent for a single residue in the the ResSingleMinimizationData that is used for a particular residue in the context of a particular Pose. This base class provides a noop implementation for this function if there is nothing that the derived class needs to perform in this setup phase. The Pose merely serves as context, and the input residue is not required to be a member of the Pose.
C++: core::scoring::methods::OneBodyEnergy::setup_for_minimizing_for_residue(const class core::conformation::Residue &, const class core::pose::Pose &, const class core::scoring::ScoreFunction &, const class core::kinematics::MinimizerMapBase &, class basic::datacache::BasicDataCache &, class core::scoring::ResSingleMinimizationData &) const –> void
-
setup_for_packing
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.utility.vector1_bool, : pyrosetta.rosetta.utility.vector1_bool) → None¶ - if an energy method needs to cache data in the Energies object,
- before packing begins, then it does so during this function. The packer must ensure this function is called. The default behavior is to do nothing.
C++: core::scoring::methods::EnergyMethod::setup_for_packing(class core::pose::Pose &, const class utility::vector1<bool, class std::allocator<bool> > &, const class utility::vector1<bool, class std::allocator<bool> > &) const –> void
-
setup_for_scoring
(self: pyrosetta.rosetta.core.scoring.membrane.MPEnvEnergy, pose: pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.core.scoring.ScoreFunction) → None¶ Setup Menv for Scoring by updating neighbor count and compute cen env
C++: core::scoring::membrane::MPEnvEnergy::setup_for_scoring(class core::pose::Pose &, const class core::scoring::ScoreFunction &) const –> void
-
setup_for_scoring_for_residue
(*args, **kwargs)¶ Overloaded function.
- setup_for_scoring_for_residue(self: pyrosetta.rosetta.core.scoring.methods.OneBodyEnergy, rsd: pyrosetta.rosetta.core.conformation.Residue, pose: pyrosetta.rosetta.core.pose.Pose, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction, residue_data_cache: pyrosetta.rosetta.basic.datacache.BasicDataCache) -> None
- setup_for_scoring_for_residue(self: pyrosetta.rosetta.core.scoring.methods.OneBodyEnergy, rsd: pyrosetta.rosetta.core.conformation.Residue, pose: pyrosetta.rosetta.core.pose.Pose, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction, min_data: core::scoring::ResSingleMinimizationData) -> None
- Do any setup work should the coordinates of this residue, who is still guaranteed to be
- of the same residue type as when setup_for_minimizing_for_residue was called, have changed so dramatically as to possibly require some amount of setup work before scoring should proceed
C++: core::scoring::methods::OneBodyEnergy::setup_for_scoring_for_residue(const class core::conformation::Residue &, const class core::pose::Pose &, const class core::scoring::ScoreFunction &, class core::scoring::ResSingleMinimizationData &) const –> void
-
show_additional_info
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.std.ostream, : pyrosetta.rosetta.core.pose.Pose, : bool) → None¶ show additional information of the energy method
C++: core::scoring::methods::EnergyMethod::show_additional_info(class std::basic_ostream<char> &, class core::pose::Pose &, bool) const –> void
-
update_residue_for_packing
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.core.pose.Pose, resid: int) → None¶ - If the pose changes in the middle of a packing (as happens in rotamer trials) and if
- an energy method needs to cache data in the pose that corresponds to its current state, then the method must update that data when this function is called. The packer must ensure this function gets called. The default behavior is to do nothing.
C++: core::scoring::methods::EnergyMethod::update_residue_for_packing(class core::pose::Pose &, unsigned long) const –> void
-
use_extended_residue_energy_interface
(self: pyrosetta.rosetta.core.scoring.methods.OneBodyEnergy) → bool¶ - Rely on the extended version of the residue_energy function during score-function
- evaluation in minimization? The extended version (below) takes a ResSingleMinimizationData. Return ‘true’ for the extended version. The default method implemented in this class returns ‘false’
C++: core::scoring::methods::OneBodyEnergy::use_extended_residue_energy_interface() const –> bool
-
version
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod) → int¶ Return the version of the energy method
C++: core::scoring::methods::EnergyMethod::version() const –> unsigned long
-
-
class
pyrosetta.rosetta.core.scoring.membrane.
MPEnvEnergyCreator
¶ Bases:
pyrosetta.rosetta.core.scoring.methods.EnergyMethodCreator
Creator Class for Membrane CBeta Energy Method
-
__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.membrane.MPEnvEnergyCreator) → 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.core.scoring.membrane.MPEnvEnergyCreator, : pyrosetta.rosetta.core.scoring.membrane.MPEnvEnergyCreator) → pyrosetta.rosetta.core.scoring.membrane.MPEnvEnergyCreator¶ C++: core::scoring::membrane::MPEnvEnergyCreator::operator=(const class core::scoring::membrane::MPEnvEnergyCreator &) –> class core::scoring::membrane::MPEnvEnergyCreator &
-
create_energy_method
(self: pyrosetta.rosetta.core.scoring.membrane.MPEnvEnergyCreator, : pyrosetta.rosetta.core.scoring.methods.EnergyMethodOptions) → pyrosetta.rosetta.core.scoring.methods.EnergyMethod¶ Instantiate a new MPEnvEnergy
C++: core::scoring::membrane::MPEnvEnergyCreator::create_energy_method(const class core::scoring::methods::EnergyMethodOptions &) const –> class std::shared_ptr<class core::scoring::methods::EnergyMethod>
-
score_types_for_method
(self: pyrosetta.rosetta.core.scoring.membrane.MPEnvEnergyCreator) → pyrosetta.rosetta.utility.vector1_core_scoring_ScoreType¶ Return MPEnv Score Type Claimed by this energy method
C++: core::scoring::membrane::MPEnvEnergyCreator::score_types_for_method() const –> class utility::vector1<enum core::scoring::ScoreType, class std::allocator<enum core::scoring::ScoreType> >
-
-
class
pyrosetta.rosetta.core.scoring.membrane.
MPLipoEnergy
¶ Bases:
pyrosetta.rosetta.core.scoring.methods.WholeStructureEnergy
Membrane Lipophilicity term
-
__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.membrane.MPLipoEnergy) → 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.core.scoring.methods.WholeStructureEnergy, : pyrosetta.rosetta.core.scoring.methods.WholeStructureEnergy) → pyrosetta.rosetta.core.scoring.methods.WholeStructureEnergy¶ C++: core::scoring::methods::WholeStructureEnergy::operator=(const class core::scoring::methods::WholeStructureEnergy &) –> class core::scoring::methods::WholeStructureEnergy &
-
atomic_interaction_cutoff
(self: pyrosetta.rosetta.core.scoring.methods.WholeStructureEnergy) → float¶ how far apart must two heavy atoms be to have a zero interaction energy?
If hydrogen atoms interact at the same range as heavy atoms, then this distance should build-in a 2 * max-bound-h-distance-cutoff buffer. There is an improper mixing here between run-time aquired chemical knowledge (max-bound-h-distance-cutoff) and compile time aquired scoring knowledge (max atom cutoff); this could be resolved by adding a boolean uses_hydrogen_interaction_distance() to the SRTBEnergy class along with a method of the ChemicalManager max_bound_h_distance_cutoff().
This method allows the WholeStructureEnergy class to define which edges should be included in the EnergyGraph so that during the finalize() method the Energy class can iterate across the EnergyGraph. This iteration occurrs in the SecondaryStructureEnergy class, where the edges must span 12 angstroms between the centroids. Arguably, the SecondaryStructureEnergy class could use the TwelveANeighborGraph (a context graph) and not require that the EnergyGraph span such long distances.
C++: core::scoring::methods::WholeStructureEnergy::atomic_interaction_cutoff() const –> double
-
clone
(self: pyrosetta.rosetta.core.scoring.membrane.MPLipoEnergy) → pyrosetta.rosetta.core.scoring.methods.EnergyMethod¶ Clone Method
C++: core::scoring::membrane::MPLipoEnergy::clone() const –> class std::shared_ptr<class core::scoring::methods::EnergyMethod>
-
defines_high_order_terms
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.core.pose.Pose) → bool¶ - Should this EnergyMethod have score and derivative evaluation
- evaluated both in the context of the whole Pose and in the context of residue or residue-pairs? This covers scoring terms like env-smooth wherein the CBeta’s get derivatives for increasing the neighbor counts for surrounding residues, and terms like constraints, which are definable on arbitrary number of residues (e.g. more than 2); both of these terms could be used in RTMin, and both should use the residue and residue-pair evaluation scheme with the MinimizationGraph for the majority of the work they do. (Now, high-order constraints (3-body or above) will not be properly evaluated within RTMin.). The default implementation returns “false”.
C++: core::scoring::methods::EnergyMethod::defines_high_order_terms(const class core::pose::Pose &) const –> bool
-
eval_atom_derivative
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, id: pyrosetta.rosetta.core.id.AtomID, pose: pyrosetta.rosetta.core.pose.Pose, domain_map: ObjexxFCL::FArray1D<int>, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction, emap: pyrosetta.rosetta.core.scoring.EMapVector, F1: pyrosetta.rosetta.numeric.xyzVector_double_t, F2: pyrosetta.rosetta.numeric.xyzVector_double_t) → None¶ - Evaluate the XYZ derivative for an atom in the pose.
Called during the atomtree derivative calculation, atom_tree_minimize.cc, through the ScoreFunction::eval_atom_derivative intermediary. F1 and F2 should not zeroed, rather, this class should accumulate its contribution from this atom’s XYZ derivative
The derivative scheme is based on that of Abe, Braun, Noguti and Go (1984) “Rapid Calculation of First and Second Derivatives of Conformational Energy with Respect to Dihedral Angles for Proteins. General Recurrent Equations” Computers & Chemistry 8(4) pp. 239-247. F1 and F2 correspond roughly to Fa and Ga, respectively, of equations 7a & 7b in that paper.
C++: core::scoring::methods::EnergyMethod::eval_atom_derivative(const class core::id::AtomID &, const class core::pose::Pose &, const class ObjexxFCL::FArray1D<int> &, const class core::scoring::ScoreFunction &, const class core::scoring::EMapVector &, class numeric::xyzVector<double> &, class numeric::xyzVector<double> &) const –> void
-
finalize_after_derivatives
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.core.scoring.ScoreFunction) → None¶ called at the end of derivatives evaluation
C++: core::scoring::methods::EnergyMethod::finalize_after_derivatives(class core::pose::Pose &, const class core::scoring::ScoreFunction &) const –> void
-
finalize_total_energy
(self: pyrosetta.rosetta.core.scoring.membrane.MPLipoEnergy, pose: pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.core.scoring.ScoreFunction, totals: pyrosetta.rosetta.core.scoring.EMapVector) → None¶ Score WHole Structure Energy
C++: core::scoring::membrane::MPLipoEnergy::finalize_total_energy(class core::pose::Pose &, const class core::scoring::ScoreFunction &, class core::scoring::EMapVector &) const –> void
-
indicate_required_context_graphs
(self: pyrosetta.rosetta.core.scoring.membrane.MPLipoEnergy, : pyrosetta.rosetta.utility.vector1_bool) → None¶ C++: core::scoring::membrane::MPLipoEnergy::indicate_required_context_graphs(class utility::vector1<bool, class std::allocator<bool> > &) const –> void
-
method_type
(self: pyrosetta.rosetta.core.scoring.methods.WholeStructureEnergy) → pyrosetta.rosetta.core.scoring.methods.EnergyMethodType¶ C++: core::scoring::methods::WholeStructureEnergy::method_type() const –> enum core::scoring::methods::EnergyMethodType
-
minimize_in_whole_structure_context
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.core.pose.Pose) → bool¶ - Should this EnergyMethod have score and derivative evaluation
- evaluated only in the context of the whole Pose, or can it be included in a decomposed manner for a residue or a set of residue-pairs that are not part of the Pose that’s serving as their context? The default method implemented in the base class returns true in order to grandfather in EnergyMethods that have not had their derivatives changed to take advantage of the new derivative-evaluation machinery. Methods that return “true” will not have their residue-energy(-ext) / residue-pair-energy(-ext) methods invoked by the ScoreFunction during its traversal of the MinimizationGraph, and instead will be asked to perform all their work during finalize_total_energies(). Similarly, they will be expected to perform all their work during eval_atom_deriv() instead of during the ScoreFunction’s traversal of the MinimizationGraph for derivative evaluation. IMPORTANT: Methods that return “true” cannot be included in RTMin.
C++: core::scoring::methods::EnergyMethod::minimize_in_whole_structure_context(const class core::pose::Pose &) const –> bool
-
prepare_rotamers_for_packing
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.core.conformation.RotamerSetBase) → None¶ - If an energy method needs to cache data in a packing::RotamerSet object before
- rotamer energies are calculated, it does so during this function. The packer must ensure this function is called. The default behavior is to do nothing.
C++: core::scoring::methods::EnergyMethod::prepare_rotamers_for_packing(const class core::pose::Pose &, class core::conformation::RotamerSetBase &) const –> void
-
requires_a_setup_for_scoring_for_residue_opportunity_during_regular_scoring
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, pose: pyrosetta.rosetta.core.pose.Pose) → bool¶ - Does this EnergyMethod require the opportunity to examine the residue before (regular) scoring begins? Not
- all energy methods would. The ScoreFunction will not ask energy methods to examine residues that are uninterested in doing so. The default implmentation of this function returns false
C++: core::scoring::methods::EnergyMethod::requires_a_setup_for_scoring_for_residue_opportunity_during_regular_scoring(const class core::pose::Pose &) const –> bool
-
score_types
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod) → pyrosetta.rosetta.utility.vector1_core_scoring_ScoreType¶ Returns the score types that this energy method computes.
C++: core::scoring::methods::EnergyMethod::score_types() const –> const class utility::vector1<enum core::scoring::ScoreType, class std::allocator<enum core::scoring::ScoreType> > &
-
setup_for_derivatives
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, pose: pyrosetta.rosetta.core.pose.Pose, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction) → None¶ - Called immediately before atom- and DOF-derivatives are calculated
- allowing the derived class a chance to prepare for future calls.
C++: core::scoring::methods::EnergyMethod::setup_for_derivatives(class core::pose::Pose &, const class core::scoring::ScoreFunction &) const –> void
-
setup_for_minimizing
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.core.scoring.ScoreFunction, : pyrosetta.rosetta.core.kinematics.MinimizerMapBase) → None¶ - Called at the beginning of atom tree minimization, this method
- allows the derived class the opportunity to initialize pertinent data that will be used during minimization. During minimzation, the chemical structure of the pose is constant, so assumptions on the number of atoms per residue and their identities are safe so long as the pose’s Energies object’s “use_nblist()” method returns true.
C++: core::scoring::methods::EnergyMethod::setup_for_minimizing(class core::pose::Pose &, const class core::scoring::ScoreFunction &, const class core::kinematics::MinimizerMapBase &) const –> void
-
setup_for_packing
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.utility.vector1_bool, : pyrosetta.rosetta.utility.vector1_bool) → None¶ - if an energy method needs to cache data in the Energies object,
- before packing begins, then it does so during this function. The packer must ensure this function is called. The default behavior is to do nothing.
C++: core::scoring::methods::EnergyMethod::setup_for_packing(class core::pose::Pose &, const class utility::vector1<bool, class std::allocator<bool> > &, const class utility::vector1<bool, class std::allocator<bool> > &) const –> void
-
setup_for_scoring
(self: pyrosetta.rosetta.core.scoring.membrane.MPLipoEnergy, pose: pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.core.scoring.ScoreFunction) → None¶ Setup for Scoring
C++: core::scoring::membrane::MPLipoEnergy::setup_for_scoring(class core::pose::Pose &, const class core::scoring::ScoreFunction &) const –> void
-
setup_for_scoring_for_residue
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, rsd: pyrosetta.rosetta.core.conformation.Residue, pose: pyrosetta.rosetta.core.pose.Pose, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction, residue_data_cache: pyrosetta.rosetta.basic.datacache.BasicDataCache) → None¶ - Do any setup work before scoring, caching any slow-to-compute data that will be used during
- energy evaluation inside of the input Residue object’s data cache. (The Residue on the whole is given as a constant reference, but non-constant access to its data cache is granted.)
C++: core::scoring::methods::EnergyMethod::setup_for_scoring_for_residue(const class core::conformation::Residue &, const class core::pose::Pose &, const class core::scoring::ScoreFunction &, class basic::datacache::BasicDataCache &) const –> void
-
show_additional_info
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.std.ostream, : pyrosetta.rosetta.core.pose.Pose, : bool) → None¶ show additional information of the energy method
C++: core::scoring::methods::EnergyMethod::show_additional_info(class std::basic_ostream<char> &, class core::pose::Pose &, bool) const –> void
-
update_residue_for_packing
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.core.pose.Pose, resid: int) → None¶ - If the pose changes in the middle of a packing (as happens in rotamer trials) and if
- an energy method needs to cache data in the pose that corresponds to its current state, then the method must update that data when this function is called. The packer must ensure this function gets called. The default behavior is to do nothing.
C++: core::scoring::methods::EnergyMethod::update_residue_for_packing(class core::pose::Pose &, unsigned long) const –> void
-
version
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod) → int¶ Return the version of the energy method
C++: core::scoring::methods::EnergyMethod::version() const –> unsigned long
-
-
class
pyrosetta.rosetta.core.scoring.membrane.
MPLipoEnergyCreator
¶ Bases:
pyrosetta.rosetta.core.scoring.methods.EnergyMethodCreator
Creator Class for MPLipoEnergy
-
__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.membrane.MPLipoEnergyCreator) → 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.core.scoring.membrane.MPLipoEnergyCreator, : pyrosetta.rosetta.core.scoring.membrane.MPLipoEnergyCreator) → pyrosetta.rosetta.core.scoring.membrane.MPLipoEnergyCreator¶ C++: core::scoring::membrane::MPLipoEnergyCreator::operator=(const class core::scoring::membrane::MPLipoEnergyCreator &) –> class core::scoring::membrane::MPLipoEnergyCreator &
-
create_energy_method
(self: pyrosetta.rosetta.core.scoring.membrane.MPLipoEnergyCreator, : pyrosetta.rosetta.core.scoring.methods.EnergyMethodOptions) → pyrosetta.rosetta.core.scoring.methods.EnergyMethod¶ Instantiate a new MPLipo
C++: core::scoring::membrane::MPLipoEnergyCreator::create_energy_method(const class core::scoring::methods::EnergyMethodOptions &) const –> class std::shared_ptr<class core::scoring::methods::EnergyMethod>
-
score_types_for_method
(self: pyrosetta.rosetta.core.scoring.membrane.MPLipoEnergyCreator) → pyrosetta.rosetta.utility.vector1_core_scoring_ScoreType¶ - Return the set of score types claimed by the EnergyMethod
- this EnergyMethodCreator creates in its create_energy_method() function
C++: core::scoring::membrane::MPLipoEnergyCreator::score_types_for_method() const –> class utility::vector1<enum core::scoring::ScoreType, class std::allocator<enum core::scoring::ScoreType> >
-
-
class
pyrosetta.rosetta.core.scoring.membrane.
MPNonHelixPenalty
¶ Bases:
pyrosetta.rosetta.core.scoring.methods.ContextDependentOneBodyEnergy
Class Membrane Non Helix Penalty
-
__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.membrane.MPNonHelixPenalty) → 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.core.scoring.methods.ContextDependentOneBodyEnergy, : pyrosetta.rosetta.core.scoring.methods.ContextDependentOneBodyEnergy) → pyrosetta.rosetta.core.scoring.methods.ContextDependentOneBodyEnergy¶ C++: core::scoring::methods::ContextDependentOneBodyEnergy::operator=(const class core::scoring::methods::ContextDependentOneBodyEnergy &) –> class core::scoring::methods::ContextDependentOneBodyEnergy &
-
clone
(self: pyrosetta.rosetta.core.scoring.membrane.MPNonHelixPenalty) → pyrosetta.rosetta.core.scoring.methods.EnergyMethod¶ Clone
C++: core::scoring::membrane::MPNonHelixPenalty::clone() const –> class std::shared_ptr<class core::scoring::methods::EnergyMethod>
-
compute_nonhelix_penalty
(self: pyrosetta.rosetta.core.scoring.membrane.MPNonHelixPenalty, tmregion: bool, secstruc: str, z_position: float) → float¶ Compute Non Helix in Membrane Score (per-residue)
C++: core::scoring::membrane::MPNonHelixPenalty::compute_nonhelix_penalty(bool, char, double) const –> double
-
defines_dof_derivatives
(self: pyrosetta.rosetta.core.scoring.methods.OneBodyEnergy, p: pyrosetta.rosetta.core.pose.Pose) → bool¶ - Use the dof_derivative interface for this energy method when
- calculating derivatives? It is possible to define both dof_derivatives and atom-derivatives; they are not mutually exclusive.
C++: core::scoring::methods::OneBodyEnergy::defines_dof_derivatives(const class core::pose::Pose &) const –> bool
-
defines_high_order_terms
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.core.pose.Pose) → bool¶ - Should this EnergyMethod have score and derivative evaluation
- evaluated both in the context of the whole Pose and in the context of residue or residue-pairs? This covers scoring terms like env-smooth wherein the CBeta’s get derivatives for increasing the neighbor counts for surrounding residues, and terms like constraints, which are definable on arbitrary number of residues (e.g. more than 2); both of these terms could be used in RTMin, and both should use the residue and residue-pair evaluation scheme with the MinimizationGraph for the majority of the work they do. (Now, high-order constraints (3-body or above) will not be properly evaluated within RTMin.). The default implementation returns “false”.
C++: core::scoring::methods::EnergyMethod::defines_high_order_terms(const class core::pose::Pose &) const –> bool
-
defines_score_for_residue
(self: pyrosetta.rosetta.core.scoring.methods.OneBodyEnergy, : pyrosetta.rosetta.core.conformation.Residue) → bool¶ - During minimization, energy methods are allowed to decide that they say nothing
- about a particular residue (e.g. no non-zero energy) and as a result they will not be queried for a derivative or an energy. The default behavior is to return “true” for all residues.
C++: core::scoring::methods::OneBodyEnergy::defines_score_for_residue(const class core::conformation::Residue &) const –> bool
-
eval_atom_derivative
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, id: pyrosetta.rosetta.core.id.AtomID, pose: pyrosetta.rosetta.core.pose.Pose, domain_map: ObjexxFCL::FArray1D<int>, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction, emap: pyrosetta.rosetta.core.scoring.EMapVector, F1: pyrosetta.rosetta.numeric.xyzVector_double_t, F2: pyrosetta.rosetta.numeric.xyzVector_double_t) → None¶ - Evaluate the XYZ derivative for an atom in the pose.
Called during the atomtree derivative calculation, atom_tree_minimize.cc, through the ScoreFunction::eval_atom_derivative intermediary. F1 and F2 should not zeroed, rather, this class should accumulate its contribution from this atom’s XYZ derivative
The derivative scheme is based on that of Abe, Braun, Noguti and Go (1984) “Rapid Calculation of First and Second Derivatives of Conformational Energy with Respect to Dihedral Angles for Proteins. General Recurrent Equations” Computers & Chemistry 8(4) pp. 239-247. F1 and F2 correspond roughly to Fa and Ga, respectively, of equations 7a & 7b in that paper.
C++: core::scoring::methods::EnergyMethod::eval_atom_derivative(const class core::id::AtomID &, const class core::pose::Pose &, const class ObjexxFCL::FArray1D<int> &, const class core::scoring::ScoreFunction &, const class core::scoring::EMapVector &, class numeric::xyzVector<double> &, class numeric::xyzVector<double> &) const –> void
-
eval_residue_derivatives
(self: pyrosetta.rosetta.core.scoring.methods.OneBodyEnergy, rsd: pyrosetta.rosetta.core.conformation.Residue, min_data: core::scoring::ResSingleMinimizationData, pose: pyrosetta.rosetta.core.pose.Pose, weights: pyrosetta.rosetta.core.scoring.EMapVector, atom_derivs: pyrosetta.rosetta.utility.vector1_core_scoring_DerivVectorPair) → None¶ - Evaluate the derivatives for all atoms on this residue and increment them
- into the input atom_derivs vector1. The calling function must guarantee that setup for derivatives is called before this function is, and that the atom_derivs vector contains at least as many entries as there are atoms in the input Residue. This base class provides a default noop implementation of this function.
C++: core::scoring::methods::OneBodyEnergy::eval_residue_derivatives(const class core::conformation::Residue &, const class core::scoring::ResSingleMinimizationData &, const class core::pose::Pose &, const class core::scoring::EMapVector &, class utility::vector1<class core::scoring::DerivVectorPair, class std::allocator<class core::scoring::DerivVectorPair> > &) const –> void
-
eval_residue_dof_derivative
(self: pyrosetta.rosetta.core.scoring.methods.OneBodyEnergy, rsd: pyrosetta.rosetta.core.conformation.Residue, min_data: core::scoring::ResSingleMinimizationData, dof_id: pyrosetta.rosetta.core.id.DOF_ID, torsion_id: pyrosetta.rosetta.core.id.TorsionID, pose: pyrosetta.rosetta.core.pose.Pose, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction, weights: pyrosetta.rosetta.core.scoring.EMapVector) → float¶ - Evaluate the DOF derivative for a particular residue. The Pose merely serves as context,
- and the input residue is not required to be a member of the Pose.
C++: core::scoring::methods::OneBodyEnergy::eval_residue_dof_derivative(const class core::conformation::Residue &, const class core::scoring::ResSingleMinimizationData &, const class core::id::DOF_ID &, const class core::id::TorsionID &, const class core::pose::Pose &, const class core::scoring::ScoreFunction &, const class core::scoring::EMapVector &) const –> double
-
finalize_after_derivatives
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.core.scoring.ScoreFunction) → None¶ called at the end of derivatives evaluation
C++: core::scoring::methods::EnergyMethod::finalize_after_derivatives(class core::pose::Pose &, const class core::scoring::ScoreFunction &) const –> void
-
finalize_total_energy
(self: pyrosetta.rosetta.core.scoring.membrane.MPNonHelixPenalty, pose: pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.core.scoring.ScoreFunction, totals: pyrosetta.rosetta.core.scoring.EMapVector) → None¶ Finalize total energy method (for whole structure
C++: core::scoring::membrane::MPNonHelixPenalty::finalize_total_energy(class core::pose::Pose &, const class core::scoring::ScoreFunction &, class core::scoring::EMapVector &) const –> void
-
indicate_required_context_graphs
(self: pyrosetta.rosetta.core.scoring.membrane.MPNonHelixPenalty, : pyrosetta.rosetta.utility.vector1_bool) → None¶ C++: core::scoring::membrane::MPNonHelixPenalty::indicate_required_context_graphs(class utility::vector1<bool, class std::allocator<bool> > &) const –> void
-
method_type
(self: pyrosetta.rosetta.core.scoring.methods.ContextDependentOneBodyEnergy) → pyrosetta.rosetta.core.scoring.methods.EnergyMethodType¶ - Returns the cd_1b element of the EnergyMethodType enumeration; this method
- should NOT be overridden by derived classes.
C++: core::scoring::methods::ContextDependentOneBodyEnergy::method_type() const –> enum core::scoring::methods::EnergyMethodType
-
minimize_in_whole_structure_context
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.core.pose.Pose) → bool¶ - Should this EnergyMethod have score and derivative evaluation
- evaluated only in the context of the whole Pose, or can it be included in a decomposed manner for a residue or a set of residue-pairs that are not part of the Pose that’s serving as their context? The default method implemented in the base class returns true in order to grandfather in EnergyMethods that have not had their derivatives changed to take advantage of the new derivative-evaluation machinery. Methods that return “true” will not have their residue-energy(-ext) / residue-pair-energy(-ext) methods invoked by the ScoreFunction during its traversal of the MinimizationGraph, and instead will be asked to perform all their work during finalize_total_energies(). Similarly, they will be expected to perform all their work during eval_atom_deriv() instead of during the ScoreFunction’s traversal of the MinimizationGraph for derivative evaluation. IMPORTANT: Methods that return “true” cannot be included in RTMin.
C++: core::scoring::methods::EnergyMethod::minimize_in_whole_structure_context(const class core::pose::Pose &) const –> bool
-
prepare_rotamers_for_packing
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.core.conformation.RotamerSetBase) → None¶ - If an energy method needs to cache data in a packing::RotamerSet object before
- rotamer energies are calculated, it does so during this function. The packer must ensure this function is called. The default behavior is to do nothing.
C++: core::scoring::methods::EnergyMethod::prepare_rotamers_for_packing(const class core::pose::Pose &, class core::conformation::RotamerSetBase &) const –> void
-
requires_a_setup_for_derivatives_for_residue_opportunity
(self: pyrosetta.rosetta.core.scoring.methods.OneBodyEnergy, pose: pyrosetta.rosetta.core.pose.Pose) → bool¶ - Does this EnergyMethod require the opportunity to examine the residue before derivative evaluation begins? Not
- all energy methods would. The ScoreFunction will not ask energy methods to examine residues that are uninterested in doing so.
C++: core::scoring::methods::OneBodyEnergy::requires_a_setup_for_derivatives_for_residue_opportunity(const class core::pose::Pose &) const –> bool
-
requires_a_setup_for_scoring_for_residue_opportunity_during_minimization
(self: pyrosetta.rosetta.core.scoring.methods.OneBodyEnergy, pose: pyrosetta.rosetta.core.pose.Pose) → bool¶ - Does this EnergyMethod require the opportunity to examine the residue before scoring begins? Not
- all energy methods would. The ScoreFunction will not ask energy methods to examine residues that are uninterested in doing so.
C++: core::scoring::methods::OneBodyEnergy::requires_a_setup_for_scoring_for_residue_opportunity_during_minimization(const class core::pose::Pose &) const –> bool
-
requires_a_setup_for_scoring_for_residue_opportunity_during_regular_scoring
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, pose: pyrosetta.rosetta.core.pose.Pose) → bool¶ - Does this EnergyMethod require the opportunity to examine the residue before (regular) scoring begins? Not
- all energy methods would. The ScoreFunction will not ask energy methods to examine residues that are uninterested in doing so. The default implmentation of this function returns false
C++: core::scoring::methods::EnergyMethod::requires_a_setup_for_scoring_for_residue_opportunity_during_regular_scoring(const class core::pose::Pose &) const –> bool
-
residue_energy
(self: pyrosetta.rosetta.core.scoring.membrane.MPNonHelixPenalty, rsd: pyrosetta.rosetta.core.conformation.Residue, pose: pyrosetta.rosetta.core.pose.Pose, emap: pyrosetta.rosetta.core.scoring.EMapVector) → None¶ Compute nonhelix penalty per-residue
C++: core::scoring::membrane::MPNonHelixPenalty::residue_energy(const class core::conformation::Residue &, const class core::pose::Pose &, class core::scoring::EMapVector &) const –> void
-
residue_energy_ext
(self: pyrosetta.rosetta.core.scoring.methods.OneBodyEnergy, rsd: pyrosetta.rosetta.core.conformation.Residue, min_data: core::scoring::ResSingleMinimizationData, pose: pyrosetta.rosetta.core.pose.Pose, emap: pyrosetta.rosetta.core.scoring.EMapVector) → None¶ - Evaluate the one-body energies for a particular residue, in the context of a
- given Pose, and with the help of a piece of cached data for minimization, increment those one body energies into the input EnergyMap. The calling function must guarantee that this EnergyMethod has had the opportunity to update the input ResSingleMinimizationData object for the given residue in a call to setup_for_minimizing_for_residue before this function is invoked. This function should not be called unless the use_extended_residue_energy_interface() method returns “true”. Default implementation provided by this base class calls utility::exit(). The Pose merely serves as context, and the input residue is not required to be a member of the Pose.
C++: core::scoring::methods::OneBodyEnergy::residue_energy_ext(const class core::conformation::Residue &, const class core::scoring::ResSingleMinimizationData &, const class core::pose::Pose &, class core::scoring::EMapVector &) const –> void
-
score_types
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod) → pyrosetta.rosetta.utility.vector1_core_scoring_ScoreType¶ Returns the score types that this energy method computes.
C++: core::scoring::methods::EnergyMethod::score_types() const –> const class utility::vector1<enum core::scoring::ScoreType, class std::allocator<enum core::scoring::ScoreType> > &
-
setup_for_derivatives
(self: pyrosetta.rosetta.core.scoring.membrane.MPNonHelixPenalty, : pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.core.scoring.ScoreFunction) → None¶ Setup MP nonhelix for derivatives
C++: core::scoring::membrane::MPNonHelixPenalty::setup_for_derivatives(class core::pose::Pose &, const class core::scoring::ScoreFunction &) const –> void
-
setup_for_derivatives_for_residue
(self: pyrosetta.rosetta.core.scoring.methods.OneBodyEnergy, rsd: pyrosetta.rosetta.core.conformation.Residue, pose: pyrosetta.rosetta.core.pose.Pose, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction, min_data: core::scoring::ResSingleMinimizationData, res_data_cache: pyrosetta.rosetta.basic.datacache.BasicDataCache) → None¶ Do any setup work necessary before evaluating the derivatives for this residue
C++: core::scoring::methods::OneBodyEnergy::setup_for_derivatives_for_residue(const class core::conformation::Residue &, const class core::pose::Pose &, const class core::scoring::ScoreFunction &, class core::scoring::ResSingleMinimizationData &, class basic::datacache::BasicDataCache &) const –> void
-
setup_for_minimizing
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.core.scoring.ScoreFunction, : pyrosetta.rosetta.core.kinematics.MinimizerMapBase) → None¶ - Called at the beginning of atom tree minimization, this method
- allows the derived class the opportunity to initialize pertinent data that will be used during minimization. During minimzation, the chemical structure of the pose is constant, so assumptions on the number of atoms per residue and their identities are safe so long as the pose’s Energies object’s “use_nblist()” method returns true.
C++: core::scoring::methods::EnergyMethod::setup_for_minimizing(class core::pose::Pose &, const class core::scoring::ScoreFunction &, const class core::kinematics::MinimizerMapBase &) const –> void
-
setup_for_minimizing_for_residue
(self: pyrosetta.rosetta.core.scoring.methods.OneBodyEnergy, rsd: pyrosetta.rosetta.core.conformation.Residue, : pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.core.scoring.ScoreFunction, : pyrosetta.rosetta.core.kinematics.MinimizerMapBase, : pyrosetta.rosetta.basic.datacache.BasicDataCache, : core::scoring::ResSingleMinimizationData) → None¶ - Called at the beginning of minimization, allowing this energy method to cache data
- pertinent for a single residue in the the ResSingleMinimizationData that is used for a particular residue in the context of a particular Pose. This base class provides a noop implementation for this function if there is nothing that the derived class needs to perform in this setup phase. The Pose merely serves as context, and the input residue is not required to be a member of the Pose.
C++: core::scoring::methods::OneBodyEnergy::setup_for_minimizing_for_residue(const class core::conformation::Residue &, const class core::pose::Pose &, const class core::scoring::ScoreFunction &, const class core::kinematics::MinimizerMapBase &, class basic::datacache::BasicDataCache &, class core::scoring::ResSingleMinimizationData &) const –> void
-
setup_for_packing
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.utility.vector1_bool, : pyrosetta.rosetta.utility.vector1_bool) → None¶ - if an energy method needs to cache data in the Energies object,
- before packing begins, then it does so during this function. The packer must ensure this function is called. The default behavior is to do nothing.
C++: core::scoring::methods::EnergyMethod::setup_for_packing(class core::pose::Pose &, const class utility::vector1<bool, class std::allocator<bool> > &, const class utility::vector1<bool, class std::allocator<bool> > &) const –> void
-
setup_for_scoring
(self: pyrosetta.rosetta.core.scoring.membrane.MPNonHelixPenalty, : pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.core.scoring.ScoreFunction) → None¶ Set MP nonhelix Penalty for Scoring
C++: core::scoring::membrane::MPNonHelixPenalty::setup_for_scoring(class core::pose::Pose &, const class core::scoring::ScoreFunction &) const –> void
-
setup_for_scoring_for_residue
(*args, **kwargs)¶ Overloaded function.
- setup_for_scoring_for_residue(self: pyrosetta.rosetta.core.scoring.methods.OneBodyEnergy, rsd: pyrosetta.rosetta.core.conformation.Residue, pose: pyrosetta.rosetta.core.pose.Pose, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction, residue_data_cache: pyrosetta.rosetta.basic.datacache.BasicDataCache) -> None
- setup_for_scoring_for_residue(self: pyrosetta.rosetta.core.scoring.methods.OneBodyEnergy, rsd: pyrosetta.rosetta.core.conformation.Residue, pose: pyrosetta.rosetta.core.pose.Pose, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction, min_data: core::scoring::ResSingleMinimizationData) -> None
- Do any setup work should the coordinates of this residue, who is still guaranteed to be
- of the same residue type as when setup_for_minimizing_for_residue was called, have changed so dramatically as to possibly require some amount of setup work before scoring should proceed
C++: core::scoring::methods::OneBodyEnergy::setup_for_scoring_for_residue(const class core::conformation::Residue &, const class core::pose::Pose &, const class core::scoring::ScoreFunction &, class core::scoring::ResSingleMinimizationData &) const –> void
-
show_additional_info
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.std.ostream, : pyrosetta.rosetta.core.pose.Pose, : bool) → None¶ show additional information of the energy method
C++: core::scoring::methods::EnergyMethod::show_additional_info(class std::basic_ostream<char> &, class core::pose::Pose &, bool) const –> void
-
update_residue_for_packing
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.core.pose.Pose, resid: int) → None¶ - If the pose changes in the middle of a packing (as happens in rotamer trials) and if
- an energy method needs to cache data in the pose that corresponds to its current state, then the method must update that data when this function is called. The packer must ensure this function gets called. The default behavior is to do nothing.
C++: core::scoring::methods::EnergyMethod::update_residue_for_packing(class core::pose::Pose &, unsigned long) const –> void
-
use_extended_residue_energy_interface
(self: pyrosetta.rosetta.core.scoring.methods.OneBodyEnergy) → bool¶ - Rely on the extended version of the residue_energy function during score-function
- evaluation in minimization? The extended version (below) takes a ResSingleMinimizationData. Return ‘true’ for the extended version. The default method implemented in this class returns ‘false’
C++: core::scoring::methods::OneBodyEnergy::use_extended_residue_energy_interface() const –> bool
-
version
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod) → int¶ Return the version of the energy method
C++: core::scoring::methods::EnergyMethod::version() const –> unsigned long
-
-
class
pyrosetta.rosetta.core.scoring.membrane.
MPNonHelixPenaltyCreator
¶ Bases:
pyrosetta.rosetta.core.scoring.methods.EnergyMethodCreator
Membrane Non Hleix in mmebrane Penalty Creator Class
-
__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.membrane.MPNonHelixPenaltyCreator) → 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.core.scoring.membrane.MPNonHelixPenaltyCreator, : pyrosetta.rosetta.core.scoring.membrane.MPNonHelixPenaltyCreator) → pyrosetta.rosetta.core.scoring.membrane.MPNonHelixPenaltyCreator¶ C++: core::scoring::membrane::MPNonHelixPenaltyCreator::operator=(const class core::scoring::membrane::MPNonHelixPenaltyCreator &) –> class core::scoring::membrane::MPNonHelixPenaltyCreator &
-
create_energy_method
(self: pyrosetta.rosetta.core.scoring.membrane.MPNonHelixPenaltyCreator, : pyrosetta.rosetta.core.scoring.methods.EnergyMethodOptions) → pyrosetta.rosetta.core.scoring.methods.EnergyMethod¶ Instantiate a new MPNonHelixPenalty
C++: core::scoring::membrane::MPNonHelixPenaltyCreator::create_energy_method(const class core::scoring::methods::EnergyMethodOptions &) const –> class std::shared_ptr<class core::scoring::methods::EnergyMethod>
-
score_types_for_method
(self: pyrosetta.rosetta.core.scoring.membrane.MPNonHelixPenaltyCreator) → pyrosetta.rosetta.utility.vector1_core_scoring_ScoreType¶ - Return the set of score types claimed by the EnergyMethod
- this EnergyMethodCreator creates in its create_energy_method() function
C++: core::scoring::membrane::MPNonHelixPenaltyCreator::score_types_for_method() const –> class utility::vector1<enum core::scoring::ScoreType, class std::allocator<enum core::scoring::ScoreType> >
-
-
class
pyrosetta.rosetta.core.scoring.membrane.
MPPairEnergy
¶ Bases:
pyrosetta.rosetta.core.scoring.methods.ContextDependentTwoBodyEnergy
Membrane Environemtn Residue Pair Energy Term
-
__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.membrane.MPPairEnergy) → 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.core.scoring.methods.ContextDependentTwoBodyEnergy, : pyrosetta.rosetta.core.scoring.methods.ContextDependentTwoBodyEnergy) → pyrosetta.rosetta.core.scoring.methods.ContextDependentTwoBodyEnergy¶ C++: core::scoring::methods::ContextDependentTwoBodyEnergy::operator=(const class core::scoring::methods::ContextDependentTwoBodyEnergy &) –> class core::scoring::methods::ContextDependentTwoBodyEnergy &
-
atomic_interaction_cutoff
(self: pyrosetta.rosetta.core.scoring.membrane.MPPairEnergy) → float¶ Define Atomic Interaction Cutoff == 6A
C++: core::scoring::membrane::MPPairEnergy::atomic_interaction_cutoff() const –> double
-
backbone_backbone_energy
(self: pyrosetta.rosetta.core.scoring.methods.TwoBodyEnergy, rsd1: pyrosetta.rosetta.core.conformation.Residue, rsd2: pyrosetta.rosetta.core.conformation.Residue, pose: pyrosetta.rosetta.core.pose.Pose, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction, emap: pyrosetta.rosetta.core.scoring.EMapVector) → None¶ - Evaluate the interaction between the backbone of rsd1 and the
- backbone of rsd2 and accumulate the unweighted energies. The sum bb_bb(r1,r2) + bb_sc(r1,r2) + bb_sc(r2,r1) + sc_sc( r1,r2) must equal the weighted result of a call to residue_pair_energy. By default, bb_bb & bb_sc return 0 and sc_sc returns residue pair energy.
C++: core::scoring::methods::TwoBodyEnergy::backbone_backbone_energy(const class core::conformation::Residue &, const class core::conformation::Residue &, const class core::pose::Pose &, const class core::scoring::ScoreFunction &, class core::scoring::EMapVector &) const –> void
-
backbone_sidechain_energy
(self: pyrosetta.rosetta.core.scoring.methods.TwoBodyEnergy, rsd1: pyrosetta.rosetta.core.conformation.Residue, rsd2: pyrosetta.rosetta.core.conformation.Residue, pose: pyrosetta.rosetta.core.pose.Pose, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction, emap: pyrosetta.rosetta.core.scoring.EMapVector) → None¶ - Evaluate the interaction between the backbone of rsd1 and the
- sidechain of rsd2 and accumulate the unweighted energies. The sum bb_bb(r1,r2) + bb_sc(r1,r2) + bb_sc(r2,r1) + sc_sc( r1,r2) must equal the unweighted result of a call to residue_pair_energy. By default, bb_bb & bb_sc return 0 and sc_sc returns residue pair energy.
C++: core::scoring::methods::TwoBodyEnergy::backbone_sidechain_energy(const class core::conformation::Residue &, const class core::conformation::Residue &, const class core::pose::Pose &, const class core::scoring::ScoreFunction &, class core::scoring::EMapVector &) const –> void
-
bump_energy_backbone
(self: pyrosetta.rosetta.core.scoring.methods.TwoBodyEnergy, : pyrosetta.rosetta.core.conformation.Residue, : pyrosetta.rosetta.core.conformation.Residue, : pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.core.scoring.ScoreFunction, : pyrosetta.rosetta.core.scoring.EMapVector) → None¶ C++: core::scoring::methods::TwoBodyEnergy::bump_energy_backbone(const class core::conformation::Residue &, const class core::conformation::Residue &, const class core::pose::Pose &, const class core::scoring::ScoreFunction &, class core::scoring::EMapVector &) const –> void
-
bump_energy_full
(self: pyrosetta.rosetta.core.scoring.methods.TwoBodyEnergy, : pyrosetta.rosetta.core.conformation.Residue, : pyrosetta.rosetta.core.conformation.Residue, : pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.core.scoring.ScoreFunction, : pyrosetta.rosetta.core.scoring.EMapVector) → None¶ C++: core::scoring::methods::TwoBodyEnergy::bump_energy_full(const class core::conformation::Residue &, const class core::conformation::Residue &, const class core::pose::Pose &, const class core::scoring::ScoreFunction &, class core::scoring::EMapVector &) const –> void
-
clone
(self: pyrosetta.rosetta.core.scoring.membrane.MPPairEnergy) → pyrosetta.rosetta.core.scoring.methods.EnergyMethod¶ Clone Method
C++: core::scoring::membrane::MPPairEnergy::clone() const –> class std::shared_ptr<class core::scoring::methods::EnergyMethod>
-
compute_mpair_score
(self: pyrosetta.rosetta.core.scoring.membrane.MPPairEnergy, z_position1: float, z_position2: float, aa1: pyrosetta.rosetta.core.chemical.AA, aa2: pyrosetta.rosetta.core.chemical.AA, cendist: float) → float¶ Compute Reisdue-Residue Pair energy from z_position, aa, and Cb-Cb distance
C++: core::scoring::membrane::MPPairEnergy::compute_mpair_score(const double, const double, const enum core::chemical::AA &, const enum core::chemical::AA &, const double) const –> double
-
defines_high_order_terms
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.core.pose.Pose) → bool¶ - Should this EnergyMethod have score and derivative evaluation
- evaluated both in the context of the whole Pose and in the context of residue or residue-pairs? This covers scoring terms like env-smooth wherein the CBeta’s get derivatives for increasing the neighbor counts for surrounding residues, and terms like constraints, which are definable on arbitrary number of residues (e.g. more than 2); both of these terms could be used in RTMin, and both should use the residue and residue-pair evaluation scheme with the MinimizationGraph for the majority of the work they do. (Now, high-order constraints (3-body or above) will not be properly evaluated within RTMin.). The default implementation returns “false”.
C++: core::scoring::methods::EnergyMethod::defines_high_order_terms(const class core::pose::Pose &) const –> bool
-
defines_intrares_dof_derivatives
(self: pyrosetta.rosetta.core.scoring.methods.TwoBodyEnergy, p: pyrosetta.rosetta.core.pose.Pose) → bool¶ - Use the dof_derivative interface for this energy method when
- calculating derivatives? It is possible to define both dof_derivatives and atom-derivatives; they are not mutually exclusive.
C++: core::scoring::methods::TwoBodyEnergy::defines_intrares_dof_derivatives(const class core::pose::Pose &) const –> bool
-
defines_intrares_energy
(self: pyrosetta.rosetta.core.scoring.membrane.MPPairEnergy, : pyrosetta.rosetta.core.scoring.EMapVector) → bool¶ C++: core::scoring::membrane::MPPairEnergy::defines_intrares_energy(const class core::scoring::EMapVector &) const –> bool
-
defines_intrares_energy_for_residue
(self: pyrosetta.rosetta.core.scoring.methods.TwoBodyEnergy, res: pyrosetta.rosetta.core.conformation.Residue) → bool¶ - If a score function defines no intra-residue scores for a particular
- residue, then it may opt-out of being asked during minimization to evaluate the score for this residue.
C++: core::scoring::methods::TwoBodyEnergy::defines_intrares_energy_for_residue(const class core::conformation::Residue &) const –> bool
-
defines_score_for_residue_pair
(self: pyrosetta.rosetta.core.scoring.methods.TwoBodyEnergy, res1: pyrosetta.rosetta.core.conformation.Residue, res2: pyrosetta.rosetta.core.conformation.Residue, res_moving_wrt_eachother: bool) → bool¶ - During minimization, energy methods are allowed to decide that they say nothing
- about a particular residue pair (e.g. no non-zero energy) and as a result they will not be queried for a derivative or an energy. The default implementation returns “true” for all residue pairs. Context-dependent two-body energies have the option of behaving as if they are context-independent by returning “false” for residue pairs that do no move wrt each other.
C++: core::scoring::methods::TwoBodyEnergy::defines_score_for_residue_pair(const class core::conformation::Residue &, const class core::conformation::Residue &, bool) const –> bool
-
divides_backbone_and_sidechain_energetics
(self: pyrosetta.rosetta.core.scoring.methods.ShortRangeTwoBodyEnergy) → bool¶ - A derived class should return true for this function if it implements its own
- versions of the backbone_backbone_energy, backbone_sidechain_energy and sidechain_sidechain_energy functions. The default sidechain_sidechain_energy implemented by the TwoBodyEnergy base class calls residue_pair_energy. If the derived class implements its own versions of these functions, then calling code may avoid calling it on pairs of residues that are “provably distant” based on a pair of bounding spheres for a sidechains and backbones and this method’s atomic_interaction_cutoff energy method.
C++: core::scoring::methods::ShortRangeTwoBodyEnergy::divides_backbone_and_sidechain_energetics() const –> bool
-
eval_atom_derivative
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, id: pyrosetta.rosetta.core.id.AtomID, pose: pyrosetta.rosetta.core.pose.Pose, domain_map: ObjexxFCL::FArray1D<int>, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction, emap: pyrosetta.rosetta.core.scoring.EMapVector, F1: pyrosetta.rosetta.numeric.xyzVector_double_t, F2: pyrosetta.rosetta.numeric.xyzVector_double_t) → None¶ - Evaluate the XYZ derivative for an atom in the pose.
Called during the atomtree derivative calculation, atom_tree_minimize.cc, through the ScoreFunction::eval_atom_derivative intermediary. F1 and F2 should not zeroed, rather, this class should accumulate its contribution from this atom’s XYZ derivative
The derivative scheme is based on that of Abe, Braun, Noguti and Go (1984) “Rapid Calculation of First and Second Derivatives of Conformational Energy with Respect to Dihedral Angles for Proteins. General Recurrent Equations” Computers & Chemistry 8(4) pp. 239-247. F1 and F2 correspond roughly to Fa and Ga, respectively, of equations 7a & 7b in that paper.
C++: core::scoring::methods::EnergyMethod::eval_atom_derivative(const class core::id::AtomID &, const class core::pose::Pose &, const class ObjexxFCL::FArray1D<int> &, const class core::scoring::ScoreFunction &, const class core::scoring::EMapVector &, class numeric::xyzVector<double> &, class numeric::xyzVector<double> &) const –> void
-
eval_intrares_derivatives
(self: pyrosetta.rosetta.core.scoring.methods.TwoBodyEnergy, rsd: pyrosetta.rosetta.core.conformation.Residue, min_data: pyrosetta.rosetta.core.scoring.ResSingleMinimizationData, pose: pyrosetta.rosetta.core.pose.Pose, weights: pyrosetta.rosetta.core.scoring.EMapVector, atom_derivs: pyrosetta.rosetta.utility.vector1_core_scoring_DerivVectorPair) → None¶ - Evaluate the derivative for the intra-residue component of this energy method
- for all the atoms in a residue in the context of a particular pose, and increment the F1 and F2 vectors held in the atom_derivs vector1. This base class provides a default noop implementation of this function. The calling function must guarantee that this EnergyMethod has had the opportunity to update the input ResSingleMinimizationData object for the given residue in a call to prepare_for_minimization before this function is invoked. The calling function must also guarantee that there are at least as many entries in the atom_derivs vector1 as there are atoms in the input rsd.
C++: core::scoring::methods::TwoBodyEnergy::eval_intrares_derivatives(const class core::conformation::Residue &, const class core::scoring::ResSingleMinimizationData &, const class core::pose::Pose &, const class core::scoring::EMapVector &, class utility::vector1<class core::scoring::DerivVectorPair, class std::allocator<class core::scoring::DerivVectorPair> > &) const –> void
-
eval_intrares_energy
(self: pyrosetta.rosetta.core.scoring.membrane.MPPairEnergy, : pyrosetta.rosetta.core.conformation.Residue, : pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.core.scoring.ScoreFunction, : pyrosetta.rosetta.core.scoring.EMapVector) → None¶ C++: core::scoring::membrane::MPPairEnergy::eval_intrares_energy(const class core::conformation::Residue &, const class core::pose::Pose &, const class core::scoring::ScoreFunction &, class core::scoring::EMapVector &) const –> void
-
eval_intrares_energy_ext
(self: pyrosetta.rosetta.core.scoring.methods.TwoBodyEnergy, rsd: pyrosetta.rosetta.core.conformation.Residue, data_cache: pyrosetta.rosetta.core.scoring.ResSingleMinimizationData, pose: pyrosetta.rosetta.core.pose.Pose, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction, emap: pyrosetta.rosetta.core.scoring.EMapVector) → None¶ - Evaluate the intra-residue energy for a given residue using the data held within the
- ResSingleMinimizationData object. This function should be invoked only on derived instances of this class if they return “true” in a call to their use_extended_intrares_energy_interface method. This base class provides a noop implementation for classes that do not implement this interface, or that do not define intrares energies.
C++: core::scoring::methods::TwoBodyEnergy::eval_intrares_energy_ext(const class core::conformation::Residue &, const class core::scoring::ResSingleMinimizationData &, const class core::pose::Pose &, const class core::scoring::ScoreFunction &, class core::scoring::EMapVector &) const –> void
-
eval_intraresidue_dof_derivative
(self: pyrosetta.rosetta.core.scoring.methods.TwoBodyEnergy, rsd: pyrosetta.rosetta.core.conformation.Residue, min_data: pyrosetta.rosetta.core.scoring.ResSingleMinimizationData, dof_id: pyrosetta.rosetta.core.id.DOF_ID, torsion_id: pyrosetta.rosetta.core.id.TorsionID, pose: pyrosetta.rosetta.core.pose.Pose, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction, weights: pyrosetta.rosetta.core.scoring.EMapVector) → float¶ - Evaluate the DOF derivative for a particular residue. The Pose merely serves as context,
- and the input residue is not required to be a member of the Pose.
C++: core::scoring::methods::TwoBodyEnergy::eval_intraresidue_dof_derivative(const class core::conformation::Residue &, const class core::scoring::ResSingleMinimizationData &, const class core::id::DOF_ID &, const class core::id::TorsionID &, const class core::pose::Pose &, const class core::scoring::ScoreFunction &, const class core::scoring::EMapVector &) const –> double
-
eval_residue_pair_derivatives
(self: pyrosetta.rosetta.core.scoring.methods.TwoBodyEnergy, rsd1: pyrosetta.rosetta.core.conformation.Residue, rsd2: pyrosetta.rosetta.core.conformation.Residue, : pyrosetta.rosetta.core.scoring.ResSingleMinimizationData, : pyrosetta.rosetta.core.scoring.ResSingleMinimizationData, min_data: pyrosetta.rosetta.core.scoring.ResPairMinimizationData, pose: pyrosetta.rosetta.core.pose.Pose, weights: pyrosetta.rosetta.core.scoring.EMapVector, r1_atom_derivs: pyrosetta.rosetta.utility.vector1_core_scoring_DerivVectorPair, r2_atom_derivs: pyrosetta.rosetta.utility.vector1_core_scoring_DerivVectorPair) → None¶ - Evaluate the derivatives for all atoms on rsd1 and rsd2 with respect
- to each other and increment the derivatives in atom-derivatives vector1s. The calling function must guarantee that the r1_atom_derivs vector1 holds at least as many entries as there are atoms in rsd1, and that the r2_atom_derivs vector1 holds at least as many entries as there are atoms in rsd2.
C++: core::scoring::methods::TwoBodyEnergy::eval_residue_pair_derivatives(const class core::conformation::Residue &, const class core::conformation::Residue &, const class core::scoring::ResSingleMinimizationData &, const class core::scoring::ResSingleMinimizationData &, const class core::scoring::ResPairMinimizationData &, const class core::pose::Pose &, const class core::scoring::EMapVector &, class utility::vector1<class core::scoring::DerivVectorPair, class std::allocator<class core::scoring::DerivVectorPair> > &, class utility::vector1<class core::scoring::DerivVectorPair, class std::allocator<class core::scoring::DerivVectorPair> > &) const –> void
-
evaluate_rotamer_background_energies
(self: pyrosetta.rosetta.core.scoring.methods.ShortRangeTwoBodyEnergy, set: pyrosetta.rosetta.core.conformation.RotamerSetBase, residue: pyrosetta.rosetta.core.conformation.Residue, pose: pyrosetta.rosetta.core.pose.Pose, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction, weights: pyrosetta.rosetta.core.scoring.EMapVector, energy_vector: pyrosetta.rosetta.utility.vector1_float) → None¶ - Batch computation of rotamer/background energies. Need not be overriden
- in derived class – by default, iterates over all rotamers in the set, and calls derived class’s residue_pair_energy method for each one against the background rotamer Since short range rotamer pairs may not need calculation, the default method looks at blocks of residue type pairs and only calls the residue_pair_energy method if the rotamer pairs are within range
C++: core::scoring::methods::ShortRangeTwoBodyEnergy::evaluate_rotamer_background_energies(const class core::conformation::RotamerSetBase &, const class core::conformation::Residue &, const class core::pose::Pose &, const class core::scoring::ScoreFunction &, const class core::scoring::EMapVector &, class utility::vector1<float, class std::allocator<float> > &) const –> void
-
evaluate_rotamer_background_energy_maps
(self: pyrosetta.rosetta.core.scoring.methods.ShortRangeTwoBodyEnergy, set: pyrosetta.rosetta.core.conformation.RotamerSetBase, residue: pyrosetta.rosetta.core.conformation.Residue, pose: pyrosetta.rosetta.core.pose.Pose, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction, weights: pyrosetta.rosetta.core.scoring.EMapVector, emaps: pyrosetta.rosetta.utility.vector1_core_scoring_EMapVector) → None¶ - Batch computation of rotamer/background energies. Need not be overriden
- in derived class – by default, iterates over all rotamers in the set, and calls derived class’s residue_pair_energy method for each one against the background rotamer Since short range rotamer pairs may not need calculation, the default method looks at blocks of residue type pairs and only calls the residue_pair_energy method if the rotamer pairs are within range
C++: core::scoring::methods::ShortRangeTwoBodyEnergy::evaluate_rotamer_background_energy_maps(const class core::conformation::RotamerSetBase &, const class core::conformation::Residue &, const class core::pose::Pose &, const class core::scoring::ScoreFunction &, const class core::scoring::EMapVector &, class utility::vector1<class core::scoring::EMapVector, class std::allocator<class core::scoring::EMapVector> > &) const –> void
-
evaluate_rotamer_intrares_energies
(self: pyrosetta.rosetta.core.scoring.methods.TwoBodyEnergy, set: pyrosetta.rosetta.core.conformation.RotamerSetBase, pose: pyrosetta.rosetta.core.pose.Pose, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction, energies: pyrosetta.rosetta.utility.vector1_float) → None¶ - Batch computation of rotamer intrares energies. Need not be overriden in
- derived class – by default, iterates over all rotamers, and calls derived class’s intrares _energy method.
C++: core::scoring::methods::TwoBodyEnergy::evaluate_rotamer_intrares_energies(const class core::conformation::RotamerSetBase &, const class core::pose::Pose &, const class core::scoring::ScoreFunction &, class utility::vector1<float, class std::allocator<float> > &) const –> void
-
evaluate_rotamer_intrares_energy_maps
(self: pyrosetta.rosetta.core.scoring.methods.TwoBodyEnergy, set: pyrosetta.rosetta.core.conformation.RotamerSetBase, pose: pyrosetta.rosetta.core.pose.Pose, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction, emaps: pyrosetta.rosetta.utility.vector1_core_scoring_EMapVector) → None¶ - Batch computation of rotamer intrares energy map. Need not be overriden in
- derived class – by default, iterates over all rotamers, and calls derived class’s intrares _energy method.
C++: core::scoring::methods::TwoBodyEnergy::evaluate_rotamer_intrares_energy_maps(const class core::conformation::RotamerSetBase &, const class core::pose::Pose &, const class core::scoring::ScoreFunction &, class utility::vector1<class core::scoring::EMapVector, class std::allocator<class core::scoring::EMapVector> > &) const –> void
-
evaluate_rotamer_pair_energies
(self: pyrosetta.rosetta.core.scoring.methods.ShortRangeTwoBodyEnergy, set1: pyrosetta.rosetta.core.conformation.RotamerSetBase, set2: pyrosetta.rosetta.core.conformation.RotamerSetBase, pose: pyrosetta.rosetta.core.pose.Pose, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction, weights: pyrosetta.rosetta.core.scoring.EMapVector, energy_table: ObjexxFCL::FArray2D<float>) → None¶ - Batch computation of rotamer pair energies. Need not be overriden in
- derived class – by default, iterates over all pairs of rotamers, and calls derived class’s residue_pair_energy method. Since short range rotamer pairs may not need calculation, the default method looks at blocks of residue type pairs and only calls the residue_pair_energy method if the rotamer pairs are within range
C++: core::scoring::methods::ShortRangeTwoBodyEnergy::evaluate_rotamer_pair_energies(const class core::conformation::RotamerSetBase &, const class core::conformation::RotamerSetBase &, const class core::pose::Pose &, const class core::scoring::ScoreFunction &, const class core::scoring::EMapVector &, class ObjexxFCL::FArray2D<float> &) const –> void
-
finalize_after_derivatives
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.core.scoring.ScoreFunction) → None¶ called at the end of derivatives evaluation
C++: core::scoring::methods::EnergyMethod::finalize_after_derivatives(class core::pose::Pose &, const class core::scoring::ScoreFunction &) const –> void
-
finalize_total_energy
(self: pyrosetta.rosetta.core.scoring.membrane.MPPairEnergy, pose: pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.core.scoring.ScoreFunction, : pyrosetta.rosetta.core.scoring.EMapVector) → None¶ Fianlize whole structure energy
C++: core::scoring::membrane::MPPairEnergy::finalize_total_energy(class core::pose::Pose &, const class core::scoring::ScoreFunction &, class core::scoring::EMapVector &) const –> void
-
indicate_required_context_graphs
(self: pyrosetta.rosetta.core.scoring.membrane.MPPairEnergy, : pyrosetta.rosetta.utility.vector1_bool) → None¶ C++: core::scoring::membrane::MPPairEnergy::indicate_required_context_graphs(class utility::vector1<bool, class std::allocator<bool> > &) const –> void
-
method_type
(self: pyrosetta.rosetta.core.scoring.methods.ContextDependentTwoBodyEnergy) → pyrosetta.rosetta.core.scoring.methods.EnergyMethodType¶ C++: core::scoring::methods::ContextDependentTwoBodyEnergy::method_type() const –> enum core::scoring::methods::EnergyMethodType
-
minimize_in_whole_structure_context
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.core.pose.Pose) → bool¶ - Should this EnergyMethod have score and derivative evaluation
- evaluated only in the context of the whole Pose, or can it be included in a decomposed manner for a residue or a set of residue-pairs that are not part of the Pose that’s serving as their context? The default method implemented in the base class returns true in order to grandfather in EnergyMethods that have not had their derivatives changed to take advantage of the new derivative-evaluation machinery. Methods that return “true” will not have their residue-energy(-ext) / residue-pair-energy(-ext) methods invoked by the ScoreFunction during its traversal of the MinimizationGraph, and instead will be asked to perform all their work during finalize_total_energies(). Similarly, they will be expected to perform all their work during eval_atom_deriv() instead of during the ScoreFunction’s traversal of the MinimizationGraph for derivative evaluation. IMPORTANT: Methods that return “true” cannot be included in RTMin.
C++: core::scoring::methods::EnergyMethod::minimize_in_whole_structure_context(const class core::pose::Pose &) const –> bool
-
prepare_rotamers_for_packing
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.core.conformation.RotamerSetBase) → None¶ - If an energy method needs to cache data in a packing::RotamerSet object before
- rotamer energies are calculated, it does so during this function. The packer must ensure this function is called. The default behavior is to do nothing.
C++: core::scoring::methods::EnergyMethod::prepare_rotamers_for_packing(const class core::pose::Pose &, class core::conformation::RotamerSetBase &) const –> void
-
requires_a_setup_for_derivatives_for_residue_opportunity
(self: pyrosetta.rosetta.core.scoring.methods.TwoBodyEnergy, pose: pyrosetta.rosetta.core.pose.Pose) → bool¶ - Does this EnergyMethod require the opportunity to examine each residue before derivative evaluation begins? Not
- all energy methods would. The ScoreFunction will not ask energy methods to examine residue pairs that are uninterested in doing so.
C++: core::scoring::methods::TwoBodyEnergy::requires_a_setup_for_derivatives_for_residue_opportunity(const class core::pose::Pose &) const –> bool
-
requires_a_setup_for_derivatives_for_residue_pair_opportunity
(self: pyrosetta.rosetta.core.scoring.methods.TwoBodyEnergy, pose: pyrosetta.rosetta.core.pose.Pose) → bool¶ - Does this EnergyMethod require the opportunity to examine each residue pair before derivative evaluation begins? Not
- all energy methods would. The ScoreFunction will not ask energy methods to examine residue pairs that are uninterested in doing so.
C++: core::scoring::methods::TwoBodyEnergy::requires_a_setup_for_derivatives_for_residue_pair_opportunity(const class core::pose::Pose &) const –> bool
-
requires_a_setup_for_scoring_for_residue_opportunity_during_minimization
(self: pyrosetta.rosetta.core.scoring.methods.TwoBodyEnergy, pose: pyrosetta.rosetta.core.pose.Pose) → bool¶ - Does this EnergyMethod require the opportunity to examine the residue before scoring begins? Not
- all energy methods would. The ScoreFunction will not ask energy methods to examine residues that are uninterested in doing so.
C++: core::scoring::methods::TwoBodyEnergy::requires_a_setup_for_scoring_for_residue_opportunity_during_minimization(const class core::pose::Pose &) const –> bool
-
requires_a_setup_for_scoring_for_residue_opportunity_during_regular_scoring
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, pose: pyrosetta.rosetta.core.pose.Pose) → bool¶ - Does this EnergyMethod require the opportunity to examine the residue before (regular) scoring begins? Not
- all energy methods would. The ScoreFunction will not ask energy methods to examine residues that are uninterested in doing so. The default implmentation of this function returns false
C++: core::scoring::methods::EnergyMethod::requires_a_setup_for_scoring_for_residue_opportunity_during_regular_scoring(const class core::pose::Pose &) const –> bool
-
requires_a_setup_for_scoring_for_residue_pair_opportunity
(self: pyrosetta.rosetta.core.scoring.methods.TwoBodyEnergy, pose: pyrosetta.rosetta.core.pose.Pose) → bool¶ - Does this EnergyMethod require the opportunity to examine each residue pair before scoring begins? Not
- all energy methods would. The ScoreFunction will not ask energy methods to examine residue pairs that are uninterested in doing so.
C++: core::scoring::methods::TwoBodyEnergy::requires_a_setup_for_scoring_for_residue_pair_opportunity(const class core::pose::Pose &) const –> bool
-
residue_pair_energy
(self: pyrosetta.rosetta.core.scoring.membrane.MPPairEnergy, rsd1: pyrosetta.rosetta.core.conformation.Residue, rsd2: pyrosetta.rosetta.core.conformation.Residue, pose: pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.core.scoring.ScoreFunction, emap: pyrosetta.rosetta.core.scoring.EMapVector) → None¶ Compute residue pair energy in th emembrane
C++: core::scoring::membrane::MPPairEnergy::residue_pair_energy(const class core::conformation::Residue &, const class core::conformation::Residue &, const class core::pose::Pose &, const class core::scoring::ScoreFunction &, class core::scoring::EMapVector &) const –> void
-
residue_pair_energy_ext
(self: pyrosetta.rosetta.core.scoring.methods.TwoBodyEnergy, rsd1: pyrosetta.rosetta.core.conformation.Residue, rsd2: pyrosetta.rosetta.core.conformation.Residue, min_data: pyrosetta.rosetta.core.scoring.ResPairMinimizationData, pose: pyrosetta.rosetta.core.pose.Pose, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction, emap: pyrosetta.rosetta.core.scoring.EMapVector) → None¶ - Evaluate the two-body energies for a particular residue, in the context of a
- given Pose, and with the help of a piece of cached data for minimization, increment those two body energies into the input EnergyMap. The calling function must guarantee that this EnergyMethod has had the opportunity to update the input ResPairMinimizationData object for the given residues in a call to setup_for_minimizing_for_residue_pair before this function is invoked. This function should not be called unless the use_extended_residue_pair_energy_interface() method returns “true”. Default implementation provided by this base class calls utility::exit().
C++: core::scoring::methods::TwoBodyEnergy::residue_pair_energy_ext(const class core::conformation::Residue &, const class core::conformation::Residue &, const class core::scoring::ResPairMinimizationData &, const class core::pose::Pose &, const class core::scoring::ScoreFunction &, class core::scoring::EMapVector &) const –> void
-
score_types
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod) → pyrosetta.rosetta.utility.vector1_core_scoring_ScoreType¶ Returns the score types that this energy method computes.
C++: core::scoring::methods::EnergyMethod::score_types() const –> const class utility::vector1<enum core::scoring::ScoreType, class std::allocator<enum core::scoring::ScoreType> > &
-
setup_for_derivatives
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, pose: pyrosetta.rosetta.core.pose.Pose, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction) → None¶ - Called immediately before atom- and DOF-derivatives are calculated
- allowing the derived class a chance to prepare for future calls.
C++: core::scoring::methods::EnergyMethod::setup_for_derivatives(class core::pose::Pose &, const class core::scoring::ScoreFunction &) const –> void
-
setup_for_derivatives_for_residue
(self: pyrosetta.rosetta.core.scoring.methods.TwoBodyEnergy, rsd: pyrosetta.rosetta.core.conformation.Residue, pose: pyrosetta.rosetta.core.pose.Pose, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction, min_data: pyrosetta.rosetta.core.scoring.ResSingleMinimizationData, res_data_cache: pyrosetta.rosetta.basic.datacache.BasicDataCache) → None¶ Do any setup work necessary before evaluating the derivatives for this residue
C++: core::scoring::methods::TwoBodyEnergy::setup_for_derivatives_for_residue(const class core::conformation::Residue &, const class core::pose::Pose &, const class core::scoring::ScoreFunction &, class core::scoring::ResSingleMinimizationData &, class basic::datacache::BasicDataCache &) const –> void
-
setup_for_derivatives_for_residue_pair
(self: pyrosetta.rosetta.core.scoring.methods.TwoBodyEnergy, rsd1: pyrosetta.rosetta.core.conformation.Residue, rsd2: pyrosetta.rosetta.core.conformation.Residue, minsingle_data1: pyrosetta.rosetta.core.scoring.ResSingleMinimizationData, minsingle_data2: pyrosetta.rosetta.core.scoring.ResSingleMinimizationData, pose: pyrosetta.rosetta.core.pose.Pose, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction, data_cache: pyrosetta.rosetta.core.scoring.ResPairMinimizationData) → None¶ Do any setup work necessary before evaluating the derivatives for this residue pair
C++: core::scoring::methods::TwoBodyEnergy::setup_for_derivatives_for_residue_pair(const class core::conformation::Residue &, const class core::conformation::Residue &, const class core::scoring::ResSingleMinimizationData &, const class core::scoring::ResSingleMinimizationData &, const class core::pose::Pose &, const class core::scoring::ScoreFunction &, class core::scoring::ResPairMinimizationData &) const –> void
-
setup_for_minimizing
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.core.scoring.ScoreFunction, : pyrosetta.rosetta.core.kinematics.MinimizerMapBase) → None¶ - Called at the beginning of atom tree minimization, this method
- allows the derived class the opportunity to initialize pertinent data that will be used during minimization. During minimzation, the chemical structure of the pose is constant, so assumptions on the number of atoms per residue and their identities are safe so long as the pose’s Energies object’s “use_nblist()” method returns true.
C++: core::scoring::methods::EnergyMethod::setup_for_minimizing(class core::pose::Pose &, const class core::scoring::ScoreFunction &, const class core::kinematics::MinimizerMapBase &) const –> void
-
setup_for_minimizing_for_residue
(self: pyrosetta.rosetta.core.scoring.methods.TwoBodyEnergy, rsd: pyrosetta.rosetta.core.conformation.Residue, pose: pyrosetta.rosetta.core.pose.Pose, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction, minmap: pyrosetta.rosetta.core.kinematics.MinimizerMapBase, residue_data_cache: pyrosetta.rosetta.basic.datacache.BasicDataCache, res_data_cache: pyrosetta.rosetta.core.scoring.ResSingleMinimizationData) → None¶ - Called at the beginning of minimization, allowing this energy method to cache data
- pertinent for a single residue in the the ResPairMinimizationData that is used for a particular residue in the context of a particular Pose. This base class provides a noop implementation for this function if there is nothing that the derived class needs to perform in this setup phase.
C++: core::scoring::methods::TwoBodyEnergy::setup_for_minimizing_for_residue(const class core::conformation::Residue &, const class core::pose::Pose &, const class core::scoring::ScoreFunction &, const class core::kinematics::MinimizerMapBase &, class basic::datacache::BasicDataCache &, class core::scoring::ResSingleMinimizationData &) const –> void
-
setup_for_minimizing_for_residue_pair
(self: pyrosetta.rosetta.core.scoring.methods.TwoBodyEnergy, rsd1: pyrosetta.rosetta.core.conformation.Residue, rsd2: pyrosetta.rosetta.core.conformation.Residue, pose: pyrosetta.rosetta.core.pose.Pose, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction, minmap: pyrosetta.rosetta.core.kinematics.MinimizerMapBase, res1_data_cache: pyrosetta.rosetta.core.scoring.ResSingleMinimizationData, res2_data_cache: pyrosetta.rosetta.core.scoring.ResSingleMinimizationData, data_cache: pyrosetta.rosetta.core.scoring.ResPairMinimizationData) → None¶ - Called at the beginning of minimization, allowing this energy method to cache data
- pertinent for a single residue in the the ResPairMinimizationData that is used for a particular residue in the context of a particular Pose. This base class provides a noop implementation for this function if there is nothing that the derived class needs to perform in this setup phase.
C++: core::scoring::methods::TwoBodyEnergy::setup_for_minimizing_for_residue_pair(const class core::conformation::Residue &, const class core::conformation::Residue &, const class core::pose::Pose &, const class core::scoring::ScoreFunction &, const class core::kinematics::MinimizerMapBase &, const class core::scoring::ResSingleMinimizationData &, const class core::scoring::ResSingleMinimizationData &, class core::scoring::ResPairMinimizationData &) const –> void
-
setup_for_packing
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.utility.vector1_bool, : pyrosetta.rosetta.utility.vector1_bool) → None¶ - if an energy method needs to cache data in the Energies object,
- before packing begins, then it does so during this function. The packer must ensure this function is called. The default behavior is to do nothing.
C++: core::scoring::methods::EnergyMethod::setup_for_packing(class core::pose::Pose &, const class utility::vector1<bool, class std::allocator<bool> > &, const class utility::vector1<bool, class std::allocator<bool> > &) const –> void
-
setup_for_scoring
(self: pyrosetta.rosetta.core.scoring.membrane.MPPairEnergy, pose: pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.core.scoring.ScoreFunction) → None¶ Setup for Scoring - compute cen env and update neighbors
C++: core::scoring::membrane::MPPairEnergy::setup_for_scoring(class core::pose::Pose &, const class core::scoring::ScoreFunction &) const –> void
-
setup_for_scoring_for_residue
(*args, **kwargs)¶ Overloaded function.
- setup_for_scoring_for_residue(self: pyrosetta.rosetta.core.scoring.methods.TwoBodyEnergy, rsd: pyrosetta.rosetta.core.conformation.Residue, pose: pyrosetta.rosetta.core.pose.Pose, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction, residue_data_cache: pyrosetta.rosetta.basic.datacache.BasicDataCache) -> None
- setup_for_scoring_for_residue(self: pyrosetta.rosetta.core.scoring.methods.TwoBodyEnergy, rsd: pyrosetta.rosetta.core.conformation.Residue, pose: pyrosetta.rosetta.core.pose.Pose, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction, min_data: pyrosetta.rosetta.core.scoring.ResSingleMinimizationData) -> None
- Do any setup work should the coordinates of this residue (who is still guaranteed to be
- of the same residue type as when setup_for_minimizing_for_residue was called) have changed so dramatically as to possibly require some amount of setup work before scoring should proceed. This function is used for both intra-residue setup and pre-inter-residue setup
C++: core::scoring::methods::TwoBodyEnergy::setup_for_scoring_for_residue(const class core::conformation::Residue &, const class core::pose::Pose &, const class core::scoring::ScoreFunction &, class core::scoring::ResSingleMinimizationData &) const –> void
-
setup_for_scoring_for_residue_pair
(self: pyrosetta.rosetta.core.scoring.methods.TwoBodyEnergy, rsd1: pyrosetta.rosetta.core.conformation.Residue, rsd2: pyrosetta.rosetta.core.conformation.Residue, minsingle_data1: pyrosetta.rosetta.core.scoring.ResSingleMinimizationData, minsingle_data2: pyrosetta.rosetta.core.scoring.ResSingleMinimizationData, pose: pyrosetta.rosetta.core.pose.Pose, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction, data_cache: pyrosetta.rosetta.core.scoring.ResPairMinimizationData) → None¶ - Do any setup work should the coordinates of a pair of residues, who are still guaranteed to be
- of the same residue type as when setup_for_minimizing_for_residue was called, have changed so dramatically as to possibly require some amount of setup work before scoring should proceed
C++: core::scoring::methods::TwoBodyEnergy::setup_for_scoring_for_residue_pair(const class core::conformation::Residue &, const class core::conformation::Residue &, const class core::scoring::ResSingleMinimizationData &, const class core::scoring::ResSingleMinimizationData &, const class core::pose::Pose &, const class core::scoring::ScoreFunction &, class core::scoring::ResPairMinimizationData &) const –> void
-
show_additional_info
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.std.ostream, : pyrosetta.rosetta.core.pose.Pose, : bool) → None¶ show additional information of the energy method
C++: core::scoring::methods::EnergyMethod::show_additional_info(class std::basic_ostream<char> &, class core::pose::Pose &, bool) const –> void
-
sidechain_sidechain_energy
(self: pyrosetta.rosetta.core.scoring.methods.TwoBodyEnergy, rsd1: pyrosetta.rosetta.core.conformation.Residue, rsd2: pyrosetta.rosetta.core.conformation.Residue, pose: pyrosetta.rosetta.core.pose.Pose, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction, emap: pyrosetta.rosetta.core.scoring.EMapVector) → None¶ - Evaluate the interaction between the sidechain of rsd1 and the
- sidechain of rsd2 and accumulate the unweighted energies. The sum bb_bb(r1,r2) + bb_sc(r1,r2) + bb_sc(r2,r1) + sc_sc( r1,r2) must equal the unweighted result of a call to residue_pair_energy. By default, bb_bb & bb_sc return 0 and sc_sc returns residue pair energy.
C++: core::scoring::methods::TwoBodyEnergy::sidechain_sidechain_energy(const class core::conformation::Residue &, const class core::conformation::Residue &, const class core::pose::Pose &, const class core::scoring::ScoreFunction &, class core::scoring::EMapVector &) const –> void
-
update_residue_for_packing
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.core.pose.Pose, resid: int) → None¶ - If the pose changes in the middle of a packing (as happens in rotamer trials) and if
- an energy method needs to cache data in the pose that corresponds to its current state, then the method must update that data when this function is called. The packer must ensure this function gets called. The default behavior is to do nothing.
C++: core::scoring::methods::EnergyMethod::update_residue_for_packing(class core::pose::Pose &, unsigned long) const –> void
-
use_extended_intrares_energy_interface
(self: pyrosetta.rosetta.core.scoring.methods.TwoBodyEnergy) → bool¶ - Derived classes wishing to invoke the alternate, extended interface for eval_intrares_energy
- during minimization routines should return “true” when this function is invoked on them. This class provides a default “return false” implementation so that classes not desiring to take advantage of this alternate interface need to do nothing.
C++: core::scoring::methods::TwoBodyEnergy::use_extended_intrares_energy_interface() const –> bool
-
use_extended_residue_pair_energy_interface
(self: pyrosetta.rosetta.core.scoring.methods.TwoBodyEnergy) → bool¶ - Rely on the extended version of the residue_pair_energy function during score-function
- evaluation in minimization? The extended version (below) takes a ResPairMinimizationData in which the derived base class has (or should have) cached a piece of data that will make residue-pair energy evaluation faster than its absense (e.g. a neighbor list). Derived energy methods should return ‘true’ from this function to use the extended interface. The default method implemented in this class returns ‘false’
C++: core::scoring::methods::TwoBodyEnergy::use_extended_residue_pair_energy_interface() const –> bool
-
version
(self: pyrosetta.rosetta.core.scoring.membrane.MPPairEnergy) → int¶ Versioning
C++: core::scoring::membrane::MPPairEnergy::version() const –> unsigned long
-
-
class
pyrosetta.rosetta.core.scoring.membrane.
MPPairEnergyCreator
¶ Bases:
pyrosetta.rosetta.core.scoring.methods.EnergyMethodCreator
Creator Class for Membrane Residue Pair Energy Method
-
__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.membrane.MPPairEnergyCreator) → 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.core.scoring.membrane.MPPairEnergyCreator, : pyrosetta.rosetta.core.scoring.membrane.MPPairEnergyCreator) → pyrosetta.rosetta.core.scoring.membrane.MPPairEnergyCreator¶ C++: core::scoring::membrane::MPPairEnergyCreator::operator=(const class core::scoring::membrane::MPPairEnergyCreator &) –> class core::scoring::membrane::MPPairEnergyCreator &
-
create_energy_method
(self: pyrosetta.rosetta.core.scoring.membrane.MPPairEnergyCreator, : pyrosetta.rosetta.core.scoring.methods.EnergyMethodOptions) → pyrosetta.rosetta.core.scoring.methods.EnergyMethod¶ Instantiate a new MPPairEnergy
C++: core::scoring::membrane::MPPairEnergyCreator::create_energy_method(const class core::scoring::methods::EnergyMethodOptions &) const –> class std::shared_ptr<class core::scoring::methods::EnergyMethod>
-
score_types_for_method
(self: pyrosetta.rosetta.core.scoring.membrane.MPPairEnergyCreator) → pyrosetta.rosetta.utility.vector1_core_scoring_ScoreType¶ Return the Set of Score Types claimed by EnergyMethod
C++: core::scoring::membrane::MPPairEnergyCreator::score_types_for_method() const –> class utility::vector1<enum core::scoring::ScoreType, class std::allocator<enum core::scoring::ScoreType> >
-
-
class
pyrosetta.rosetta.core.scoring.membrane.
MPTMProjPenalty
¶ Bases:
pyrosetta.rosetta.core.scoring.methods.WholeStructureEnergy
Class Membrane TM proj Penalty
-
__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.membrane.MPTMProjPenalty) → 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.core.scoring.methods.WholeStructureEnergy, : pyrosetta.rosetta.core.scoring.methods.WholeStructureEnergy) → pyrosetta.rosetta.core.scoring.methods.WholeStructureEnergy¶ C++: core::scoring::methods::WholeStructureEnergy::operator=(const class core::scoring::methods::WholeStructureEnergy &) –> class core::scoring::methods::WholeStructureEnergy &
-
atomic_interaction_cutoff
(self: pyrosetta.rosetta.core.scoring.methods.WholeStructureEnergy) → float¶ how far apart must two heavy atoms be to have a zero interaction energy?
If hydrogen atoms interact at the same range as heavy atoms, then this distance should build-in a 2 * max-bound-h-distance-cutoff buffer. There is an improper mixing here between run-time aquired chemical knowledge (max-bound-h-distance-cutoff) and compile time aquired scoring knowledge (max atom cutoff); this could be resolved by adding a boolean uses_hydrogen_interaction_distance() to the SRTBEnergy class along with a method of the ChemicalManager max_bound_h_distance_cutoff().
This method allows the WholeStructureEnergy class to define which edges should be included in the EnergyGraph so that during the finalize() method the Energy class can iterate across the EnergyGraph. This iteration occurrs in the SecondaryStructureEnergy class, where the edges must span 12 angstroms between the centroids. Arguably, the SecondaryStructureEnergy class could use the TwelveANeighborGraph (a context graph) and not require that the EnergyGraph span such long distances.
C++: core::scoring::methods::WholeStructureEnergy::atomic_interaction_cutoff() const –> double
-
clone
(self: pyrosetta.rosetta.core.scoring.membrane.MPTMProjPenalty) → pyrosetta.rosetta.core.scoring.methods.EnergyMethod¶ Clone
C++: core::scoring::membrane::MPTMProjPenalty::clone() const –> class std::shared_ptr<class core::scoring::methods::EnergyMethod>
-
compute_tmproj_penalty
(self: pyrosetta.rosetta.core.scoring.membrane.MPTMProjPenalty, start_z_pos: float, end_z_pos: float, dist: float) → float¶ Compute Penalty for Length of Helix
C++: core::scoring::membrane::MPTMProjPenalty::compute_tmproj_penalty(double, double, double) const –> double
-
defines_high_order_terms
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.core.pose.Pose) → bool¶ - Should this EnergyMethod have score and derivative evaluation
- evaluated both in the context of the whole Pose and in the context of residue or residue-pairs? This covers scoring terms like env-smooth wherein the CBeta’s get derivatives for increasing the neighbor counts for surrounding residues, and terms like constraints, which are definable on arbitrary number of residues (e.g. more than 2); both of these terms could be used in RTMin, and both should use the residue and residue-pair evaluation scheme with the MinimizationGraph for the majority of the work they do. (Now, high-order constraints (3-body or above) will not be properly evaluated within RTMin.). The default implementation returns “false”.
C++: core::scoring::methods::EnergyMethod::defines_high_order_terms(const class core::pose::Pose &) const –> bool
-
eval_atom_derivative
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, id: pyrosetta.rosetta.core.id.AtomID, pose: pyrosetta.rosetta.core.pose.Pose, domain_map: ObjexxFCL::FArray1D<int>, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction, emap: pyrosetta.rosetta.core.scoring.EMapVector, F1: pyrosetta.rosetta.numeric.xyzVector_double_t, F2: pyrosetta.rosetta.numeric.xyzVector_double_t) → None¶ - Evaluate the XYZ derivative for an atom in the pose.
Called during the atomtree derivative calculation, atom_tree_minimize.cc, through the ScoreFunction::eval_atom_derivative intermediary. F1 and F2 should not zeroed, rather, this class should accumulate its contribution from this atom’s XYZ derivative
The derivative scheme is based on that of Abe, Braun, Noguti and Go (1984) “Rapid Calculation of First and Second Derivatives of Conformational Energy with Respect to Dihedral Angles for Proteins. General Recurrent Equations” Computers & Chemistry 8(4) pp. 239-247. F1 and F2 correspond roughly to Fa and Ga, respectively, of equations 7a & 7b in that paper.
C++: core::scoring::methods::EnergyMethod::eval_atom_derivative(const class core::id::AtomID &, const class core::pose::Pose &, const class ObjexxFCL::FArray1D<int> &, const class core::scoring::ScoreFunction &, const class core::scoring::EMapVector &, class numeric::xyzVector<double> &, class numeric::xyzVector<double> &) const –> void
-
finalize_after_derivatives
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.core.scoring.ScoreFunction) → None¶ called at the end of derivatives evaluation
C++: core::scoring::methods::EnergyMethod::finalize_after_derivatives(class core::pose::Pose &, const class core::scoring::ScoreFunction &) const –> void
-
finalize_total_energy
(self: pyrosetta.rosetta.core.scoring.membrane.MPTMProjPenalty, pose: pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.core.scoring.ScoreFunction, totals: pyrosetta.rosetta.core.scoring.EMapVector) → None¶ Finalize total energy method (for whole structure
C++: core::scoring::membrane::MPTMProjPenalty::finalize_total_energy(class core::pose::Pose &, const class core::scoring::ScoreFunction &, class core::scoring::EMapVector &) const –> void
-
indicate_required_context_graphs
(self: pyrosetta.rosetta.core.scoring.membrane.MPTMProjPenalty, : pyrosetta.rosetta.utility.vector1_bool) → None¶ C++: core::scoring::membrane::MPTMProjPenalty::indicate_required_context_graphs(class utility::vector1<bool, class std::allocator<bool> > &) const –> void
-
method_type
(self: pyrosetta.rosetta.core.scoring.methods.WholeStructureEnergy) → pyrosetta.rosetta.core.scoring.methods.EnergyMethodType¶ C++: core::scoring::methods::WholeStructureEnergy::method_type() const –> enum core::scoring::methods::EnergyMethodType
-
minimize_in_whole_structure_context
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.core.pose.Pose) → bool¶ - Should this EnergyMethod have score and derivative evaluation
- evaluated only in the context of the whole Pose, or can it be included in a decomposed manner for a residue or a set of residue-pairs that are not part of the Pose that’s serving as their context? The default method implemented in the base class returns true in order to grandfather in EnergyMethods that have not had their derivatives changed to take advantage of the new derivative-evaluation machinery. Methods that return “true” will not have their residue-energy(-ext) / residue-pair-energy(-ext) methods invoked by the ScoreFunction during its traversal of the MinimizationGraph, and instead will be asked to perform all their work during finalize_total_energies(). Similarly, they will be expected to perform all their work during eval_atom_deriv() instead of during the ScoreFunction’s traversal of the MinimizationGraph for derivative evaluation. IMPORTANT: Methods that return “true” cannot be included in RTMin.
C++: core::scoring::methods::EnergyMethod::minimize_in_whole_structure_context(const class core::pose::Pose &) const –> bool
-
prepare_rotamers_for_packing
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.core.conformation.RotamerSetBase) → None¶ - If an energy method needs to cache data in a packing::RotamerSet object before
- rotamer energies are calculated, it does so during this function. The packer must ensure this function is called. The default behavior is to do nothing.
C++: core::scoring::methods::EnergyMethod::prepare_rotamers_for_packing(const class core::pose::Pose &, class core::conformation::RotamerSetBase &) const –> void
-
requires_a_setup_for_scoring_for_residue_opportunity_during_regular_scoring
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, pose: pyrosetta.rosetta.core.pose.Pose) → bool¶ - Does this EnergyMethod require the opportunity to examine the residue before (regular) scoring begins? Not
- all energy methods would. The ScoreFunction will not ask energy methods to examine residues that are uninterested in doing so. The default implmentation of this function returns false
C++: core::scoring::methods::EnergyMethod::requires_a_setup_for_scoring_for_residue_opportunity_during_regular_scoring(const class core::pose::Pose &) const –> bool
-
score_types
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod) → pyrosetta.rosetta.utility.vector1_core_scoring_ScoreType¶ Returns the score types that this energy method computes.
C++: core::scoring::methods::EnergyMethod::score_types() const –> const class utility::vector1<enum core::scoring::ScoreType, class std::allocator<enum core::scoring::ScoreType> > &
-
setup_for_derivatives
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, pose: pyrosetta.rosetta.core.pose.Pose, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction) → None¶ - Called immediately before atom- and DOF-derivatives are calculated
- allowing the derived class a chance to prepare for future calls.
C++: core::scoring::methods::EnergyMethod::setup_for_derivatives(class core::pose::Pose &, const class core::scoring::ScoreFunction &) const –> void
-
setup_for_minimizing
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.core.scoring.ScoreFunction, : pyrosetta.rosetta.core.kinematics.MinimizerMapBase) → None¶ - Called at the beginning of atom tree minimization, this method
- allows the derived class the opportunity to initialize pertinent data that will be used during minimization. During minimzation, the chemical structure of the pose is constant, so assumptions on the number of atoms per residue and their identities are safe so long as the pose’s Energies object’s “use_nblist()” method returns true.
C++: core::scoring::methods::EnergyMethod::setup_for_minimizing(class core::pose::Pose &, const class core::scoring::ScoreFunction &, const class core::kinematics::MinimizerMapBase &) const –> void
-
setup_for_packing
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.utility.vector1_bool, : pyrosetta.rosetta.utility.vector1_bool) → None¶ - if an energy method needs to cache data in the Energies object,
- before packing begins, then it does so during this function. The packer must ensure this function is called. The default behavior is to do nothing.
C++: core::scoring::methods::EnergyMethod::setup_for_packing(class core::pose::Pose &, const class utility::vector1<bool, class std::allocator<bool> > &, const class utility::vector1<bool, class std::allocator<bool> > &) const –> void
-
setup_for_scoring
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.core.scoring.ScoreFunction) → None¶ - if an energy method needs to cache something in the pose (e.g. in pose.energies()),
- before scoring begins, it must do so in this method. All long range energy functions must initialize their LREnergyContainers before scoring begins. The default is to do nothing.
C++: core::scoring::methods::EnergyMethod::setup_for_scoring(class core::pose::Pose &, const class core::scoring::ScoreFunction &) const –> void
-
setup_for_scoring_for_residue
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, rsd: pyrosetta.rosetta.core.conformation.Residue, pose: pyrosetta.rosetta.core.pose.Pose, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction, residue_data_cache: pyrosetta.rosetta.basic.datacache.BasicDataCache) → None¶ - Do any setup work before scoring, caching any slow-to-compute data that will be used during
- energy evaluation inside of the input Residue object’s data cache. (The Residue on the whole is given as a constant reference, but non-constant access to its data cache is granted.)
C++: core::scoring::methods::EnergyMethod::setup_for_scoring_for_residue(const class core::conformation::Residue &, const class core::pose::Pose &, const class core::scoring::ScoreFunction &, class basic::datacache::BasicDataCache &) const –> void
-
show_additional_info
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.std.ostream, : pyrosetta.rosetta.core.pose.Pose, : bool) → None¶ show additional information of the energy method
C++: core::scoring::methods::EnergyMethod::show_additional_info(class std::basic_ostream<char> &, class core::pose::Pose &, bool) const –> void
-
update_residue_for_packing
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.core.pose.Pose, resid: int) → None¶ - If the pose changes in the middle of a packing (as happens in rotamer trials) and if
- an energy method needs to cache data in the pose that corresponds to its current state, then the method must update that data when this function is called. The packer must ensure this function gets called. The default behavior is to do nothing.
C++: core::scoring::methods::EnergyMethod::update_residue_for_packing(class core::pose::Pose &, unsigned long) const –> void
-
version
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod) → int¶ Return the version of the energy method
C++: core::scoring::methods::EnergyMethod::version() const –> unsigned long
-
-
class
pyrosetta.rosetta.core.scoring.membrane.
MPTMProjPenaltyCreator
¶ Bases:
pyrosetta.rosetta.core.scoring.methods.EnergyMethodCreator
Membrane TM Proj Penalty Creator Class
-
__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.membrane.MPTMProjPenaltyCreator) → 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.core.scoring.membrane.MPTMProjPenaltyCreator, : pyrosetta.rosetta.core.scoring.membrane.MPTMProjPenaltyCreator) → pyrosetta.rosetta.core.scoring.membrane.MPTMProjPenaltyCreator¶ C++: core::scoring::membrane::MPTMProjPenaltyCreator::operator=(const class core::scoring::membrane::MPTMProjPenaltyCreator &) –> class core::scoring::membrane::MPTMProjPenaltyCreator &
-
create_energy_method
(self: pyrosetta.rosetta.core.scoring.membrane.MPTMProjPenaltyCreator, : pyrosetta.rosetta.core.scoring.methods.EnergyMethodOptions) → pyrosetta.rosetta.core.scoring.methods.EnergyMethod¶ Instantiate a new MPTMProjPenalty
C++: core::scoring::membrane::MPTMProjPenaltyCreator::create_energy_method(const class core::scoring::methods::EnergyMethodOptions &) const –> class std::shared_ptr<class core::scoring::methods::EnergyMethod>
-
score_types_for_method
(self: pyrosetta.rosetta.core.scoring.membrane.MPTMProjPenaltyCreator) → pyrosetta.rosetta.utility.vector1_core_scoring_ScoreType¶ Returns MPTMProj score type
C++: core::scoring::membrane::MPTMProjPenaltyCreator::score_types_for_method() const –> class utility::vector1<enum core::scoring::ScoreType, class std::allocator<enum core::scoring::ScoreType> >
-
-
class
pyrosetta.rosetta.core.scoring.membrane.
MPTerminiPenalty
¶ Bases:
pyrosetta.rosetta.core.scoring.methods.ContextDependentOneBodyEnergy
Class Membrane Termini Penalty
-
__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.membrane.MPTerminiPenalty) → 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.core.scoring.methods.ContextDependentOneBodyEnergy, : pyrosetta.rosetta.core.scoring.methods.ContextDependentOneBodyEnergy) → pyrosetta.rosetta.core.scoring.methods.ContextDependentOneBodyEnergy¶ C++: core::scoring::methods::ContextDependentOneBodyEnergy::operator=(const class core::scoring::methods::ContextDependentOneBodyEnergy &) –> class core::scoring::methods::ContextDependentOneBodyEnergy &
-
clone
(self: pyrosetta.rosetta.core.scoring.membrane.MPTerminiPenalty) → pyrosetta.rosetta.core.scoring.methods.EnergyMethod¶ Clone
C++: core::scoring::membrane::MPTerminiPenalty::clone() const –> class std::shared_ptr<class core::scoring::methods::EnergyMethod>
-
compute_termini_penalty
(self: pyrosetta.rosetta.core.scoring.membrane.MPTerminiPenalty, z_position: float) → float¶ Compute Termini Penalty
C++: core::scoring::membrane::MPTerminiPenalty::compute_termini_penalty(double) const –> double
-
defines_dof_derivatives
(self: pyrosetta.rosetta.core.scoring.methods.OneBodyEnergy, p: pyrosetta.rosetta.core.pose.Pose) → bool¶ - Use the dof_derivative interface for this energy method when
- calculating derivatives? It is possible to define both dof_derivatives and atom-derivatives; they are not mutually exclusive.
C++: core::scoring::methods::OneBodyEnergy::defines_dof_derivatives(const class core::pose::Pose &) const –> bool
-
defines_high_order_terms
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.core.pose.Pose) → bool¶ - Should this EnergyMethod have score and derivative evaluation
- evaluated both in the context of the whole Pose and in the context of residue or residue-pairs? This covers scoring terms like env-smooth wherein the CBeta’s get derivatives for increasing the neighbor counts for surrounding residues, and terms like constraints, which are definable on arbitrary number of residues (e.g. more than 2); both of these terms could be used in RTMin, and both should use the residue and residue-pair evaluation scheme with the MinimizationGraph for the majority of the work they do. (Now, high-order constraints (3-body or above) will not be properly evaluated within RTMin.). The default implementation returns “false”.
C++: core::scoring::methods::EnergyMethod::defines_high_order_terms(const class core::pose::Pose &) const –> bool
-
defines_score_for_residue
(self: pyrosetta.rosetta.core.scoring.methods.OneBodyEnergy, : pyrosetta.rosetta.core.conformation.Residue) → bool¶ - During minimization, energy methods are allowed to decide that they say nothing
- about a particular residue (e.g. no non-zero energy) and as a result they will not be queried for a derivative or an energy. The default behavior is to return “true” for all residues.
C++: core::scoring::methods::OneBodyEnergy::defines_score_for_residue(const class core::conformation::Residue &) const –> bool
-
eval_atom_derivative
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, id: pyrosetta.rosetta.core.id.AtomID, pose: pyrosetta.rosetta.core.pose.Pose, domain_map: ObjexxFCL::FArray1D<int>, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction, emap: pyrosetta.rosetta.core.scoring.EMapVector, F1: pyrosetta.rosetta.numeric.xyzVector_double_t, F2: pyrosetta.rosetta.numeric.xyzVector_double_t) → None¶ - Evaluate the XYZ derivative for an atom in the pose.
Called during the atomtree derivative calculation, atom_tree_minimize.cc, through the ScoreFunction::eval_atom_derivative intermediary. F1 and F2 should not zeroed, rather, this class should accumulate its contribution from this atom’s XYZ derivative
The derivative scheme is based on that of Abe, Braun, Noguti and Go (1984) “Rapid Calculation of First and Second Derivatives of Conformational Energy with Respect to Dihedral Angles for Proteins. General Recurrent Equations” Computers & Chemistry 8(4) pp. 239-247. F1 and F2 correspond roughly to Fa and Ga, respectively, of equations 7a & 7b in that paper.
C++: core::scoring::methods::EnergyMethod::eval_atom_derivative(const class core::id::AtomID &, const class core::pose::Pose &, const class ObjexxFCL::FArray1D<int> &, const class core::scoring::ScoreFunction &, const class core::scoring::EMapVector &, class numeric::xyzVector<double> &, class numeric::xyzVector<double> &) const –> void
-
eval_residue_derivatives
(self: pyrosetta.rosetta.core.scoring.methods.OneBodyEnergy, rsd: pyrosetta.rosetta.core.conformation.Residue, min_data: core::scoring::ResSingleMinimizationData, pose: pyrosetta.rosetta.core.pose.Pose, weights: pyrosetta.rosetta.core.scoring.EMapVector, atom_derivs: pyrosetta.rosetta.utility.vector1_core_scoring_DerivVectorPair) → None¶ - Evaluate the derivatives for all atoms on this residue and increment them
- into the input atom_derivs vector1. The calling function must guarantee that setup for derivatives is called before this function is, and that the atom_derivs vector contains at least as many entries as there are atoms in the input Residue. This base class provides a default noop implementation of this function.
C++: core::scoring::methods::OneBodyEnergy::eval_residue_derivatives(const class core::conformation::Residue &, const class core::scoring::ResSingleMinimizationData &, const class core::pose::Pose &, const class core::scoring::EMapVector &, class utility::vector1<class core::scoring::DerivVectorPair, class std::allocator<class core::scoring::DerivVectorPair> > &) const –> void
-
eval_residue_dof_derivative
(self: pyrosetta.rosetta.core.scoring.methods.OneBodyEnergy, rsd: pyrosetta.rosetta.core.conformation.Residue, min_data: core::scoring::ResSingleMinimizationData, dof_id: pyrosetta.rosetta.core.id.DOF_ID, torsion_id: pyrosetta.rosetta.core.id.TorsionID, pose: pyrosetta.rosetta.core.pose.Pose, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction, weights: pyrosetta.rosetta.core.scoring.EMapVector) → float¶ - Evaluate the DOF derivative for a particular residue. The Pose merely serves as context,
- and the input residue is not required to be a member of the Pose.
C++: core::scoring::methods::OneBodyEnergy::eval_residue_dof_derivative(const class core::conformation::Residue &, const class core::scoring::ResSingleMinimizationData &, const class core::id::DOF_ID &, const class core::id::TorsionID &, const class core::pose::Pose &, const class core::scoring::ScoreFunction &, const class core::scoring::EMapVector &) const –> double
-
finalize_after_derivatives
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.core.scoring.ScoreFunction) → None¶ called at the end of derivatives evaluation
C++: core::scoring::methods::EnergyMethod::finalize_after_derivatives(class core::pose::Pose &, const class core::scoring::ScoreFunction &) const –> void
-
finalize_total_energy
(self: pyrosetta.rosetta.core.scoring.membrane.MPTerminiPenalty, pose: pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.core.scoring.ScoreFunction, totals: pyrosetta.rosetta.core.scoring.EMapVector) → None¶ Finalize total energy method (for whole structure
C++: core::scoring::membrane::MPTerminiPenalty::finalize_total_energy(class core::pose::Pose &, const class core::scoring::ScoreFunction &, class core::scoring::EMapVector &) const –> void
-
indicate_required_context_graphs
(self: pyrosetta.rosetta.core.scoring.membrane.MPTerminiPenalty, : pyrosetta.rosetta.utility.vector1_bool) → None¶ C++: core::scoring::membrane::MPTerminiPenalty::indicate_required_context_graphs(class utility::vector1<bool, class std::allocator<bool> > &) const –> void
-
method_type
(self: pyrosetta.rosetta.core.scoring.methods.ContextDependentOneBodyEnergy) → pyrosetta.rosetta.core.scoring.methods.EnergyMethodType¶ - Returns the cd_1b element of the EnergyMethodType enumeration; this method
- should NOT be overridden by derived classes.
C++: core::scoring::methods::ContextDependentOneBodyEnergy::method_type() const –> enum core::scoring::methods::EnergyMethodType
-
minimize_in_whole_structure_context
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.core.pose.Pose) → bool¶ - Should this EnergyMethod have score and derivative evaluation
- evaluated only in the context of the whole Pose, or can it be included in a decomposed manner for a residue or a set of residue-pairs that are not part of the Pose that’s serving as their context? The default method implemented in the base class returns true in order to grandfather in EnergyMethods that have not had their derivatives changed to take advantage of the new derivative-evaluation machinery. Methods that return “true” will not have their residue-energy(-ext) / residue-pair-energy(-ext) methods invoked by the ScoreFunction during its traversal of the MinimizationGraph, and instead will be asked to perform all their work during finalize_total_energies(). Similarly, they will be expected to perform all their work during eval_atom_deriv() instead of during the ScoreFunction’s traversal of the MinimizationGraph for derivative evaluation. IMPORTANT: Methods that return “true” cannot be included in RTMin.
C++: core::scoring::methods::EnergyMethod::minimize_in_whole_structure_context(const class core::pose::Pose &) const –> bool
-
prepare_rotamers_for_packing
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.core.conformation.RotamerSetBase) → None¶ - If an energy method needs to cache data in a packing::RotamerSet object before
- rotamer energies are calculated, it does so during this function. The packer must ensure this function is called. The default behavior is to do nothing.
C++: core::scoring::methods::EnergyMethod::prepare_rotamers_for_packing(const class core::pose::Pose &, class core::conformation::RotamerSetBase &) const –> void
-
requires_a_setup_for_derivatives_for_residue_opportunity
(self: pyrosetta.rosetta.core.scoring.methods.OneBodyEnergy, pose: pyrosetta.rosetta.core.pose.Pose) → bool¶ - Does this EnergyMethod require the opportunity to examine the residue before derivative evaluation begins? Not
- all energy methods would. The ScoreFunction will not ask energy methods to examine residues that are uninterested in doing so.
C++: core::scoring::methods::OneBodyEnergy::requires_a_setup_for_derivatives_for_residue_opportunity(const class core::pose::Pose &) const –> bool
-
requires_a_setup_for_scoring_for_residue_opportunity_during_minimization
(self: pyrosetta.rosetta.core.scoring.methods.OneBodyEnergy, pose: pyrosetta.rosetta.core.pose.Pose) → bool¶ - Does this EnergyMethod require the opportunity to examine the residue before scoring begins? Not
- all energy methods would. The ScoreFunction will not ask energy methods to examine residues that are uninterested in doing so.
C++: core::scoring::methods::OneBodyEnergy::requires_a_setup_for_scoring_for_residue_opportunity_during_minimization(const class core::pose::Pose &) const –> bool
-
requires_a_setup_for_scoring_for_residue_opportunity_during_regular_scoring
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, pose: pyrosetta.rosetta.core.pose.Pose) → bool¶ - Does this EnergyMethod require the opportunity to examine the residue before (regular) scoring begins? Not
- all energy methods would. The ScoreFunction will not ask energy methods to examine residues that are uninterested in doing so. The default implmentation of this function returns false
C++: core::scoring::methods::EnergyMethod::requires_a_setup_for_scoring_for_residue_opportunity_during_regular_scoring(const class core::pose::Pose &) const –> bool
-
residue_energy
(self: pyrosetta.rosetta.core.scoring.membrane.MPTerminiPenalty, rsd: pyrosetta.rosetta.core.conformation.Residue, pose: pyrosetta.rosetta.core.pose.Pose, emap: pyrosetta.rosetta.core.scoring.EMapVector) → None¶ Compute termini penalty per-residue
C++: core::scoring::membrane::MPTerminiPenalty::residue_energy(const class core::conformation::Residue &, const class core::pose::Pose &, class core::scoring::EMapVector &) const –> void
-
residue_energy_ext
(self: pyrosetta.rosetta.core.scoring.methods.OneBodyEnergy, rsd: pyrosetta.rosetta.core.conformation.Residue, min_data: core::scoring::ResSingleMinimizationData, pose: pyrosetta.rosetta.core.pose.Pose, emap: pyrosetta.rosetta.core.scoring.EMapVector) → None¶ - Evaluate the one-body energies for a particular residue, in the context of a
- given Pose, and with the help of a piece of cached data for minimization, increment those one body energies into the input EnergyMap. The calling function must guarantee that this EnergyMethod has had the opportunity to update the input ResSingleMinimizationData object for the given residue in a call to setup_for_minimizing_for_residue before this function is invoked. This function should not be called unless the use_extended_residue_energy_interface() method returns “true”. Default implementation provided by this base class calls utility::exit(). The Pose merely serves as context, and the input residue is not required to be a member of the Pose.
C++: core::scoring::methods::OneBodyEnergy::residue_energy_ext(const class core::conformation::Residue &, const class core::scoring::ResSingleMinimizationData &, const class core::pose::Pose &, class core::scoring::EMapVector &) const –> void
-
score_types
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod) → pyrosetta.rosetta.utility.vector1_core_scoring_ScoreType¶ Returns the score types that this energy method computes.
C++: core::scoring::methods::EnergyMethod::score_types() const –> const class utility::vector1<enum core::scoring::ScoreType, class std::allocator<enum core::scoring::ScoreType> > &
-
setup_for_derivatives
(self: pyrosetta.rosetta.core.scoring.membrane.MPTerminiPenalty, : pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.core.scoring.ScoreFunction) → None¶ Setup MP termini for derivatives
C++: core::scoring::membrane::MPTerminiPenalty::setup_for_derivatives(class core::pose::Pose &, const class core::scoring::ScoreFunction &) const –> void
-
setup_for_derivatives_for_residue
(self: pyrosetta.rosetta.core.scoring.methods.OneBodyEnergy, rsd: pyrosetta.rosetta.core.conformation.Residue, pose: pyrosetta.rosetta.core.pose.Pose, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction, min_data: core::scoring::ResSingleMinimizationData, res_data_cache: pyrosetta.rosetta.basic.datacache.BasicDataCache) → None¶ Do any setup work necessary before evaluating the derivatives for this residue
C++: core::scoring::methods::OneBodyEnergy::setup_for_derivatives_for_residue(const class core::conformation::Residue &, const class core::pose::Pose &, const class core::scoring::ScoreFunction &, class core::scoring::ResSingleMinimizationData &, class basic::datacache::BasicDataCache &) const –> void
-
setup_for_minimizing
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.core.scoring.ScoreFunction, : pyrosetta.rosetta.core.kinematics.MinimizerMapBase) → None¶ - Called at the beginning of atom tree minimization, this method
- allows the derived class the opportunity to initialize pertinent data that will be used during minimization. During minimzation, the chemical structure of the pose is constant, so assumptions on the number of atoms per residue and their identities are safe so long as the pose’s Energies object’s “use_nblist()” method returns true.
C++: core::scoring::methods::EnergyMethod::setup_for_minimizing(class core::pose::Pose &, const class core::scoring::ScoreFunction &, const class core::kinematics::MinimizerMapBase &) const –> void
-
setup_for_minimizing_for_residue
(self: pyrosetta.rosetta.core.scoring.methods.OneBodyEnergy, rsd: pyrosetta.rosetta.core.conformation.Residue, : pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.core.scoring.ScoreFunction, : pyrosetta.rosetta.core.kinematics.MinimizerMapBase, : pyrosetta.rosetta.basic.datacache.BasicDataCache, : core::scoring::ResSingleMinimizationData) → None¶ - Called at the beginning of minimization, allowing this energy method to cache data
- pertinent for a single residue in the the ResSingleMinimizationData that is used for a particular residue in the context of a particular Pose. This base class provides a noop implementation for this function if there is nothing that the derived class needs to perform in this setup phase. The Pose merely serves as context, and the input residue is not required to be a member of the Pose.
C++: core::scoring::methods::OneBodyEnergy::setup_for_minimizing_for_residue(const class core::conformation::Residue &, const class core::pose::Pose &, const class core::scoring::ScoreFunction &, const class core::kinematics::MinimizerMapBase &, class basic::datacache::BasicDataCache &, class core::scoring::ResSingleMinimizationData &) const –> void
-
setup_for_packing
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.utility.vector1_bool, : pyrosetta.rosetta.utility.vector1_bool) → None¶ - if an energy method needs to cache data in the Energies object,
- before packing begins, then it does so during this function. The packer must ensure this function is called. The default behavior is to do nothing.
C++: core::scoring::methods::EnergyMethod::setup_for_packing(class core::pose::Pose &, const class utility::vector1<bool, class std::allocator<bool> > &, const class utility::vector1<bool, class std::allocator<bool> > &) const –> void
-
setup_for_scoring
(self: pyrosetta.rosetta.core.scoring.membrane.MPTerminiPenalty, : pyrosetta.rosetta.core.pose.Pose, : pyrosetta.rosetta.core.scoring.ScoreFunction) → None¶ Set MP Termini Penalty for Scoring
C++: core::scoring::membrane::MPTerminiPenalty::setup_for_scoring(class core::pose::Pose &, const class core::scoring::ScoreFunction &) const –> void
-
setup_for_scoring_for_residue
(*args, **kwargs)¶ Overloaded function.
- setup_for_scoring_for_residue(self: pyrosetta.rosetta.core.scoring.methods.OneBodyEnergy, rsd: pyrosetta.rosetta.core.conformation.Residue, pose: pyrosetta.rosetta.core.pose.Pose, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction, residue_data_cache: pyrosetta.rosetta.basic.datacache.BasicDataCache) -> None
- setup_for_scoring_for_residue(self: pyrosetta.rosetta.core.scoring.methods.OneBodyEnergy, rsd: pyrosetta.rosetta.core.conformation.Residue, pose: pyrosetta.rosetta.core.pose.Pose, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction, min_data: core::scoring::ResSingleMinimizationData) -> None
- Do any setup work should the coordinates of this residue, who is still guaranteed to be
- of the same residue type as when setup_for_minimizing_for_residue was called, have changed so dramatically as to possibly require some amount of setup work before scoring should proceed
C++: core::scoring::methods::OneBodyEnergy::setup_for_scoring_for_residue(const class core::conformation::Residue &, const class core::pose::Pose &, const class core::scoring::ScoreFunction &, class core::scoring::ResSingleMinimizationData &) const –> void
-
show_additional_info
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.std.ostream, : pyrosetta.rosetta.core.pose.Pose, : bool) → None¶ show additional information of the energy method
C++: core::scoring::methods::EnergyMethod::show_additional_info(class std::basic_ostream<char> &, class core::pose::Pose &, bool) const –> void
-
update_residue_for_packing
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod, : pyrosetta.rosetta.core.pose.Pose, resid: int) → None¶ - If the pose changes in the middle of a packing (as happens in rotamer trials) and if
- an energy method needs to cache data in the pose that corresponds to its current state, then the method must update that data when this function is called. The packer must ensure this function gets called. The default behavior is to do nothing.
C++: core::scoring::methods::EnergyMethod::update_residue_for_packing(class core::pose::Pose &, unsigned long) const –> void
-
use_extended_residue_energy_interface
(self: pyrosetta.rosetta.core.scoring.methods.OneBodyEnergy) → bool¶ - Rely on the extended version of the residue_energy function during score-function
- evaluation in minimization? The extended version (below) takes a ResSingleMinimizationData. Return ‘true’ for the extended version. The default method implemented in this class returns ‘false’
C++: core::scoring::methods::OneBodyEnergy::use_extended_residue_energy_interface() const –> bool
-
version
(self: pyrosetta.rosetta.core.scoring.methods.EnergyMethod) → int¶ Return the version of the energy method
C++: core::scoring::methods::EnergyMethod::version() const –> unsigned long
-
-
class
pyrosetta.rosetta.core.scoring.membrane.
MPTerminiPenaltyCreator
¶ Bases:
pyrosetta.rosetta.core.scoring.methods.EnergyMethodCreator
Membrane Termini Penalty Creator Class
-
__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.membrane.MPTerminiPenaltyCreator) → 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.core.scoring.membrane.MPTerminiPenaltyCreator, : pyrosetta.rosetta.core.scoring.membrane.MPTerminiPenaltyCreator) → pyrosetta.rosetta.core.scoring.membrane.MPTerminiPenaltyCreator¶ C++: core::scoring::membrane::MPTerminiPenaltyCreator::operator=(const class core::scoring::membrane::MPTerminiPenaltyCreator &) –> class core::scoring::membrane::MPTerminiPenaltyCreator &
-
create_energy_method
(self: pyrosetta.rosetta.core.scoring.membrane.MPTerminiPenaltyCreator, : pyrosetta.rosetta.core.scoring.methods.EnergyMethodOptions) → pyrosetta.rosetta.core.scoring.methods.EnergyMethod¶ Instantiate a new MPTerminiPenalty
C++: core::scoring::membrane::MPTerminiPenaltyCreator::create_energy_method(const class core::scoring::methods::EnergyMethodOptions &) const –> class std::shared_ptr<class core::scoring::methods::EnergyMethod>
-
score_types_for_method
(self: pyrosetta.rosetta.core.scoring.membrane.MPTerminiPenaltyCreator) → pyrosetta.rosetta.utility.vector1_core_scoring_ScoreType¶ - Return the set of score types claimed by the EnergyMethod
- this EnergyMethodCreator creates in its create_energy_method() function
C++: core::scoring::membrane::MPTerminiPenaltyCreator::score_types_for_method() const –> class utility::vector1<enum core::scoring::ScoreType, class std::allocator<enum core::scoring::ScoreType> >
-
-
class
pyrosetta.rosetta.core.scoring.membrane.
MembraneData
¶ Bases:
pyrosetta.rosetta.core.scoring.EnvPairPotential
Mmebrane Data Class
Stores membrane potential statistics and cenlist access
-
__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.membrane.MembraneData) -> None
- __init__(self: pyrosetta.rosetta.core.scoring.membrane.MembraneData, arg0: pyrosetta.rosetta.core.scoring.membrane.MembraneData) -> 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).
-
cen_dist10_pad
(self: pyrosetta.rosetta.core.scoring.membrane.MembraneData) → float¶ C++: core::scoring::membrane::MembraneData::cen_dist10_pad() const –> double
-
cen_dist10_pad_hinv
(self: pyrosetta.rosetta.core.scoring.membrane.MembraneData) → float¶ C++: core::scoring::membrane::MembraneData::cen_dist10_pad_hinv() const –> double
-
cen_dist10_pad_minus
(self: pyrosetta.rosetta.core.scoring.membrane.MembraneData) → float¶ C++: core::scoring::membrane::MembraneData::cen_dist10_pad_minus() const –> double
-
cen_dist10_pad_plus
(self: pyrosetta.rosetta.core.scoring.membrane.MembraneData) → float¶ C++: core::scoring::membrane::MembraneData::cen_dist10_pad_plus() const –> double
-
cen_dist12_pad
(self: pyrosetta.rosetta.core.scoring.membrane.MembraneData) → float¶ C++: core::scoring::membrane::MembraneData::cen_dist12_pad() const –> double
-
cen_dist12_pad_hinv
(self: pyrosetta.rosetta.core.scoring.membrane.MembraneData) → float¶ C++: core::scoring::membrane::MembraneData::cen_dist12_pad_hinv() const –> double
-
cen_dist12_pad_minus
(self: pyrosetta.rosetta.core.scoring.membrane.MembraneData) → float¶ C++: core::scoring::membrane::MembraneData::cen_dist12_pad_minus() const –> double
-
cen_dist12_pad_plus
(self: pyrosetta.rosetta.core.scoring.membrane.MembraneData) → float¶ C++: core::scoring::membrane::MembraneData::cen_dist12_pad_plus() const –> double
-
cen_dist5_pad
(self: pyrosetta.rosetta.core.scoring.membrane.MembraneData) → float¶ Env Pair Potential Statistics
C++: core::scoring::membrane::MembraneData::cen_dist5_pad() const –> double
-
cen_dist5_pad_hinv
(self: pyrosetta.rosetta.core.scoring.membrane.MembraneData) → float¶ C++: core::scoring::membrane::MembraneData::cen_dist5_pad_hinv() const –> double
-
cen_dist5_pad_minus
(self: pyrosetta.rosetta.core.scoring.membrane.MembraneData) → float¶ C++: core::scoring::membrane::MembraneData::cen_dist5_pad_minus() const –> double
-
cen_dist5_pad_plus
(self: pyrosetta.rosetta.core.scoring.membrane.MembraneData) → float¶ C++: core::scoring::membrane::MembraneData::cen_dist5_pad_plus() const –> double
-
cen_dist6_pad
(self: pyrosetta.rosetta.core.scoring.membrane.MembraneData) → float¶ C++: core::scoring::membrane::MembraneData::cen_dist6_pad() const –> double
-
cen_dist6_pad_hinv
(self: pyrosetta.rosetta.core.scoring.membrane.MembraneData) → float¶ C++: core::scoring::membrane::MembraneData::cen_dist6_pad_hinv() const –> double
-
cen_dist6_pad_plus
(self: pyrosetta.rosetta.core.scoring.membrane.MembraneData) → float¶ C++: core::scoring::membrane::MembraneData::cen_dist6_pad_plus() const –> double
-
cen_dist7_pad
(self: pyrosetta.rosetta.core.scoring.membrane.MembraneData) → float¶ C++: core::scoring::membrane::MembraneData::cen_dist7_pad() const –> double
-
cen_dist7_pad_hinv
(self: pyrosetta.rosetta.core.scoring.membrane.MembraneData) → float¶ C++: core::scoring::membrane::MembraneData::cen_dist7_pad_hinv() const –> double
-
cen_dist7_pad_minus
(self: pyrosetta.rosetta.core.scoring.membrane.MembraneData) → float¶ C++: core::scoring::membrane::MembraneData::cen_dist7_pad_minus() const –> double
-
cen_dist7_pad_plus
(self: pyrosetta.rosetta.core.scoring.membrane.MembraneData) → float¶ C++: core::scoring::membrane::MembraneData::cen_dist7_pad_plus() const –> double
-
cenlist_from_pose
(: pyrosetta.rosetta.core.pose.Pose) → pyrosetta.rosetta.core.scoring.CenListInfo¶ C++: core::scoring::EnvPairPotential::cenlist_from_pose(const class core::pose::Pose &) –> const class core::scoring::CenListInfo &
-
compute_centroid_environment
(self: pyrosetta.rosetta.core.scoring.EnvPairPotential, pose: pyrosetta.rosetta.core.pose.Pose) → None¶ C++: core::scoring::EnvPairPotential::compute_centroid_environment(class core::pose::Pose &) const –> void
-
evaluate_env_and_cbeta_scores
(self: pyrosetta.rosetta.core.scoring.EnvPairPotential, pose: pyrosetta.rosetta.core.pose.Pose, rsd: pyrosetta.rosetta.core.conformation.Residue, env_score: float, cb_score6: float, cb_score12: float) → None¶ C++: core::scoring::EnvPairPotential::evaluate_env_and_cbeta_scores(const class core::pose::Pose &, const class core::conformation::Residue &, double &, double &, double &) const –> void
-
evaluate_pair_and_cenpack_score
(self: pyrosetta.rosetta.core.scoring.EnvPairPotential, rsd1: pyrosetta.rosetta.core.conformation.Residue, rsd2: pyrosetta.rosetta.core.conformation.Residue, cendist: float, pair_contribution: float, cenpack_contribution: float) → None¶ C++: core::scoring::EnvPairPotential::evaluate_pair_and_cenpack_score(const class core::conformation::Residue &, const class core::conformation::Residue &, const double, double &, double &) const –> void
-
finalize
(self: pyrosetta.rosetta.core.scoring.membrane.MembraneData, pose: pyrosetta.rosetta.core.pose.Pose) → None¶ Finalize Setup of MP Base Potential Class
C++: core::scoring::membrane::MembraneData::finalize(class core::pose::Pose &) const –> void
-
get_cenlist_from_pose
(self: pyrosetta.rosetta.core.scoring.membrane.MembraneData, pose: pyrosetta.rosetta.core.pose.Pose) → pyrosetta.rosetta.core.scoring.CenListInfo¶ Access Cenlist from Pose
Pose must already contain a cenlist object or this method will fail.C++: core::scoring::membrane::MembraneData::get_cenlist_from_pose(const class core::pose::Pose &) const –> const class core::scoring::CenListInfo &
-
mem_cbeta_2TM_den12
(self: pyrosetta.rosetta.core.scoring.membrane.MembraneData) → ObjexxFCL::FArray1D<double>¶ C++: core::scoring::membrane::MembraneData::mem_cbeta_2TM_den12() const –> class ObjexxFCL::FArray1D<double>
-
mem_cbeta_2TM_den6
(self: pyrosetta.rosetta.core.scoring.membrane.MembraneData) → ObjexxFCL::FArray1D<double>¶ C++: core::scoring::membrane::MembraneData::mem_cbeta_2TM_den6() const –> class ObjexxFCL::FArray1D<double>
-
mem_cbeta_4TM_den12
(self: pyrosetta.rosetta.core.scoring.membrane.MembraneData) → ObjexxFCL::FArray1D<double>¶ C++: core::scoring::membrane::MembraneData::mem_cbeta_4TM_den12() const –> class ObjexxFCL::FArray1D<double>
-
mem_cbeta_4TM_den6
(self: pyrosetta.rosetta.core.scoring.membrane.MembraneData) → ObjexxFCL::FArray1D<double>¶ C++: core::scoring::membrane::MembraneData::mem_cbeta_4TM_den6() const –> class ObjexxFCL::FArray1D<double>
-
mem_cbeta_den12
(self: pyrosetta.rosetta.core.scoring.membrane.MembraneData) → ObjexxFCL::FArray1D<double>¶ C++: core::scoring::membrane::MembraneData::mem_cbeta_den12() const –> class ObjexxFCL::FArray1D<double>
-
mem_cbeta_den6
(self: pyrosetta.rosetta.core.scoring.membrane.MembraneData) → ObjexxFCL::FArray1D<double>¶ C++: core::scoring::membrane::MembraneData::mem_cbeta_den6() const –> class ObjexxFCL::FArray1D<double>
-
mem_env_log10
(self: pyrosetta.rosetta.core.scoring.membrane.MembraneData) → ObjexxFCL::FArray3D<double>¶ C++: core::scoring::membrane::MembraneData::mem_env_log10() const –> class ObjexxFCL::FArray3D<double>
-
mem_env_log6
(self: pyrosetta.rosetta.core.scoring.membrane.MembraneData) → ObjexxFCL::FArray3D<double>¶ Membrane Base Potential Statistics
C++: core::scoring::membrane::MembraneData::mem_env_log6() const –> class ObjexxFCL::FArray3D<double>
-
mem_pair_log
(self: pyrosetta.rosetta.core.scoring.membrane.MembraneData) → ObjexxFCL::FArray4D<double>¶ C++: core::scoring::membrane::MembraneData::mem_pair_log() const –> class ObjexxFCL::FArray4D<double>
-
nonconst_cenlist_from_pose
(: pyrosetta.rosetta.core.pose.Pose) → pyrosetta.rosetta.core.scoring.CenListInfo¶ C++: core::scoring::EnvPairPotential::nonconst_cenlist_from_pose(class core::pose::Pose &) –> class core::scoring::CenListInfo &
-