Skip to content

Commit 87225d6

Browse files
author
Akshit Boora
committed
Fix geometric selection docs for PBC (#2166)
1 parent 50dc512 commit 87225d6

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

package/doc/sphinx/source/documentation_pages/selections.rst

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -302,12 +302,10 @@ prop [abs] *property* *operator* *value*
302302

303303

304304
.. note::
305-
By default periodicity **is** taken into account with geometric
306-
selections, i.e. selections will find atoms that are in different
307-
periodic images.
308-
To control this behaviour, use the boolean ``"periodic"`` keyword
309-
argument of :meth:`~MDAnalysis.core.groups.AtomGroup.select_atoms`.
310-
305+
Geometric selections internally use capped distance searches together
306+
with periodic KD-trees to correctly handle periodic boundary conditions
307+
(PBC). This ensures that atom selections follow the minimum image
308+
convention when computing distances across periodic boundaries.
311309

312310
Similarity and connectivity
313311
---------------------------

0 commit comments

Comments
 (0)