DBSCAN in Domains with Periodic Boundary Conditions

Many scientific problems involve data that is embedded in a space with periodic boundary conditions. For instance, this can be related to an inherent cyclic or rotational symmetry in the data or a spatially extended periodicity. When analyzing such data, well-tailored methods are needed to obtain efficient approaches that obey the periodic boundary conditions of the problem. In this work, we present a method for applying a clustering algorithm to data embedded in a periodic domain based on the Density-Based Spatial Clustering of Applications with Noise (DBSCAN) algorithm, a widely used unsupervised machine learning method that identifies clusters in data. The proposed method internally leverages the conventional DBSCAN algorithm for domains with open boundaries, and as such, it remains compatible with all optimized implementations for neighborhood searches in open domains. In this way, it retains the same optimized runtime complexity of O(NlogN). We demonstrate the workings of the proposed method using synthetic data in one, two and three dimensions and also apply it to a real-world example involving the clustering of bubbles in a turbulent flow. The proposed approach is implemented in a ready-to-use Python package that is publicly available.

Authors

Publication Details

Journal
Journal of Open Research Software
Published
2025-01-01
DOI
https://doi.org/10.5334/jors.555
Citations
1
Primary Topic
Fluid Dynamics and Heat Transfer
Type
article
Field-Weighted Citation Impact
1.33

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

DBSCAN in Domains with Periodic Boundary Conditions

Xander M. de Wit, Alessandro Gabbana
1 citations
Journal of Open Research Software
Fluid Dynamics and Heat Transfer
1.33
article

DBSCAN in Domains with Periodic Boundary Conditions

Xander M. de Wit, Alessandro Gabbana
article en
1 citations

Abstract

Many scientific problems involve data that is embedded in a space with periodic boundary conditions. For instance, this can be related to an inherent cyclic or rotational symmetry in the data or a spatially extended periodicity. When analyzing such data, well-tailored methods are needed to obtain efficient approaches that obey the periodic boundary conditions of the problem. In this work, we present a method for applying a clustering algorithm to data embedded in a periodic domain based on the Density-Based Spatial Clustering of Applications with Noise (DBSCAN) algorithm, a widely used unsupervised machine learning method that identifies clusters in data. The proposed method internally leverages the conventional DBSCAN algorithm for domains with open boundaries, and as such, it remains compatible with all optimized implementations for neighborhood searches in open domains. In this way, it retains the same optimized runtime complexity of O(NlogN). We demonstrate the workings of the proposed method using synthetic data in one, two and three dimensions and also apply it to a real-world example involving the clustering of bubbles in a turbulent flow. The proposed approach is implemented in a ready-to-use Python package that is publicly available.

Journal of Open Research SoftwareVol. 13
Nederlandse Organisatie voor Wetenschappelijk Onderzoek
Climate action
Openalex Percentile: Top 20%
Fluid Dynamics and Heat Transfer
1.33
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.