You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Several known particles have no measured value of their width, e.g. the D∗(2007)0, with a width < 2.1 MeV @ 90% confidence level (see PDGLive). The present code shows
, which is "digested information" from the PDG particle data table: the .mcd file contains empty fields for the 3 quantities whereas the 2018 extended file flags the experimental upper limit with the values 2.1,-1,-1 (the fact the width_lower is +1 in the print out above is because all errors are converted to positive numbers in our converter code that produces the CSV file we use).
We need to improve the above on 2 fronts:
print(p.width, p.width_lower, p.width_upper) should rather return 2.1 -1.0 -1.0 for this kind of cases, so that the user can see the errors are not known. The documentation could and should mention this special case.
Some code such as df.loc[df['WidthLower'] != -1, 'WidthLower'] = 1 could do the trick.
With the special -1.0 values for the width errors the method Particle.describe() could catch these and print the particle width as Width < 2.1 MeV whereas now it prints Width = 2.1 ± 1.0 MeV, which is wrong and misleading.
One should also look at the mass and mass error entries to catch similar issues.
The text was updated successfully, but these errors were encountered:
Several known particles have no measured value of their width, e.g. the D∗(2007)0, with a width < 2.1 MeV @ 90% confidence level (see PDGLive). The present code shows
, which is "digested information" from the PDG particle data table: the .mcd file contains empty fields for the 3 quantities whereas the 2018 extended file flags the experimental upper limit with the values
2.1,-1,-1
(the fact the width_lower is +1 in the print out above is because all errors are converted to positive numbers in our converter code that produces the CSV file we use).We need to improve the above on 2 fronts:
print(p.width, p.width_lower, p.width_upper)
should rather return2.1 -1.0 -1.0
for this kind of cases, so that the user can see the errors are not known. The documentation could and should mention this special case.Some code such as
df.loc[df['WidthLower'] != -1, 'WidthLower'] = 1
could do the trick.With the special
-1.0
values for the width errors the methodParticle.describe()
could catch these and print the particle width asWidth < 2.1 MeV
whereas now it printsWidth = 2.1 ± 1.0 MeV
, which is wrong and misleading.One should also look at the mass and mass error entries to catch similar issues.
The text was updated successfully, but these errors were encountered: