biotite.structure.filter_phosphate_backbone

biotite.structure.filter_phosphate_backbone(array)[source]

Filter all phosphate backbone atoms of one array.

This includes the P, O5’, C5’, C4’, C3’, and O3’ atoms.

Parameters
arrayAtomArray or AtomArrayStack

The array to be filtered.

Returns
filterndarray, dtype=bool

This array is True for all indices in array, where an atom is a part of the phosphate backbone.