spheres_for_atoms

visualize.spheres_for_atoms(
    ase_atoms,
    radii=None,
    scale=0.8,
    colormap=None,
    theta_resolution=10,
    phi_resolution=10,
)

Return a list of trimesh spheres at ASE atom sites with scaled covalent radii.

Parameters

Name Type Description Default
ase_atoms an ase atoms object required
radii the radii of the spheres. If None, the covalent radii from ase.data.covalent_radii are used None
scale the scale of the sphere radius 0.8

Returns

Name Type Description
A list of trimesh objects.