Rosetta  2020.37
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
pyrosetta.distributed.viewer.modules.setHydrogens Class Reference

Public Member Functions

def __init__
 
def apply
 

Public Attributes

 color
 
 radius
 
 polar_only
 

Detailed Description

Show all or only polar hydrogen atoms in each initialized `.pdb` file, `Pose` or `PackedPose` object.

Parameters
----------
first : optional
    `color`

    `str` indicating a standard color (e.g. "grey").
    Default: "white"

second : optional
    `radius`

    `float` or `int` indicating the radius of the hydrogen atom stick represnetations.
    Default: 0.05

third : optional
    `polar_only`

    `True` or `False`. `True` to show only polar hydrogen atoms, and `False` to show all hydrogen atoms.
    Default: False

Returns
-------
A Viewer instance.

Constructor & Destructor Documentation

def pyrosetta.distributed.viewer.modules.setHydrogens.__init__ (   self,
  color = "white",
  radius = 0.05,
  polar_only = False 
)

Member Function Documentation

def pyrosetta.distributed.viewer.modules.setHydrogens.apply (   self,
  viewer,
  pose,
  pdbstring 
)

Member Data Documentation

pyrosetta.distributed.viewer.modules.setHydrogens.color
pyrosetta.distributed.viewer.modules.setHydrogens.polar_only
pyrosetta.distributed.viewer.modules.setHydrogens.radius

The documentation for this class was generated from the following file: