-
Notifications
You must be signed in to change notification settings - Fork 19
Description
I've met some problems with the examples in the "Lorentz vectors, particle PDG, jet-clustering, oh my!
" chapter.
In the "Particle PDG
" section:
particle.Particle.from_string("p~")
z_boson = particle.Particle.from_string("Z0")
and in the "Jet clustering
" section:
probable_mass = particle.Particle.from_string("pi+").mass / GeV
generate warnings in the form:
<stdin>:1: DeprecationWarning: Call to deprecated class method from_string. (This method is deprecated and will be removed from version 0.23.0. Use finditer or findall instead.) -- Deprecated since version 0.22.
In the "Jet clustering
" section, in the "fastjet" example:
good_pseudojets = pseudojets[pseudojets.pt > 0.1]
generates an error in the form:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/.../tutorial/lib/python3.11/site-packages/awkward/highlevel.py", line 1108, in __getattr__
raise AttributeError(f"no field named {where!r}")
AttributeError: no field named 'pt'. Did you mean: 'px'?
Then I cannot "import fastjet
" ... and when I try to "install fastjet
" (from conda-forge), I get:
error libmamba Could not solve for environment specs
The following package could not be installed
└─ fastjet does not exist (perhaps a typo or a missing channel).
critical libmamba Could not solve for environment specs