Skip to content

Latest commit

 

History

65 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Multi-Model Framework for Reconstructing Gamma-Ray Burst Light Curves

License: GPL v3 Journal of High Energy Astrophysics arXiv Python

This repository contains the codes used for the 7 models explored in the paper:

Kaushal et al., "Multi-Model Framework for Reconstructing Gamma-Ray Burst Light Curves" (2025).

The codes implement multiple statistical and deep learning methods for reconstructing gamma-ray burst light curves.

Abstract

Mitigating data gaps in Gamma-ray bursts (GRBs) light curves (LCs) is crucial for cosmological research, enhancing the precision of parameters, assuming perfect satellite conditions for complete LC coverage with no gaps. This analysis improves the applicability of the two-dimensional Dainotti relation, which connects the rest-frame end time of the plateau emission (Ta) and its luminosity (La), derived from the fluxes (Fa).

The study expands on a previous 521 GRB sample by incorporating seven models:

-Deep Gaussian Process (DGP) -Temporal Convolutional Network (TCN) -Hybrid CNN with Bidirectional -Long Short-Term Memory (CNN-BiLSTM) -Bayesian Neural Network (BNN) -Polynomial Curve Fitting -Isotonic Regression -Quartic Smoothing Spline (QSS).

Results indicate that QSS significantly reduces uncertainty across parameters—43.5% for log Ta, 43.2% for log Fa, and 48.3% for α, outperforming the other models, where α denotes the slope post-plateau based on Willingale’s 2007 functional form. The Polynomial Curve Fitting model demonstrates moderate uncertainty reduction across parameters, while CNN-BiLSTM has the lowest outlier rate for α at 0.77%. These models broaden the application of machine-learning techniques in GRB LC analysis, enhancing uncertainty estimation and parameter recovery, and complement traditional methods like the Attention U-Net and Multilayer Perceptron (MLP). These advancements highlight the potential of GRBs as cosmological probes, supporting their role in theoretical model discrimination via LC parameters, serving as standard candles, and facilitating GRB redshift predictions through advanced machine-learning approaches.

Repository Structure

All code for each method is contained in a single Python script per model, which includes:

  • Data preprocessing
  • Model architecture
  • Training
  • Evaluation
  • Plotting

🛠️ Installation

Follow these steps to set up your environment and install all dependencies:

Clone the repository

git clone [https://github.com/Krishnanjan-Sil/GRB-Light-Curve-Reconstruction-2.git](https://github.com/Krishnanjan-Sil/GRB-Light-Curve-Reconstruction-2.git)
cd GRB-Light-Curve-Reconstruction-2

### **Create a virtual environment**

python3 -m venv env
source env/bin/activate   # Linux/macOS

### **Install required packages**

pip install --upgrade pip
pip install -r requirements.txt

👥 Models & Contributors

Model Name Type Contributors
Quartic Smoothing Spline Statistical Krishnanjan Sil
Polynomial Curve Fitting Statistical A. Kaushal
Isotonic Regression Statistical Z. Nogala
Deep Gaussian Process Deep Learning K. Gupta, Ritik Kumar
CNN-BiLSTM Deep Learning S. Naqi
TCN Deep Learning Krishnanjan Sil, A. Manchanda
BNN Deep Learning A. Madhan, A. Manchanda

GitHub profile links: A. Manchanda: https://github.com/1Adi1812 , A. Kaushal: https://github.com/Enthusiast101 , K. Gupta: https://github.com/iskhushii , Krishnanjan Sil: https://github.com/Krishnanjan-Sil , Ritik Kumar: https://github.com/Ritikkumar0730.

📚 Citation

If you use this code or dataset in your research, please cite the following paper:

@article{KAUSHAL2026100519,
title = {Multi-model framework for reconstructing gamma-Ray burst light curves},
journal = {Journal of High Energy Astrophysics},
volume = {51},
pages = {100519},
year = {2026},
issn = {2214-4048},
doi = {https://doi.org/10.1016/j.jheap.2025.100519},
url = {https://www.sciencedirect.com/science/article/pii/S2214404825002009},
author = {A. Kaushal and A. Manchanda and M.G. Dainotti and K. Gupta and Z. Nogala and A. Madhan and S. Naqi and Ritik Kumar and V. Oad and N. Indoriya and Krishnanjan Sil and D.H. Hartmann and M. Bogdan and A. Pollo and J.X. Prochaska and N. Fraija},
keywords = {-Ray bursts, Statistical methods, Machine learning, Light curve reconstruction},
abstract = {Mitigating data gaps in Gamma-ray bursts (GRBs) light curves (LCs) is crucial for cosmological research, enhancing the precision of parameters, assuming perfect satellite conditions for complete LC coverage with no gaps. This analysis improves the applicability of the two-dimensional Dainotti relation, which connects the rest-frame end time of the plateau emission (Ta) and its luminosity (La), derived from the fluxes (Fa). The study expands on a previous 521 GRB sample by incorporating seven models: Deep Gaussian Process (DGP), Temporal Convolutional Network (TCN), Hybrid CNN with Bidirectional Long Short-Term Memory (CNN-BiLSTM), Bayesian Neural Network (BNN), Polynomial Curve Fitting, Isotonic Regression, and Quartic Smoothing Spline (QSS). Results indicate that QSS significantly reduces uncertainty across parameters–43.5 % for log Ta, 43.2 % for log Fa, and 48.3 % for α, outperforming the other models where α denotes the slope post-plateau based on Willingale’s 2007 functional form. The Polynomial Curve Fitting model demonstrates moderate uncertainty reduction across parameters, while CNN-BiLSTM has the lowest outlier rate for α at 0.77 %. These models broaden the application of machine-learning techniques in GRB LC analysis, enhancing uncertainty estimation and parameter recovery, and complement traditional methods like the Attention U-Net and Multilayer Perceptron (MLP). These advancements highlight the potential of GRBs as cosmological probes, supporting their role in theoretical model discrimination via LC parameters, serving as standard candles, and facilitating GRB redshift predictions through advanced machine-learning approaches.}
}

Authors: A. Kaushal, A. Manchanda, M. G. Dainotti, K. Gupta, Z. Nogala, A. Madhan, S. Naqi, R. Kumar, V. Oad, N. Indoriya, Krishnanjan Sil, D. H. Hartmann, M. Bogdan, A. Pollo, J.X. Prochaska, N. Fraija.

Contact

For questions or suggestions, contact: Anshul Kaushal – kaushal1anshul@gmail.com