def sphere(self, atoms=None, color=None, opacity=None, radius=None):
""" Draw as Van der Waals spheres
Args:
atoms (List[moldesign.Atom]): atoms to apply this style to
(if not passed, uses all atoms)
color (int or str): color as string or RGB hexadecimal
opacity (float): opacity of the representation (between 0 and 1.0)
radius (float or Scalar[length]): explicit sphere radii (assumes angstrom if no units);
default: bondi VDW radii
"""
return self.set_style('vdw', atoms=atoms, color=color, opacity=opacity, radius=radius)
geometry_viewer.py 文件源码
python
阅读 24
收藏 0
点赞 0
评论 0
评论列表
文章目录