Skip to content

Commit 7d46bc7

Browse files
Make curated PDG particle data table 2025 the default (#702)
* Make particle2025.csv default * Update src/particle/particle/convert.py * Update tests accordingly * Update other tests to run over latest CSV * Update README files * Update doctests accordingly * Update CSV files to version 14 as particle2025.csv
1 parent 95e9dbd commit 7d46bc7

16 files changed

+667
-37
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ with easily recognisable names. For example:
209209
>>>
210210
>>> from particle.literals import Lambda_b_0
211211
>>> Lambda_b_0
212-
<Particle: name="Lambda(b)0", pdgid=5122, mass=5619.60 ± 0.17 MeV>
212+
<Particle: name="Lambda(b)0", pdgid=5122, mass=5619.57 ± 0.16 MeV>
213213
>>> Lambda_b_0.J
214214
0.5
215215
```
@@ -255,7 +255,7 @@ If you want a non-default data file distributed with the package just proceed as
255255

256256
```python
257257
>>> from particle import data
258-
>>> Particle.load_table(data.basepath / "particle2024.csv"))
258+
>>> Particle.load_table(data.basepath / "particle2025.csv"))
259259
>>> Particle.load_table(data.basepath / "nuclei2022.csv"), append=True) # I still want nuclei info
260260
>>> Particle.table_names() # list the loaded tables
261261
```

src/particle/data/README.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Particle Data folder contents
22
-----------------------------
33

4-
You can ``import particle.data``, then use ``particle.data.basepath / "particle2024.csv"``
4+
You can ``import particle.data``, then use ``particle.data.basepath / "particle2025.csv"``
55
to access data reliably regardless of how you have installed or are running the package (even from a zip file!).
66

77

@@ -20,7 +20,7 @@ An extension file for the extended PDG data file, prepared by this package's mai
2020
It contains entries necessary to provide extended information for the particles in the standard .mcd file.
2121

2222

23-
``mass_width_2024.mcd``
23+
``mass_width_2025.mcd``
2424
=======================
2525

2626
The latest version of the PDG particle data file, downloaded from the PDG website
@@ -29,7 +29,7 @@ with much less information, but with more particles and more up to date.
2929
A few older years are included, too.
3030

3131

32-
``particle2024.csv``
32+
``particle2025.csv``
3333
====================
3434

3535
The combined data file, in a format that is easy for the ``Particle`` class to read and easy for physicists to extend or edit.
@@ -43,15 +43,15 @@ If you'd like to append to this file, write a similar file with the same header,
4343
to read in the original table and then the new file you've written.
4444

4545
This file was created from ``pdgid_to_latexname.csv``, ``mass_width_2008.fwf``,
46-
``mass_width_2008_ext.fwf`` and ``mass_width_2024.mcd``.
46+
``mass_width_2008_ext.fwf`` and ``mass_width_2025.mcd``.
4747
The 2008 version of the file was created with only the first two.
4848

4949

5050
``nuclei2022.csv``
5151
==================
5252

5353
Information on nuclei extracted and adapted from package ``periodictable``,
54-
available in the same format as that of ``particle2024.csv``.
54+
available in the same format as that of ``particle2025.csv``.
5555

5656

5757
``conversions.csv``

src/particle/data/conversions.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# (c) Scikit-HEP project - Particle package data file - conversions.csv - version 13 - 2023-07-03
1+
# (c) Scikit-HEP project - Particle package data file - conversions.csv - version 15 - 2025-09-30
22
PDGID, PYTHIAID, GEANT3ID, PDGNAME, EVTGENNAME, LATEXNAME
33
1, 1, 303, d, d, d
44
-1, -1, 304, d~, anti-d, \overline{d}

src/particle/data/nuclei2022.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# (c) Scikit-HEP project - Particle package data file - nuclei2022.csv - version 14 - 2024-08-08
1+
# (c) Scikit-HEP project - Particle package data file - nuclei2022.csv - version 15 - 2025-09-30
22
ID,Mass,MassUpper,MassLower,Width,WidthUpper,WidthLower,I,G,P,C,Anti,Charge,Rank,Status,Name,Quarks,Latex
33
1000000010,939.5654205,5e-07,5e-07,7.493e-25,4e-28,4e-28,1/2,5,1,5,1,0,4,0,n,udd,n
44
-1000000010,939.5654205,5e-07,5e-07,7.493e-25,4e-28,4e-28,1/2,5,-1,5,1,0,4,0,n,UDD,\overline{n}

src/particle/data/particle2025.csv

Lines changed: 628 additions & 0 deletions
Large diffs are not rendered by default.

src/particle/data/pdgid_to_corsika7id.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# (c) Scikit-HEP project - Particle package data file - pdgid_to_corsika7id.csv - version 14 - 2024-08-08
1+
# (c) Scikit-HEP project - Particle package data file - pdgid_to_corsika7id.csv - version 15 - 2025-09-30
22
# Auto generated by 'admin/dump_pdgid_to_corsika7.py'
33
PDGID,CORSIKA7ID
44
22,1

src/particle/data/pdgid_to_evtgenname.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# (c) Scikit-HEP project - Particle package data file - pdgid_to_evtgenname.csv - version 14 - 2024-08-08
1+
# (c) Scikit-HEP project - Particle package data file - pdgid_to_evtgenname.csv - version 15 - 2025-09-30
22
PDGID,STR
33
1,d
44
-1,anti-d

src/particle/data/pdgid_to_geant3id.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# (c) Scikit-HEP project - Particle package data file - pdgid_to_geant3id.csv - version 14 - 2024-08-08
1+
# (c) Scikit-HEP project - Particle package data file - pdgid_to_geant3id.csv - version 15 - 2025-09-30
22
PDGID,GEANT3ID
33
1,303
44
-1,304

src/particle/data/pdgid_to_latexname.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# (c) Scikit-HEP project - Particle package data file - pdgid_to_latexname.csv - version 14 - 2024-08-08
1+
# (c) Scikit-HEP project - Particle package data file - pdgid_to_latexname.csv - version 15 - 2025-09-30
22
PDGID,LATEXNAME
33
1,d
44
2,u

src/particle/data/pdgid_to_pythiaid.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# (c) Scikit-HEP project - Particle package data file - pdgid_to_pythiaid.csv - version 14 - 2024-08-08
1+
# (c) Scikit-HEP project - Particle package data file - pdgid_to_pythiaid.csv - version 15 - 2025-09-30
22
PDGID,PYTHIAID
33
1,1
44
-1,-1

0 commit comments

Comments
 (0)