sknano.core.atoms.Snapshot

class sknano.core.atoms.Snapshot(trajectory=None)[source][source]

Container class for Trajectory data at single timestep

Attributes

aselect Alias for Snapshot.atom_selection.
atom_selection ndarray boolean array.
atoms Snapshot atoms.
fmtstr Format string.
nselect Alias for Snapshot.nselected.
nselected Number of selected atoms in this snapshot.
selected True/False if this snapshot is selected.
tselect Alias for Snapshot.selected.

Methods

get_atoms([asarray]) Get atoms.
todict()