-
Gammapy: A Python package for gamma-ray astronomy
Authors:
Axel Donath,
Régis Terrier,
Quentin Remy,
Atreyee Sinha,
Cosimo Nigro,
Fabio Pintore,
Bruno Khélifi,
Laura Olivera-Nieto,
Jose Enrique Ruiz,
Kai Brügge,
Maximilian Linhoff,
Jose Luis Contreras,
Fabio Acero,
Arnau Aguasca-Cabot,
David Berge,
Pooja Bhattacharjee,
Johannes Buchner,
Catherine Boisson,
David Carreto Fidalgo,
Andrew Chen,
Mathieu de Bony de Lavergne,
José Vinícius de Miranda Cardoso,
Christoph Deil,
Matthias Füßling,
Stefan Funk
, et al. (20 additional authors not shown)
Abstract:
In this article, we present Gammapy, an open-source Python package for the analysis of astronomical $γ$-ray data, and illustrate the functionalities of its first long-term-support release, version 1.0. Built on the modern Python scientific ecosystem, Gammapy provides a uniform platform for reducing and modeling data from different $γ$-ray instruments for many analysis scenarios. Gammapy complies w…
▽ More
In this article, we present Gammapy, an open-source Python package for the analysis of astronomical $γ$-ray data, and illustrate the functionalities of its first long-term-support release, version 1.0. Built on the modern Python scientific ecosystem, Gammapy provides a uniform platform for reducing and modeling data from different $γ$-ray instruments for many analysis scenarios. Gammapy complies with several well-established data conventions in high-energy astrophysics, providing serialized data products that are interoperable with other software packages. Starting from event lists and instrument response functions, Gammapy provides functionalities to reduce these data by binning them in energy and sky coordinates. Several techniques for background estimation are implemented in the package to handle the residual hadronic background affecting $γ$-ray instruments. After the data are binned, the flux and morphology of one or more $γ$-ray sources can be estimated using Poisson maximum likelihood fitting and assuming a variety of spectral, temporal, and spatial models. Estimation of flux points, likelihood profiles, and light curves is also supported. After describing the structure of the package, we show, using publicly available $γ$-ray data, the capabilities of Gammapy in multiple traditional and novel $γ$-ray analysis scenarios, such as spectral and spectro-morphological modeling and estimations of a spectral energy distribution and a light curve. Its flexibility and power are displayed in a final multi-instrument example, where datasets from different instruments, at different stages of data reduction, are simultaneously fitted with an astrophysical flux model.
△ Less
Submitted 25 August, 2023;
originally announced August 2023.
-
The Astropy Project: Sustaining and Growing a Community-oriented Open-source Project and the Latest Major Release (v5.0) of the Core Package
Authors:
The Astropy Collaboration,
Adrian M. Price-Whelan,
Pey Lian Lim,
Nicholas Earl,
Nathaniel Starkman,
Larry Bradley,
David L. Shupe,
Aarya A. Patil,
Lia Corrales,
C. E. Brasseur,
Maximilian Nöthe,
Axel Donath,
Erik Tollerud,
Brett M. Morris,
Adam Ginsburg,
Eero Vaher,
Benjamin A. Weaver,
James Tocknell,
William Jamieson,
Marten H. van Kerkwijk,
Thomas P. Robitaille,
Bruce Merry,
Matteo Bachetti,
H. Moritz Günther,
Thomas L. Aldcroft
, et al. (111 additional authors not shown)
Abstract:
The Astropy Project supports and fosters the development of open-source and openly-developed Python packages that provide commonly needed functionality to the astronomical community. A key element of the Astropy Project is the core package $\texttt{astropy}$, which serves as the foundation for more specialized projects and packages. In this article, we summarize key features in the core package as…
▽ More
The Astropy Project supports and fosters the development of open-source and openly-developed Python packages that provide commonly needed functionality to the astronomical community. A key element of the Astropy Project is the core package $\texttt{astropy}$, which serves as the foundation for more specialized projects and packages. In this article, we summarize key features in the core package as of the recent major release, version 5.0, and provide major updates for the Project. We then discuss supporting a broader ecosystem of interoperable packages, including connections with several astronomical observatories and missions. We also revisit the future outlook of the Astropy Project and the current status of Learn Astropy. We conclude by raising and discussing the current and future challenges facing the Project.
△ Less
Submitted 28 June, 2022;
originally announced June 2022.
-
pyspeckit: A spectroscopic analysis and plotting package
Authors:
Adam Ginsburg,
Vlas Sokolov,
Miguel de Val-Borro,
Erik Rosolowsky,
Jaime E. Pineda,
Brigitta M. Sipőcz,
Jonathan D. Henshaw
Abstract:
pyspeckit is a toolkit and library for spectroscopic analysis in Python. We describe the pyspeckit package and highlight some of its capabilities, such as interactively fitting a model to data, akin to the historically widely-used splot function in IRAF. pyspeckit employs the Levenberg-Marquardt optimization method via the mpfit and lmfit implementations, and important assumptions regarding error…
▽ More
pyspeckit is a toolkit and library for spectroscopic analysis in Python. We describe the pyspeckit package and highlight some of its capabilities, such as interactively fitting a model to data, akin to the historically widely-used splot function in IRAF. pyspeckit employs the Levenberg-Marquardt optimization method via the mpfit and lmfit implementations, and important assumptions regarding error estimation are described here. Wrappers to use pymc and emcee as optimizers are provided. A parallelized wrapper to fit lines in spectral cubes is included. As part of the astropy affiliated package ecosystem, pyspeckit is open source and open development and welcomes input and collaboration from the community.
△ Less
Submitted 10 May, 2022;
originally announced May 2022.
-
Gaia Photometric Science Alerts
Authors:
S. T. Hodgkin,
D. L. Harrison,
E. Breedt,
T. Wevers,
G. Rixon,
A. Delgado,
A. Yoldas,
Z. Kostrzewa-Rutkowska,
Ł. Wyrzykowski,
M. van Leeuwen,
N. Blagorodnova,
H. Campbell,
D. Eappachen,
M. Fraser,
N. Ihanec,
S. E. Koposov,
K. Kruszyńska,
G. Marton,
K. A. Rybicki,
A. G. A. Brown,
P. W. Burgess,
G. Busso,
S. Cowell,
F. De Angeli,
C. Diener
, et al. (86 additional authors not shown)
Abstract:
Since July 2014, the Gaia mission has been engaged in a high-spatial-resolution, time-resolved, precise, accurate astrometric, and photometric survey of the entire sky.
Aims: We present the Gaia Science Alerts project, which has been in operation since 1 June 2016. We describe the system which has been developed to enable the discovery and publication of transient photometric events as seen by G…
▽ More
Since July 2014, the Gaia mission has been engaged in a high-spatial-resolution, time-resolved, precise, accurate astrometric, and photometric survey of the entire sky.
Aims: We present the Gaia Science Alerts project, which has been in operation since 1 June 2016. We describe the system which has been developed to enable the discovery and publication of transient photometric events as seen by Gaia.
Methods: We outline the data handling, timings, and performances, and we describe the transient detection algorithms and filtering procedures needed to manage the high false alarm rate. We identify two classes of events: (1) sources which are new to Gaia and (2) Gaia sources which have undergone a significant brightening or fading. Validation of the Gaia transit astrometry and photometry was performed, followed by testing of the source environment to minimise contamination from Solar System objects, bright stars, and fainter near-neighbours.
Results: We show that the Gaia Science Alerts project suffers from very low contamination, that is there are very few false-positives. We find that the external completeness for supernovae, $C_E=0.46$, is dominated by the Gaia scanning law and the requirement of detections from both fields-of-view. Where we have two or more scans the internal completeness is $C_I=0.79$ at 3 arcsec or larger from the centres of galaxies, but it drops closer in, especially within 1 arcsec.
Conclusions: The per-transit photometry for Gaia transients is precise to 1 per cent at $G=13$, and 3 per cent at $G=19$. The per-transit astrometry is accurate to 55 milliarcseconds when compared to Gaia DR2. The Gaia Science Alerts project is one of the most homogeneous and productive transient surveys in operation, and it is the only survey which covers the whole sky at high spatial resolution (subarcsecond), including the Galactic plane and bulge.
△ Less
Submitted 2 June, 2021;
originally announced June 2021.
-
Early Ultra-Violet observations of type IIn supernovae constrain the asphericity of their circumstellar material
Authors:
Maayane T. Soumagnac,
Eran O. Ofek,
**gyi Liang,
Avishay Gal-yam,
Peter Nugent,
Yi Yang,
S. Bradley Cenko,
Jesper Sollerman,
Daniel A. Perley,
Igor Andreoni,
Cristina Barbarino,
Kevin B. Burdge,
Rachel J. Bruch,
Kishalay De,
Alison Dugas,
Christoffer Fremling,
Melissa L. Graham,
Matthew J. Hankins,
Nora Linn Strotjohann,
Shane Moran,
James D. Neill,
Steve Schulze,
David L. Shupe,
Brigitta M. Sipocz,
Kirsty Taggart
, et al. (19 additional authors not shown)
Abstract:
We present a survey of the early evolution of 12 Type IIn supernovae (SNe IIn) in the Ultra-Violet (UV) and visible light. We use this survey to constrain the geometry of the circumstellar material (CSM) surrounding SN IIn explosions, which may shed light on their progenitor diversity. In order to distinguish between aspherical and spherical circumstellar material (CSM), we estimate the blackbody…
▽ More
We present a survey of the early evolution of 12 Type IIn supernovae (SNe IIn) in the Ultra-Violet (UV) and visible light. We use this survey to constrain the geometry of the circumstellar material (CSM) surrounding SN IIn explosions, which may shed light on their progenitor diversity. In order to distinguish between aspherical and spherical circumstellar material (CSM), we estimate the blackbody radius temporal evolution of the SNe IIn of our sample, following the method introduced by Soumagnac et al. We find that higher luminosity objects tend to show evidence for aspherical CSM. Depending on whether this correlation is due to physical reasons or to some selection bias, we derive a lower limit between 35% and 66% on the fraction of SNe IIn showing evidence for aspherical CSM. This result suggests that asphericity of the CSM surrounding SNe IIn is common - consistent with data from resolved images of stars undergoing considerable mass loss. It should be taken into account for more realistic modelling of these events.
△ Less
Submitted 15 January, 2020;
originally announced January 2020.
-
Enabling real-time multi-messenger astrophysics discoveries with deep learning
Authors:
E. A. Huerta,
Gabrielle Allen,
Igor Andreoni,
Javier M. Antelis,
Etienne Bachelet,
Bruce Berriman,
Federica Bianco,
Rahul Biswas,
Matias Carrasco,
Kyle Chard,
Minsik Cho,
Philip S. Cowperthwaite,
Zachariah B. Etienne,
Maya Fishbach,
Francisco Förster,
Daniel George,
Tom Gibbs,
Matthew Graham,
William Gropp,
Robert Gruendl,
Anushri Gupta,
Roland Haas,
Sarah Habib,
Elise Jennings,
Margaret W. G. Johnson
, et al. (35 additional authors not shown)
Abstract:
Multi-messenger astrophysics is a fast-growing, interdisciplinary field that combines data, which vary in volume and speed of data processing, from many different instruments that probe the Universe using different cosmic messengers: electromagnetic waves, cosmic rays, gravitational waves and neutrinos. In this Expert Recommendation, we review the key challenges of real-time observations of gravit…
▽ More
Multi-messenger astrophysics is a fast-growing, interdisciplinary field that combines data, which vary in volume and speed of data processing, from many different instruments that probe the Universe using different cosmic messengers: electromagnetic waves, cosmic rays, gravitational waves and neutrinos. In this Expert Recommendation, we review the key challenges of real-time observations of gravitational wave sources and their electromagnetic and astroparticle counterparts, and make a number of recommendations to maximize their potential for scientific discovery. These recommendations refer to the design of scalable and computationally efficient machine learning algorithms; the cyber-infrastructure to numerically simulate astrophysical sources, and to process and interpret multi-messenger astrophysics data; the management of gravitational wave detections to trigger real-time alerts for electromagnetic and astroparticle follow-ups; a vision to harness future developments of machine learning and cyber-infrastructure resources to cope with the big-data requirements; and the need to build a community of experts to realize the goals of multi-messenger astrophysics.
△ Less
Submitted 26 November, 2019;
originally announced November 2019.
-
Algorithms and Statistical Models for Scientific Discovery in the Petabyte Era
Authors:
Brian Nord,
Andrew J. Connolly,
Jamie Kinney,
Jeremy Kubica,
Gautaum Narayan,
Joshua E. G. Peek,
Chad Schafer,
Erik J. Tollerud,
Camille Avestruz,
G. Jogesh Babu,
Simon Birrer,
Douglas Burke,
João Caldeira,
Douglas A. Caldwell,
Joleen K. Carlberg,
Yen-Chi Chen,
Chuanfei Dong,
Eric D. Feigelson,
V. Zach Golkhou,
Vinay Kashyap,
T. S. Li,
Thomas Loredo,
Luisa Lucie-Smith,
Kaisey S. Mandel,
J. R. Martínez-Galarza
, et al. (13 additional authors not shown)
Abstract:
The field of astronomy has arrived at a turning point in terms of size and complexity of both datasets and scientific collaboration. Commensurately, algorithms and statistical models have begun to adapt --- e.g., via the onset of artificial intelligence --- which itself presents new challenges and opportunities for growth. This white paper aims to offer guidance and ideas for how we can evolve our…
▽ More
The field of astronomy has arrived at a turning point in terms of size and complexity of both datasets and scientific collaboration. Commensurately, algorithms and statistical models have begun to adapt --- e.g., via the onset of artificial intelligence --- which itself presents new challenges and opportunities for growth. This white paper aims to offer guidance and ideas for how we can evolve our technical and collaborative frameworks to promote efficient algorithmic development and take advantage of opportunities for scientific discovery in the petabyte era. We discuss challenges for discovery in large and complex data sets; challenges and requirements for the next stage of development of statistical methodologies and algorithmic tool sets; how we might change our paradigms of collaboration and education; and the ethical implications of scientists' contributions to widely applicable algorithms and computational modeling. We start with six distinct recommendations that are supported by the commentary following them. This white paper is related to a larger corpus of effort that has taken place within and around the Petabytes to Science Workshops (https://petabytestoscience.github.io/).
△ Less
Submitted 4 November, 2019;
originally announced November 2019.
-
Deep Learning for Multi-Messenger Astrophysics: A Gateway for Discovery in the Big Data Era
Authors:
Gabrielle Allen,
Igor Andreoni,
Etienne Bachelet,
G. Bruce Berriman,
Federica B. Bianco,
Rahul Biswas,
Matias Carrasco Kind,
Kyle Chard,
Minsik Cho,
Philip S. Cowperthwaite,
Zachariah B. Etienne,
Daniel George,
Tom Gibbs,
Matthew Graham,
William Gropp,
Anushri Gupta,
Roland Haas,
E. A. Huerta,
Elise Jennings,
Daniel S. Katz,
Asad Khan,
Volodymyr Kindratenko,
William T. C. Kramer,
Xin Liu,
Ashish Mahabal
, et al. (23 additional authors not shown)
Abstract:
This report provides an overview of recent work that harnesses the Big Data Revolution and Large Scale Computing to address grand computational challenges in Multi-Messenger Astrophysics, with a particular emphasis on real-time discovery campaigns. Acknowledging the transdisciplinary nature of Multi-Messenger Astrophysics, this document has been prepared by members of the physics, astronomy, compu…
▽ More
This report provides an overview of recent work that harnesses the Big Data Revolution and Large Scale Computing to address grand computational challenges in Multi-Messenger Astrophysics, with a particular emphasis on real-time discovery campaigns. Acknowledging the transdisciplinary nature of Multi-Messenger Astrophysics, this document has been prepared by members of the physics, astronomy, computer science, data science, software and cyberinfrastructure communities who attended the NSF-, DOE- and NVIDIA-funded "Deep Learning for Multi-Messenger Astrophysics: Real-time Discovery at Scale" workshop, hosted at the National Center for Supercomputing Applications, October 17-19, 2018. Highlights of this report include unanimous agreement that it is critical to accelerate the development and deployment of novel, signal-processing algorithms that use the synergy between artificial intelligence (AI) and high performance computing to maximize the potential for scientific discovery with Multi-Messenger Astrophysics. We discuss key aspects to realize this endeavor, namely (i) the design and exploitation of scalable and computationally efficient AI algorithms for Multi-Messenger Astrophysics; (ii) cyberinfrastructure requirements to numerically simulate astrophysical sources, and to process and interpret Multi-Messenger Astrophysics data; (iii) management of gravitational wave detections and triggers to enable electromagnetic and astro-particle follow-ups; (iv) a vision to harness future developments of machine and deep learning and cyberinfrastructure resources to cope with the scale of discovery in the Big Data Era; (v) and the need to build a community that brings domain experts together with data scientists on equal footing to maximize and accelerate discovery in the nascent field of Multi-Messenger Astrophysics.
△ Less
Submitted 1 February, 2019;
originally announced February 2019.
-
astroquery: An Astronomical Web-Querying Package in Python
Authors:
Adam Ginsburg,
Brigitta M. Sipőcz,
C. E. Brasseur,
Philip S. Cowperthwaite,
Matthew W. Craig,
Christoph Deil,
James Guillochon,
Giannina Guzman,
Simon Liedtke,
Pey Lian Lim,
Kelly E. Lockhart,
Michael Mommert,
Brett M. Morris,
Henrik Norman,
Madhura Parikh,
Magnus V. Persson,
Thomas P. Robitaille,
Juan-Carlos Segovia,
Leo P. Singer,
Erik J. Tollerud,
Miguel de Val-Borro,
Ivan Valtchanov,
Julien Woillez,
the Astroquery collaboration
Abstract:
astroquery is a collection of tools for requesting data from databases hosted on remote servers with interfaces exposed on the internet, including those with web pages but without formal application program interfaces (APIs). These tools are built on the Python requests package, which is used to make HTTP requests, and astropy, which provides most of the data parsing functionality. astroquery modu…
▽ More
astroquery is a collection of tools for requesting data from databases hosted on remote servers with interfaces exposed on the internet, including those with web pages but without formal application program interfaces (APIs). These tools are built on the Python requests package, which is used to make HTTP requests, and astropy, which provides most of the data parsing functionality. astroquery modules generally attempt to replicate the web page interface provided by a given service as closely as possible, making the transition from browser-based to command-line interaction easy. astroquery has received significant contributions from throughout the astronomical community, including several significant contributions from telescope archives. astroquery enables the creation of fully reproducible workflows from data acquisition through publication. This paper describes the philosophy, basic structure, and development model of the astroquery package. The complete documentation for astroquery can be found at http://astroquery.readthedocs.io/.
△ Less
Submitted 14 January, 2019;
originally announced January 2019.
-
The Astropy Project: Building an inclusive, open-science project and status of the v2.0 core package
Authors:
The Astropy Collaboration,
A. M. Price-Whelan,
B. M. Sipőcz,
H. M. Günther,
P. L. Lim,
S. M. Crawford,
S. Conseil,
D. L. Shupe,
M. W. Craig,
N. Dencheva,
A. Ginsburg,
J. T. VanderPlas,
L. D. Bradley,
D. Pérez-Suárez,
M. de Val-Borro,
T. L. Aldcroft,
K. L. Cruz,
T. P. Robitaille,
E. J. Tollerud,
C. Ardelean,
T. Babej,
M. Bachetti,
A. V. Bakanov,
S. P. Bamford,
G. Barentsen
, et al. (112 additional authors not shown)
Abstract:
The Astropy project supports and fosters the development of open-source and openly-developed Python packages that provide commonly-needed functionality to the astronomical community. A key element of the Astropy project is the core package Astropy, which serves as the foundation for more specialized projects and packages. In this article, we provide an overview of the organization of the Astropy p…
▽ More
The Astropy project supports and fosters the development of open-source and openly-developed Python packages that provide commonly-needed functionality to the astronomical community. A key element of the Astropy project is the core package Astropy, which serves as the foundation for more specialized projects and packages. In this article, we provide an overview of the organization of the Astropy project and summarize key features in the core package as of the recent major release, version 2.0. We then describe the project infrastructure designed to facilitate and support development for a broader ecosystem of inter-operable packages. We conclude with a future outlook of planned new features and directions for the broader Astropy project.
△ Less
Submitted 16 January, 2018; v1 submitted 8 January, 2018;
originally announced January 2018.
-
A highly unequal-mass eclipsing M-dwarf binary in the WFCAM Transit Survey
Authors:
S. V. Nefs,
J. L. Birkby,
I. A. G. Snellen,
S. T. Hodgkin,
B. M. Sipocz,
G. Kovacs,
D. Mislis,
D. J. Pinfield,
E. L. Martin
Abstract:
In this paper we present the discovery of a highly unequal-mass eclipsing M-dwarf binary, providing a unique constraint on binary star formation theory and on evolutionary models for low-mass binary stars. The binary is discovered using high- precision infrared light curves from the WFCAM Transit Survey (WTS) and has an orbital period of 2.44 d. We find stellar masses of M1 = 0.53 (0.02) Msun and…
▽ More
In this paper we present the discovery of a highly unequal-mass eclipsing M-dwarf binary, providing a unique constraint on binary star formation theory and on evolutionary models for low-mass binary stars. The binary is discovered using high- precision infrared light curves from the WFCAM Transit Survey (WTS) and has an orbital period of 2.44 d. We find stellar masses of M1 = 0.53 (0.02) Msun and M2 = 0.143 (0.006) Msun (mass ratio 0.27), and radii of R1 = 0.51 (0.01) Rsun and R2 = 0.174 (0.006) Rsun. This puts the companion in a very sparsely sampled and important late M-dwarf mass-regime. Since both stars share the same age and metallicity and straddle the theoretical boundary between fully and partially convective stellar interiors, a comparison can be made to model predictions over a large range of M-dwarf masses using the same model isochrone. Both stars appear to have a slightly inflated radius compared to 1 Gyr model predictions for their masses, but future work is needed to properly account for the effects of star spots on the light curve solution. A significant, subsynchronous, ~2.56 d signal with ~2% peak-to-peak amplitude is detected in the WFCAM light curve, which we attribute to rotational modulation of cool star spots. We propose that the subsynchronous rotation is either due to a stable star-spot complex at high latitude on the (magnetically active) primary (i.e. differential rotation), or to additional magnetic braking, or to interaction of the binary with a third body or circumbinary disk during its pre-main-sequence phase.
△ Less
Submitted 5 March, 2013;
originally announced March 2013.
-
Rotation periods for very low mass stars in Praesepe
Authors:
Aleks Scholz,
Jonathan Irwin,
Jerome Bouvier,
Brigitta M. Sipocz,
Simon Hodgkin,
Jochen Eisloeffel
Abstract:
We investigate the rotation periods of fully convective very low mass stars (VLM, M<0.3 Msol), with the aim to derive empirical constraints for the spindown due to magnetically driven stellar winds. Our analysis is based on a new sample of rotation periods in the main-sequence cluster Praesepe (age 600 Myr). From photometric lightcurves obtained with the Isaac Newton Telescope, we measure rotation…
▽ More
We investigate the rotation periods of fully convective very low mass stars (VLM, M<0.3 Msol), with the aim to derive empirical constraints for the spindown due to magnetically driven stellar winds. Our analysis is based on a new sample of rotation periods in the main-sequence cluster Praesepe (age 600 Myr). From photometric lightcurves obtained with the Isaac Newton Telescope, we measure rotation periods for 49 objects, among them 26 in the VLM domain. This enlarges the period sample in this mass and age regime by a factor of 6. Almost all VLM objects in our sample are fast rotators with periods <2.5 d, in contrast to the stars with M>0.6 Msol in this cluster which have periods of 7-14 d. Thus, we confirm that the period-mass distribution in Praesepe exhibits a radical break at M~0.3-0.6 Msol. Our data indicate a positive period-mass trend in the VLM regime, similar to younger clusters. In addition, the scatter of the periods increases with mass. For the M>0.3 Msol objects in our sample the period distribution is probably affected by binarity. By comparing the Praesepe periods with literature samples in the cluster NGC2516 (age ~150 Myr) we constrain the spindown in the VLM regime. An exponential rotational braking law P ~ exp(t/tau) with a mass-dependent tau is required to reproduce the data. The spindown timescale tau increases steeply towards lower masses; we derive tau~0.5 Gyr for 0.3 Msol and >1 Gyr for 0.1 Msol. These constraints are consistent with the current paradigm of the spindown due to wind braking. We discuss possible physical origins of this behaviour and prospects for future work.
△ Less
Submitted 10 January, 2011;
originally announced January 2011.