Skip to content
This repository has been archived by the owner on Jan 27, 2023. It is now read-only.

Releases: scikit-hep/uproot3-methods

0.4.4

09 Mar 21:17
944911a
Compare
Choose a tag to compare

Added type checks to TLorentzVector*, TVector3*, TVector2* constructor arguments to prevent common mistakes.

Also fixed a bug related that prevented TLorentzVectorArray + TLorentzVectorArray in some cases. (Nested within a JaggedArray, the class identity of TLorentzVectorArray sometimes wasn't carried through.)

0.4.3

22 Feb 16:09
7e6d08f
Compare
Choose a tag to compare

Merged PR #42, which implements TH3.

It also introduces the following breaking changes in TH2:

  • xedges, yedges are swapped (to their correct order)
  • .numpy() returns a nested structure, like numpy.histogramdd, unlike numpy.histogram2d:
bin_content, (xedges, yedges) = th2.numpy()

for consistency with

bin_content, (xedges, yedges, zedges) = th3.numpy()

0.4.2

05 Feb 21:33
8ef0109
Compare
Choose a tag to compare

@lgray introduced PtEtaPhiMassLorentzVector and PtEtaPhiMassLorentzVectorArray, which internally represent Lorentz vectors in cylindrical/kinematic coordinates, rather than cartesian. This avoids unnecessary conversions to cartesian if your data source is cylindrical/kinematic and you never need cartesian coordinates.

Also, @guitargeek fixed a bug in TLorentzVector caching for cases in which array.content != array.flatten() (non-trivial physical structure for a given logical structure of jagged array).

0.4.1

30 Jan 19:11
87df98c
Compare
Choose a tag to compare

Strings are now recognized for writing to ROOT files in Python 2 as well.

0.4.0

29 Jan 20:53
b32f333
Compare
Choose a tag to compare

Now requires awkward 0.8.0 and all access to the awkward library goes through ROOTMethods.awkward.

0.3.4

27 Jan 15:11
44ae3cd
Compare
Choose a tag to compare

Remove README from data_files

0.3.3

07 Jan 15:12
f58351a
Compare
Choose a tag to compare

Includes PR #32: fixes TH2.edges and adds TH2.allnumpy.

0.3.2

04 Jan 22:49
Compare
Choose a tag to compare

Fixed #24, #27, #28, and #30.

0.3.1

14 Dec 22:01
b5a462b
Compare
Choose a tag to compare

Cleaning up the histogram interface to be more mature.

0.3.0

13 Dec 21:12
0aae83f
Compare
Choose a tag to compare

Minimum version for awkward is now 0.7.0.

Histograms now return Numpy arrays instead of lists of numbers for values, allvalues, variances, allvariances.

Added edges, alledges, bins, and allbins.