Releases: scikit-hep/particle
Releases · scikit-hep/particle
Version 0.14.0
Particle
class:- Methods
Particle.to_list
andParticle.to_dict
enhanced.
- Methods
- 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
- PDG ID:
- Minor simplifications in some PID functions.
Particle
class:- Test for
Particle.is_unflavoured_meson
added.
- Test for
- Miscellaneous:
- Full static typing implemented.
Version 0.13.0
- 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
Particle
class:Particle.dump_table()
method removed and replaced with methods
Particle.to_dict()
andParticle.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.
- New functions for qualification of PDG IDs:
- 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
.
- LaTeX-to-HTML particle name conversion function fixed to correctly
Version 0.11.0
- 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
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.
- Several improvements, in particular to better deal with nuclei
PDGID
class:- PDG ID functions extended to correctly and consistently deal
with nuclei. - Functions now accept any SupportsInt, including Particle objects.
- PDG ID functions extended to correctly and consistently deal
- Data CSV files:
- Version 5 of package data files:
- Diquarks added.
- Information in nuclei added! List and masses taken from
packageperiodictable
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.
- Version 5 of package data files:
- 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 ofattr
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
requirespython3
to be available
- Files
0.9.2
Particle
class:- Deal with particles with no mass info.
- Make
Particle.dump_table()
work better in notebooks.
0.9.1
Particle
class:
- Documentation added to various methods.
- Minor fix to class method
from_evtgen_name(...)
.
0.9.0
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.
- Version 4 of package data files,
0.8.1
- Fix of lifetimes/widths (unknown) for corner cases.
- Documentation updates.