uproot3-methods icon indicating copy to clipboard operation
uproot3-methods copied to clipboard

Pythonic behaviors for non-I/O related ROOT classes.

Results 15 uproot3-methods issues
Sort by recently updated
recently updated
newest added

Hi, I am stumbling over a problem w/ 4-vectors in uproot_methods: Consider the problem of having events with lorentz vectors and wanting to boost all of them into their rest...

Is there a reason why the angle between two vectors is not implemented?

Calling `empty_like` on a `TLorentzVectorArray` gives invalid results. The returning object's `_valid` method raises exceptions. Example: ``` import awkward import uproot_methods a = awkward.fromiter([[1, 2], [3]]) t = uproot_methods.TLorentzVectorArray.from_cartesian(a, a,...

I'm unsure if this belongs here or perhaps with awkward (though I think it is here). The following reduced snippet: ```python import awkward import uproot_methods ex = awkward.JaggedArray.fromiter([ [1.0], [2.0,...

If the `physt()` method is used to convert a `TH1` to a Physt histogram, the errors aren't preserved (they're just the `sqrt(N)` errors).

When boosting a `PtEtaPhiMassLorentzVectorArray`, the resulting object is in an invalid state, such that all of the properties (such as x, y, pt, eta) raise errors. ``` import uproot_methods vec...

Hi, I'm wondering if we want to reproduce the behavior of ROOT.TLorentzVector for `eta` in the case that `x, y = 0` (See https://root.cern.ch/doc/master/TVector3_8cxx_source.html#l00320). That is, ROOT returns `sign(z)*10e10`. Currently,...

Could TH1 (or other methods) as well grow some setters, such that things like this might be possible? ``` aTH1 = TH1() aTH1.values = np.array([2,3,2]) aTH1.edges = np.array([0,1,2,3]) aTH1.variances =...

If you have type object, when you try to use the 'show' method, there will be error. The error is comming from: TH1.py file line 146: intervals = ["[{0:

I [asked earlier][0] about constructing the Lorentz vector objects directly from numpy arrays. That works really well! But I'd also like to be able to add additional information to the...