sknano.core.atoms.PBCAtoms.getatomattr

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