sknano.core.atoms.ForceAtoms.getatomattr

ForceAtoms.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