UpROOT.jl
UpROOT.jl copied to clipboard
Julia package to access CERN ROOT files, wraps Python package uproot
Just learned recently that `uproot` us upgrading soon https://github.com/scikit-hep/uproot4#uproot-3-vs-uproot-4 FYI: https://www.youtube.com/watch?v=ea-zYLQBS4U&feature=youtu.be Will the `UpROOT.jl` be affected?
Here is how I plot `TGraphError` extracted from `TFile`, ```julia f = TFile("test.root") c = f["myTGE"] # typo of object PyObject plot( vcat(c.xvalues...), vcat(c.yvalues...), xerr = vcat(c.xerrors...), yerr = vcat(c.yerrors...),...
I cannot read histograms from [this ROOT file](https://github.com/JuliaHEP/UpROOT.jl/files/6754057/histos.root.txt). I think it's a floating point arithmetic issue. ```julia julia> using UpROOT julia> UpROOT.TFile("histos.root")["h_comp_roi"] ERROR: Histogram edge vectors must be 1 longer...
...needs uproot4. See also https://github.com/scikit-hep/uproot3-methods/issues/99
We should think about implementing a custom `HEPHistogram` object with under/overflow bins *à la* ROOT.
Add support for `Base.close` to close files, etc.