sknano.core.atoms.StructureAtoms.get_atom

StructureAtoms.get_atom(id)[source]

Get IDAtom with Xatom.id == id.

Parameters:

id : int

Returns:

atom : IDAtom or None

IDAtom instance if IDAtoms contains IDAtom with IDAtom.id == id, otherwise None