Research index
scikit-hep/particle: Version 0.10.0
Rodrigues, Schreiner, Dembinski and 2 others
Zenodo (CERN European Organization for Nuclear Research)21 May 2020Open access
NobleIDark:/48914/w1/20260524/9D132A6ADOI10.5281/zenodo.3837650
scikit-hep/particle: Version 0.10.0
Rodrigues, Schreiner, Dembinski and 2 others · Zenodo (CERN European Organization for Nuclear Research) · 2020
NobleIDark:/48914/w1/20260524/9D132A6ADOI10.5281/zenodo.3837650
Abstract
Particle class: Several improvements, in particular to better deal with nuclei and diquarks. Speed of table loading improved. Particle enums extended for diquarks. Make particle literals available from top-level import. Print-outs made more consistent for missing and non-relevant particle properties. New tests added, some static type checking. PDGID class: PDG ID functions extended to correctly and consistently deal with nuclei. Functions now accept any SupportsInt, including Particle objects. Data CSV files: Version 5 of package data files: Diquarks added. Information in nuclei added! List and masses taken from package periodictable version 1.5.2. A couple of PDG ID numbers corrected (they had evolved in time). Converter script adapted to add to the produced data files particles not in the PDG data table, such as diquarks. Redesigned packaging system, GHA deployment. Miscellaneous: Files *requirements.txt removed from package - use pip install .[dev] instead Warning from collections.abc fixed, keeping compatibility with Python 2. Deprecation warning in attr.s fixed, requirement on minimal version of attr added. Version tags now follow standard v#.#.# format. Some Python warnings fixed, warnings enabled on testing Some initial work on static type hints. ZipApp fixes, simplifications and size reduction; ZipApp now requires python3 to be available