Scikit Hep Particle Versions Save

Package to deal with particles, the PDG particle data table, PDGIDs, etc.

v0.24.0

1 month ago
  • Particle class and submodules:

    • Removed deprecated methods.
  • Data files:

    • Fixed typo in the LaTeX name of Lambda(1405).
  • Miscellaneous:

    • Added support for Python 3.12 and dropped support for Python 3.7.
    • Started using AllContributors to acknowledge contributions explicitly.
  • CI and tests:

    • Updates to pre-commit hooks and CI YAML files.
    • Added support for pixi.

v0.23.1

6 months ago
  • Miscellaneous:
    • Modernisation of Ruff configuration in pyproject.toml.
  • CI and tests:
    • Updates to pre-commit hooks and CI YAML files.

v0.23.0

11 months ago
  • Data files:
    • Added the 2023 PDG data table file, now default.
    • Version 13 of package CSV data files:
      • Since PDG 2023 information now the default.
    • Removed superseded data files from 2018-2020.
  • Tests:
    • Updates to pre-commit hooks.

v0.22.1

1 year ago
  • Particle class and submodules:
    • Added support for providing spin for SUSY particles, with tests.
  • Tests:
    • Test added for particles that should be assigned None masses.
    • Updates to pre-commit hooks.

v0.22.0

1 year ago
  • Particle class and submodules:
    • Deprecated functions only used to find particles by AmpGen style of names. Functionality moved to the DecayLanguage package, the only place where it is needed.
  • Data CSV files:
    • Version 12 of package data files made default:
      • Information on nuclei updated based on masses taken from package periodictable version 1.6.1.
      • Several Corsika7 IDs corrected.
      • Otherwise same as version 11 files.
  • Miscellaneous:
    • Moved to Ruff for configuration.
  • Documentation:
    • Various fixes in docstrings, notably because of particle property updates.
    • README: minor updates/fixes.
  • Tests:
    • Doctests run separately in the CI.
    • Updates to pre-commit hooks.

v0.21.2

1 year ago
  • Classes for MC particle identification codes and converters:
    • Improvements and fixes in Corsika7 module.
    • Full test coverage for Corsika7 module.
    • Better test coverage for PDG ID related functions.
  • Tests:
    • Updates to pre-commit hooks.

v0.21.1

1 year ago
  • Particle class and submodules:
    • Better test coverage.
  • PDGID class method and related standalone functions:
    • Minor code simplifications.
    • Significant improvements to test coverage.
  • Documentation:
    • README: info added on how to create user-defined particles.
  • Tests:
    • Various improvements to the CI.
    • Updates to pre-commit hooks and CI YAML files.

v0.21.0

1 year ago
  • Data files:
    • Added the 2022 PDG data table file, now default.
    • Version 11 of package CSV data files:
      • Since PDG 2022 information now the default.
  • Classes for MC particle identification codes and converters:
    • New Corsika7ID class.
    • New Corsika72PDGIDBiMap bi-directional map between PDG and Corsika7 IDs.
  • Particle class, PDGID like classes and related standalone functions:
    • New method Particle.from_nucleus().
    • Extra documentation.
  • Miscellaneous:
    • Added a CITATION.cff file.
    • Moved over to using hatchling.
    • Added support for Python 3.11 and dropped support for Python 3.6.
    • Adapted to Pandas 1.5 series (removal of deprecation warnings).
  • Documentation:
    • Minor README updates.
  • Tests:
    • Updates to pre-commit hooks and CI YAML files.
    • Various improvements to the CI.

v0.20.1

2 years ago
  • Particle class:
    • More tests of PDGID functions for special particles.
  • Experiment-specific modules:
    • particle.lhcb simplified.
  • Miscellaneous:
    • Minor cleanup and updates.
  • Tests:
    • Now included in the SDist (MANIFEST.in updated).
    • Pre-commit hooks updated.

v0.20.0

2 years ago

First Python 3 (3.6+) only version.

  • Particle class:
    • Deprecated method find method removed. Use findall or finditer instead.
    • HTML Greek letters in particle names use hex code rather than entity name.
  • PDGID class method and related standalone functions:
    • Deprecated function is_composite_quark_or_lepton removed. Use is_excited_quark_or_lepton instead.
  • Documentation:
    • README updated with info on the new experiment-specific module particle.lhcb.
  • Miscellaneous:
    • Support for Python 2 and Python 3.5 dropped.
    • Full static typing implemented.
  • Tests:
    • Pre-commit hooks updated.