Skip to content

Releases: scikit-hep/particle

Version 0.14.0

26 Nov 14:31
6fe8211
Compare
Choose a tag to compare
  • Particle class:
    • Methods Particle.to_list and Particle.to_dict enhanced.
  • Data CSV files:
    • Version 8 of package data files, with fixed parities for antibaryons with undefined parity.
    • Tests added to check if every particle is parsed and loaded correctly.
  • Miscellaneous:
    • Minor fix on static typing.

Version 0.13.1

10 Nov 17:32
05baad0
Compare
Choose a tag to compare
  • PDG ID:
    • Minor simplifications in some PID functions.
  • Particle class:
    • Test for Particle.is_unflavoured_meson added.
  • Miscellaneous:
    • Full static typing implemented.

Version 0.13.0

30 Oct 19:56
6f751f3
Compare
Choose a tag to compare
  • Dependencies:
    • hepunits >= 2.0.0.
  • Tests:
    • CI updates.
    • Tests adapted to hepunits 2.0.0.
  • Miscellaneous:
    • Support for Python 3.9 added.

Version 0.12.0

29 Sep 09:43
bd36ad4
Compare
Choose a tag to compare
  • Particle class:
    • Particle.dump_table() method removed and replaced with methods
      Particle.to_dict() and Particle.to_list() (avoids strong coupling of packages).
    • Improve LaTeX particle names with \prime in them,
      to have correct HTML names for such particles.
    • Misleading/awkward Particle.__int__ method removed.
  • PDGID class:
    • New functions for qualification of PDG IDs:
      • is_quark.
      • is_gauge_boson_or_higgs.
      • is_sm_gauge_boson_or_higgs.
      • is_generator_specific.
      • is_technicolor.
      • is_composite_quark_or_lepton.
      • is_special_particle.
    • Several PDG ID qualification functions improved and/or enhanced,
      and minor bugs fixed for certain special particles.
  • Data CSV files:
    • Version 7 of package data files, with fixed LaTeX and HTML particle names.
    • Added newly-ish defined particles for two-Higgs-doublet scenario
      and additional SU(2)xU(1) groups.
    • Internal and user-irrelevant file particle2008.csv file removed.
  • Tests:
    • Test suite extended to deal with new PDG ID related functions.
  • Documentation:
    • Demo notebook slightly extended.
    • More explanations in the functions qualifying PDG IDs.
  • Miscellaneous:
    • LaTeX-to-HTML particle name conversion function fixed to correctly
      deal with names containing \prime and/or \tilde.

Version 0.11.0

13 Aug 15:25
5258624
Compare
Choose a tag to compare
  • Data files:
    • Added the 2020 PDG data table .mcd file, now default.
    • Version 6 of package CSV data files:
      • Since PDG 2020 information now the default.
      • Bug fix in parity of antibaryons.
  • Documentation:
    • README updated and expanded with info on custom data loading.
  • Miscellaneous:
    • ZipApp fix for releasing from web interface.

Version 0.10.0

21 May 14:38
475fe8a
Compare
Choose a tag to compare
  • 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

0.9.2

14 Feb 14:13
636fffe
Compare
Choose a tag to compare
  • Particle class:
    • Deal with particles with no mass info.
    • Make Particle.dump_table() work better in notebooks.

0.9.1

14 Jan 11:17
4fcfa4e
Compare
Choose a tag to compare

Particle class:

  • Documentation added to various methods.
  • Minor fix to class method from_evtgen_name(...).

0.9.0

07 Jan 20:14
526d9d3
Compare
Choose a tag to compare
  • Particle class:
    • Robust handling of missing mass info.
  • Data CSV files:
    • Version 4 of package data files,
      with more particles added (mostly badly-known particles relevant for MC).
    • Version header now also present in the particleXXXX.csv files.

0.8.1

14 Dec 13:40
57463d0
Compare
Choose a tag to compare
  • Fix of lifetimes/widths (unknown) for corner cases.
  • Documentation updates.