Selection

Chemfiles.SelectionType

A Selection is used to select a group of atoms. Examples of selections are "name H" and "(x < 45 and name O) or name C". See the full documentation <http://chemfiles.org/chemfiles/latest/selections.html>_ for more information about the selection language.

source
Base.sizeMethod
size(selection::Selection)

Get the size of a selection, i.e. the number of atoms we are selecting together.

source
Chemfiles.evaluateMethod
evaluate(selection::Selection, frame::Frame)

Evaluate a selection on a given frame. This function return a list of indexes or tuples of indexes of atoms in the frame matching the selection.

source