Particle

Latest version: v0.25.2

Safety actively analyzes 681866 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 6 of 9

0.8.0

* Changes in API:
- ``GeantID`` class renamed to ``Geant3ID``.
* Data CSV files:
- Version 3 (and 2) of package data files,
which contain new entries and fixes for certain information in 2008 PDG extended data file.
- File ``data/pdgid_to_geantid.csv`` renamed to ``data/pdgid_to_geant3id.csv``.
- 2016 and 2017 PDG data files ``mass_width_2016.mcd`` and ``mass_width_2017.mcd`` removed.
* Tests:
- Tests for ``converters`` submodule added.
- Tests for ``Geant3ID`` extended.
* Miscellaneous:
- Package files formatted with ``Black`` package.

0.7.1

* ``Particle`` class:
- Isospin property returns a float.
- New property ``is_unflavoured_meson``.
- More tests for P and C quantum numbers.
* ``PDGID`` class:
- Non-robust P and C properties removed.
* Data CSV files:
- Versioning introduced, see comment on first line of files.
- File ``data/pdgid_to_evtgenname.csv`` extended with extra information.
- More documentation.
* MC particle identification code converters:
- Core ``BiMap`` class simplified.

0.7.0

* Enhancements to ``Particle`` class:
- Dummy/unknown particle width and lifetime errors stored as ``None``.
- More particle name and ``PDGID`` literals for b-baryons.
- Fix for the ``D(s2)*(2573)`` LaTeX name.
- ``InvalidParticle`` made available at top-level import.
* Changes in API:
- ``Particle.from_dec...()`` renamed to ``Particle.from_evtgen_name(...)``.
* MC particle identification code converters:
- Introduced directional maps ``PDG2EvtGenNameMap`` and ``EvtGen2PDGNameMap`` between PDG and EvtGen names.
- Conversions master file ``data/conversions.csv`` added.
- Content of converters CSV files are now ordered.
* Documentation:
- README updated with new package functionality.
* Support for Python 3.4 removed and support for Python 3.8 added.

0.6.2

* Fix for inconsistent PDG ID and name of Upsilon_2(1D).
* Several fixes for renames of particle names by the PDG.

0.6.1

* Enhancement to `` Particle.dump_table()``.
* Added tests for Pythia and Geant identification code converters.
* Particle table CSV file updated for PDG change of 3 particle names.

0.6.0

* Introduction of classes for MC particle identification codes:
- ``PythiaID`` class.
- ``GeantID`` class.
* Introduction of MC particle identification code converters:
- Generic ``BiMap`` bi-bidirectional map class.
- ``Pythia2PDGIDBiMap`` bi-directional map between PDG and Pythia IDs.
- ``Geant2PDGIDBiMap`` bi-directional map between PDG and Geant IDs.
- ``EvtGenName2PDGIDBiMap`` bi-directional map between PDG IDs and EvtGen names.
* New data files:
- File ``data/pdgid_to_pythiaid.csv`` for PDGID-PythiaID conversions.
- File ``data/pdgid_to_geantid.csv`` for PDGID-GeantID conversions.
- File ``data/pdgid_to_evtgenname.csv `` for PDG ID - EvtGen name conversions.

Page 6 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.