We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some entries (~ 5% of all entries) in image2d_data_tree TTree of test_40k.root have more than 3 images :
image2d_data_tree
from __future__ import print_function from larcv import larcv import ROOT from ROOT import TChain import numpy as np chain_image2d = ROOT.TChain('image2d_data_tree') chain_image2d.AddFile('test_40k.root') badEntries={} for e in np.arange(chain_image2d.GetEntries()): chain_image2d.GetEntry(e) num = chain_image2d.image2d_data_branch.as_vector().size() if num == 3: continue if not num in badEntries: badEntries[num]=[e] else: badEntries[num].append(e) for key,val in badEntries.iteritems(): print(key,len(val))
returns (# images vs # such entries)
6 1808 9 462 12 148 15 39 18 13 21 6 24 1
The text was updated successfully, but these errors were encountered:
drinkingkazu
No branches or pull requests
Some entries (~ 5% of all entries) in
image2d_data_tree
TTree of test_40k.root have more than 3 images :returns (# images vs # such entries)
The text was updated successfully, but these errors were encountered: