English

PDRS : A Linear $\mathcal{O}(N)$ Algorithm for Segmentation of High-Activity Regions in Irregularly Sampled Time Series

Instrumentation and Methods for Astrophysics 2026-05-05 v1 Astrophysics of Galaxies

Abstract

Identifying transient high-activity episodes in astronomical time series requires partitioning data into regions of distinct statistical behavior. A widely adopted approach combines Bayesian Blocks with a hill-climbing procedure to isolate high-activity regions, but carries O(N2)\mathcal{O}(N^2) complexity -- a scalability challenge for wide-field surveys like ZTF and the upcoming Rubin Observatory (LSST), where light curves routinely contain thousands of irregularly sampled observations. We present Peak-Driven Region Segmentation (PDRS), a linear-time O(N)\mathcal{O}(N) algorithm for rapid extraction of high-activity regions in irregularly sampled data. PDRS seeds candidate regions at statistically significant local maxima and expands them via a gradient-aware multi-source breadth-first search. Saddle-point merging and a median-based filter suppress spurious detections. Functioning as a computationally efficient pre-processing stage, PDRS isolates candidate transient events for downstream analysis. We demonstrate its efficacy on quasar light curves from SDSS Stripe~82 and AGN light curves from ZTF DR23, showing that PDRS identifies candidate high-activity regions comparable to those from Bayesian Blocks at substantially reduced cost. Its domain-agnostic formulation and physically interpretable parameters make PDRS broadly applicable beyond astronomy, including biomedical signals, seismic recordings, and industrial sensor monitoring.

Keywords

Cite

@article{arxiv.2605.02843,
  title  = {PDRS : A Linear $\mathcal{O}(N)$ Algorithm for Segmentation of High-Activity Regions in Irregularly Sampled Time Series},
  author = {Atal Agrawal},
  journal= {arXiv preprint arXiv:2605.02843},
  year   = {2026}
}

Comments

7 pages, 3 figures, 1 table

R2 v1 2026-07-01T12:48:56.920Z