Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -- branches I'm interested in out of all the ones in the df | |
| branches = ['jet_pt', 'abs(jet_eta)', | |
| 'jet_phi', 'jet_ip3', 'jet_ip3_c', | |
| 'jet_ip3_cu', 'jet_ip2', 'jet_ip2_c', | |
| 'jet_ip2_cu', 'jet_sv1_ntrkv', | |
| 'jet_sv1_m', 'jet_sv1_efc', 'jet_sv1_n2t'] | |
| | |
| # -- QUICK WAY: | |
| start = 0 | |
| unflattened = [test_df[b] for b in branches] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from root_numpy.tmva import add_classification_events, evaluate_reader | |
| from rootpy.io import root_open | |
| from rootpy import stl, log | |
| from rootpy.tree import Tree | |
| from rootpy.vector import Vector3, LorentzVector | |
| from ROOT import TMVA, TFile | |
| import xml.etree.ElementTree as ET | |
| from array import array | |
| import pandas as pd | |
| import pandautils as pup |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from rootpy.plotting.style import set_style | |
| set_style('ATLAS', mpl=True) |