| Issue |
A&A
Volume 710, June 2026
|
|
|---|---|---|
| Article Number | A125 | |
| Number of page(s) | 14 | |
| Section | Numerical methods and codes | |
| DOI | https://doi.org/10.1051/0004-6361/202558655 | |
| Published online | 05 June 2026 | |
A novel method for measuring spectral lags by dynamic time warping
1
School of Physics and Electronic Science, Guizhou Normal University,
Guiyang
550001,
PR China
2
Guizhou Provincial Key Laboratory of Radio Astronomy and Data Processing, Guizhou Normal University,
Guiyang
550001,
PR China
★ Corresponding author: This email address is being protected from spambots. You need JavaScript enabled to view it.
Received:
18
December
2025
Accepted:
16
April
2026
Abstract
Context. Measuring spectral lags in gamma-ray bursts (GRBs) across different energy bands is important for studying prompt-emission physics and related applications.
Aims. We assessed the reliability and applicability of the constrained dynamic time warping (DTW) method for measuring spectral lags in GRBs.
Methods. We applied the constrained DTW method to a sample of 50 single-pulse GRBs observed by Fermi/GBM and compared the resulting spectral lags with those obtained using Gaussian peak-time fitting and the modified cross-correlation function (MCCF). We also performed simulation-based tests with known input lags to validate the method.
Results. The spectral lags derived from DTW are overall consistent with those obtained from Gaussian fitting and MCCF, with no significant differences found within 3σ. For evidently asymmetric pulses, fitting the full pulse with a symmetric Gaussian function can bias the inferred lag, while peak-focused Gaussian fitting yields results more consistent with DTW and MCCF. Simulations show that DTW can reliably recover the input lag and provide robust uncertainty estimates.
Conclusions. Dynamic time warping provides a robust and complementary approach to spectral-lag measurement in GRBs and is promising for future applications to more complex light curves and related studies such as gravitational-lensing searches.
Key words: methods: data analysis
© The Authors 2026
Open Access article, published by EDP Sciences, under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
This article is published in open access under the Subscribe to Open model. This email address is being protected from spambots. You need JavaScript enabled to view it. to support open access publication.
Current usage metrics show cumulative count of Article Views (full-text article views including HTML views, PDF and ePub downloads, according to the available data) and Abstracts Views on Vision4Press platform.
Data correspond to usage on the plateform after 2015. The current usage metrics is available 48-96 hours after online publication and is updated daily on week days.
Initial download of the metrics may take a while.