filter_monoatomic_ions#

biotite.structure.filter_monoatomic_ions(array)[source]#

Filter all atoms of an atom array, that are monoatomic ions (e.g. sodium or chloride ions).

Parameters:
arrayAtomArray or AtomArrayStack

The array to be filtered.

Returns:
filterndarray, dtype=bool

This array is True for all indices in array, where the atom is a monoatomic ion.