geometry_viewer.py 文件源码

python
阅读 24 收藏 0 点赞 0 评论 0

项目:notebook-molecular-visualization 作者: Autodesk 项目源码 文件源码
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)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号