get_subset_atoms

analyze.get_subset_atoms(ase_atoms, subset)

Extract a bonded subgraph of ase_atoms as a new ASE Atoms object for the given atom indices.

Parameters

Name Type Description Default
ase_atoms the atoms object of the material required
subset a list of atom ids required

Returns

Name Type Description
The atoms object with the subset of atoms.