BatAnalysis - A Comprehensive Python Pipeline for Swift BAT Time-Tagged Event Data Analysis Journal: ApJ Astropy ( Astropy Collaboration et al. 2013 ; Astropy Collaboration et al. 2018 ; Astropy Collaboration et al. 2022 ) , Astropy/reproject ( Robitaille et al. 2024 ) , Astroquery ( Ginsburg et al.
Tyler Parsotan, David M. Palmer, Samuele Ronchini, James Delaunay, Aaron Tohuvavohu, Sibasish Laha, Amy Lien, S. Bradley Cenko, Hans Krimm, Craig Markwardt · 2025
Read BatAnalysis - A Comprehensive Python Pipeline for Swift BAT Time-Tagged Event Data Analysis Journal: ApJ Astropy ( Astropy Collaboration et al. 2013 ; Astropy Collaboration et al. 2018 ; Astropy Collaboration et al. 2022 ) , Astropy/reproject ( Robitaille et al. 2024 ) , Astroquery ( Ginsburg et al. by Tyler Parsotan, David M. Palmer, Samuele Ronchini, James Delaunay, Aaron Tohuvavohu, Sibasish Laha, Amy Lien, S. Bradley Cenko, Hans Krimm, Craig Markwardt (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2502-00278.txt.
Introduction
Tyler Parsotan and co-authors present a 2025 arXiv paper on BatAnalysis, an open Python pipeline for data from the Swift satellite's Burst Alert Telescope. The telescope watches for gamma-ray flashes and saves its finest event data on triggers, but standard products use fixed time and energy windows. The new tools let researchers download and process that raw event stream freely.
Users can build spectra, light curves, and sky images on their own settings, and mix the tools with other Python packages. Case studies cover a gamma-ray burst, a fast radio burst trigger, a faint X-ray binary catch, and a burst seen while the satellite slewed. The authors aim at the time-domain community.
Catalog record
| CREATOR | Tyler Parsotan, David M. Palmer, Samuele Ronchini, James Delaunay, Aaron Tohuvavohu, Sibasish Laha, Amy Lien, S. Bradley Cenko, Hans Krimm, Craig Markwardt |
|---|---|
| YEAR | 2025 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 47 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2502-00278
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
BatAnalysis - A Comprehensive Python Pipeline for Swift BAT Time-Tagged Event Data Analysis Journal: ApJ Astropy ( Astropy Collaboration et al. 2013 ; Astropy Collaboration et al. 2018 ; Astropy Collaboration et al. 2022 ) , Astropy/reproject ( Robitaille et al. 2024 ) , Astroquery ( Ginsburg et al. 2019 ) , BatAnalysis ( Parsotan et al. 2024 ) NumPy ( Harris et al. 2020 ) , Matplotlib ( Hunter 2007 ) , Scipy ( Virtanen et al. 2020 ) , HEASoft ( Nasa High Energy Astrophysics Science Archive Research Center (2014) Heasarc ) , swiftbat_python, Xspec ( Arnaud 1996 ) , swifttools ( Kennea et al. 2024 ) , Histpy ( Martinez-Castellanos 2024 ) Tyler Parsotan, David M. Palmer, Samuele Ronchini, James Delaunay, Aaron Tohuvavohu, Sibasish Laha, Amy Lien, S. Bradley Cenko, Hans Krimm, Craig Markwardt Abstract The Swift Burst Alert Telescope (BAT) is a coded aperture gamma-ray instrument with a large field of view that was designed to detect and localize transient events. When a transient is detected, either on-board or externally, the BAT saves time-tagged event (TTE) data which provides the highest quality information of the locations of the photons on the detector plane and their energies. This data can be used to produce spectra, lightcurves, and sky images of a transient event. While these data products are produced by the Swift Data Center and can be produced by current software, they are often preset to certain time and energy intervals which has limited their use in the current time domain and multi-messenger environment. Here, we introduce a new capability for the BatAnalysis python package to download and process TTE data under an open-source pythonic framework that allows for easy interfacing with other python packages. The new capabilities of the BatAnalysis software allows for TTE data to be used by the community in a variety of advanced customized analyses of astrophysical sources which BAT may have TTE data for, such as Fast Radio Bursts (FRBs), Gamma-ray Bursts (GRBs), Low Mass X-ray Binaries (LMXB), Soft Gamma Repeaters, magnetars, and many other sources. We highlight the usefulness of the BatAnalysis package in analyzing TTE data produced by an on-board GRB trigger, a FRB external trigger, a sub-threshold detection of the LMXB EXO 0748-676, and an external trigger of a GRB that BAT detected during a slew. I Introduction The Neil Gehrels Swift Observatory ( Gehrels et al. 2004 ) launched on November 20th, 2004 with three telescopes onoboard. These are the X-ray Telescope (XRT; ( Burrows et al. 2005 ) ), the Ultraviolet-Optical Telescope (UVOT; ( Roming et al. 2005 ) ), and the Burst Alert Telescope (BAT; Barthelmy et al. 2005 ). The Swift BAT was designed to detect and localize Gamma-Ray Bursts (GRBs) and has significantly advanced our understanding of these transient events. Besides GRBs, BAT has also triggered on a number of known sources, such as soft gamma repeaters, as well as other transients, such as tidal disruption events. The BAT uses the coded mask technique to produce small localization regions ( \sim 3 arc-minutes) and accurate background estimations while maintaining a large field of view ( \sim 60^{\circ}\times 120^{\circ} ). When a transient triggers BAT on-board, the spacecraft autonomously slews such that the narrow field telescopes can observe the region of the sky where the transient was localized to. Additionally, the associated BAT data is downlinked to the ground. This data is the time-tagged event (TTE) data which records all measured photons around the time of the triggering event, providing the location on the detector plane where each photon was detected and each photon’s energy. Besides on board triggers, TTE data can be obtained using the GUANO system which commands the spacecraft to save TTE data surrounding the time of an external trigger ( Tohuvavohu et al. 2020 ) . Furthermore, TTE data is saved for “failed” triggers or events that didn’t meet the triggering threshold for BAT to autonomously trigger and slew to the localized position of the transient. The BAT TTE data has been used in the literature for many different sources and analyses. The TTE data for BAT triggered GRBs were analyzed to produce the first, second, and third Swift Gamma-ray Burst (GRB) catalogs ( Sakamoto et al. 2008 ; Sakamoto et al. 2011 ; Lien et al. 2016 ) with pre-processed GRB lightcurves and spectra for the community to use. BAT TTE data is additionally used alongside XRT and UVOT data to provide a comprehensive view of GRBs from their prompt to afterglow emission ( Evans et al. 2010 ) . In depth analyses of the TTE data for GRBs has shown the presence of a lag–luminosity correlation for GRBs ( Ukwatta et al. 2010 ; Parsotan & Ito 2022 ) which can be used to constrain the physics of GRB jets. BAT TTE data has additionally been used to measure quasi-periodic oscillations from the magnetar SGR 1806–20 during a giant outburst ( Palmer et al. 2005 ) and, more recently, from GRB 211211A ( Chirenti et al. 2024 ) . On longer timescales, BAT TTE data was used alongside NICER data to study the outburst spectra from the magnetar Swift J1555.2-5402 ( Enoto et al. 2021 ) over a course of a month while many years of TTE data was accumulated to analyze the fluctuations of the Crab and show that there is an anti-correlation between its flux and spectral photon index ( Augustine & Chang 2024 ) . The expanded capability of obtaining BAT TTE data for external triggers using the GUANO system has also allowed that data to be used to localize transient events using the NITRATES low-latency search, advancing the science return of many complimentary observatories ( DeLaunay & Tohuvavohu 2022 ) . In the search for electromagnetic emission from gravitational wave sources, BAT TTE data has played a critical role in placing constraints on the expected rate of coincident gravitational wave-electromagnetic radiation detections from binary Black Hole mergers and Neutron Star-Black Hole mergers ( Ronchini et al. 2024 ; Raman et al. 2024 ) . BAT TTE data plays a critical role in the current time domain and multi-messenger landscape, however its use has been limited by the tools that have been made to analyze this data type. The method to analyze BAT TTE data in the context of GRBs had been made public through the HEASoft batgrbproducts pipeline script, however this script does not allow for full flexibility in the different timing and energy parameters that a user may want to customize. Furthermore, this pipeline cannot handle the analysis of TTE data that is collected due to “failed” triggers or by the GUANO ground system. To make the full set of TTE data more accessible and modernize the analysis of this data in the context of the greater python environment, we have modified the BatAnalysis python package ( Parsotan et al. 2024 ; Parsotan et al. 2023 ) to be able to handle the analysis of TTE data alongside BAT survey data. The structure of this paper is as follows. Section II outlines the general steps taken to analyze BAT TTE data. Section III discusses the BatAnalysis python package and how it can be used