Releases: scikit-hep/uproot3-methods
Releases · scikit-hep/uproot3-methods
0.2.11
pt
, eta
, phi
, and mass
caching on TLorentzVector.ArrayMethods
now happens only at the deepest level of JaggedArray
nesting. That means that short-lived views (projecting through a jagged table, for instance) won't invalidate that cache.
0.2.10
- Faster
eta
calculation.
- Some properties are memoized and constructing a TLorentzVector from
pt
, eta
, phi
, mass
preloads the memo (so that mass
from the TLorentzVector is exactly the same as the given mass
, for instance).
0.2.9
sum()
may now be used on physics vector arrays regardless of whether they're jagged or not.
0.2.8
Classmethod constructors for TLorentzVectorArray, TVector3Array, and TVector2Array (such as TLorentzVector.from_cartesian
) accept jagged arrays as arguments, which result in JaggedArrayMethods of these arrays. Methods can be used at the jagged level, at the flat array level, or at the Python object level.
0.2.7
PR #9 fixed a bug in TVector3.cross
(and added a test).
0.2.4
Fixed an infinite recursion bug for JaggedArrays of TLorentzVectors (code was general enough for ObjectArrayMethods but not also JaggedArrayMethods).
0.2.3
Fixed simple copy-paste errors in TLorentzVectorArray.from_ptetaphim
and the from_p3
it depends on.
0.2.2
Fixed a bug in which TLorentzVectorArrays could not yield .p3
data if they were non-jagged.