libsncompress: efficient and reproducible Python utility for compressing supernova cosmological data

Ma, Cong · Figshare · 2018

The Python package libsncompress implements the linear compression method described in the paper "Application of Bayesian graphs to SN Ia data analysis and compression" (C. Ma, P.-S. Corasaniti, & B. A. Bassett, 2016, MNRAS, 463, 1651, DOI: 10.1093/mnras/stw2069, BibCode: 2016MNRAS.463.1651M). It is designed for use with the JLA dataset, but can be easily extended for other similar datasets. It also includes a Python executable script, jlacompress, that serves as a command-line user interface. The intended usage includes the following tasks: To obtain a compressed sample of the JLA dataset, obtaining the location (mean) vector and scatter (covariance) matrix of the luminosity distance modulus, possibly for subsequent cosmological analysis. To perform cross-validation on portions of the dataset. To study the posterior distribution of SN standardization parameters \(\alpha\), \(\beta\), and \(\Delta_M\). To replicate the results in the above-cited research paper that is built on the preceding tasks. To help developing new methods of data analysis and compression with current and future data based on the current work. The programs work with both Python 2.7 and 3.6. For more information, please refer to the documentation available from the following URLs: Source repository: https://gitlab.com/congma/libsncompress/ Python Package Index (PyPI): https://pypi.org/project/libsncompress/

Read the paper · More papers on PaperTik