The cosipy library: COSI's high-level analysis software
astro-ph.HE
/ Authors
Israel Martinez-Castellanos, Savitri Gallego, Chien-You Huang, Chris Karwin, Carolyn Kierans, Jan Peter Lommler, Saurabh Mittal, Michela Negro, Eliza Neights, Sean N. Pike
and 65 more authors
Yong Sheng, Thomas Siegert, Hiroki Yoneda, Andreas Zoglauer, John A. Tomsick, Steven E. Boggs, Dieter Hartmann, Marco Ajello, Eric Burns, Chris Fryer, Alexander Lowell, Julien Malzac, Jarred Roberts, Pascal Saint-Hilaire, Albert Shih, Clio Sleator, Tadayuki Takahashi, Fabrizio Tavecchio, Eric Wulf, Jacqueline Beechert, Hannah Gulick, Alyson Joens, Hadar Lazar
/ Abstract
The Compton Spectrometer and Imager (COSI) is a selected Small Explorer (SMEX) mission launching in 2027. It consists of a large field-of-view Compton telescope that will probe with increased sensitivity the under-explored MeV gamma-ray sky (0.2-5 MeV). We will present the current status of cosipy, a Python library that will perform spectral and polarization fits, image deconvolution, and all high-level analysis tasks required by COSI's broad science goals: uncovering the origin of the Galactic positrons, mapping the sites of Galactic nucleosynthesis, improving our models of the jet and emission mechanism of gamma-ray bursts (GRBs) and active galactic nuclei (AGNs), and detecting and localizing gravitational wave and neutrino sources. The cosipy library builds on the experience gained during the COSI balloon campaigns and will bring the analysis of data in the Compton regime to a modern open-source likelihood-based code, capable of performing coherent joint fits with other instruments using the Multi-Mission Maximum Likelihood framework (3ML). In this contribution, we will also discuss our plans to receive feedback from the community by having yearly software releases accompanied by publicly-available data challenges.