Skip to content

Releases: scikit-hep/particle

Version 0.24.0

23 Apr 12:00
a18498b
Compare
Choose a tag to compare
  • 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.

Version 0.23.1

01 Dec 13:49
a464420
Compare
Choose a tag to compare
  • Miscellaneous:
    • Modernisation of Ruff configuration in pyproject.toml.
  • CI and tests:
    • Updates to pre-commit hooks and CI YAML files.

Version 0.23.0

04 Jul 06:31
d0efbb8
Compare
Choose a tag to compare
  • 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.

Version 0.22.1

12 Jun 12:14
925b9a9
Compare
Choose a tag to compare
  • 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.

Version 0.22.0

24 Mar 12:05
4a3e53a
Compare
Choose a tag to compare
  • 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.

Version 0.21.2

30 Jan 17:54
05ef39c
Compare
Choose a tag to compare
  • 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.

Version 0.21.1

04 Jan 11:42
79bcf8f
Compare
Choose a tag to compare
  • 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.

Version 0.21.0

08 Nov 14:18
f98b7fc
Compare
Choose a tag to compare
  • 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.

Version 0.20.1

29 Mar 13:50
92b1bb0
Compare
Choose a tag to compare
  • 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.

Version 0.20.0

15 Jan 17:11
bbf808c
Compare
Choose a tag to compare

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.