biotite.structure.check_atom_id_continuity

biotite.structure.check_atom_id_continuity(array)[source]

Check if the atom IDs are incremented by more than 1 or decremented, from one atom to the next one.

An increment by more than 1 is as strong clue for missing atoms.

Parameters
arrayAtomArray or AtomArrayStack

The array to be checked.

Returns
discontinuityndarray, dtype=int

Contains the indices of atoms after a discontinuity