sknano.core.atoms.LatticeAtoms.getatomattr

LatticeAtoms.getatomattr(attr)[source]

Get ndarray of atom attributes attr.

Parameters:

attr : str

Name of attribute to pass to getattr from each XAtom in XAtoms.

Returns:

ndarray