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
path_mc='/project2/lgrandi/xenon1t/simulations/TPC_Kr83m/NEST/mc_v1.0.1/fax_v6.8.0-pax_v6.8.0/Kr83m-hax_v1.5.0-1e6' | |
path='/scratch/midway2/ctherreau/ExtendedDoubleScatter_Minitree/simulation_fax_v6.8.0-pax_v6.8.0' | |
path_h5 ='/scratch/midway2/ctherreau/ExtendedDoubleScatter_Minitree/simulation_fax_v6.8.0-pax_v6.8.0/h5_files/' | |
#Select pax version | |
pax_version = '6.8.0' | |
%run "/home/ctherreau/initialize_midway.ipynb" | |
import pax | |
import pandas as pd |
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
Don't know a run named Xenon1T_TPC_Kr83m_00268_g4mc_NEST_Patch_pax, trying to find it anyway... | |
Don't know a run named Xenon1T_TPC_Kr83m_00268_g4mc_NEST_Patch_pax, trying to find it anyway... | |
--------------------------------------------------------------------------- | |
AttributeError Traceback (most recent call last) | |
<ipython-input-22-ebf5df5b5f41> in <module>() | |
1 df = hax.minitrees.load(run_names, treemakers=[ExtendedCorrectedDoubleS1Scatter],num_workers=20, | |
----> 2 force_reload=True) | |
/project/lgrandi/anaconda3/envs/pax_v6.8.0/lib/python3.4/site-packages/hax-2.4.0-py3.4.egg/hax/minitrees.py in load(datasets, treemakers, preselection, force_reload, delayed, num_workers, compute_options, cache_file, remake_cache, event_list) | |
514 |
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
File "/project/lgrandi/anaconda3/envs/pax_v6.8.0/bin/paxer", line 4, in <module> | |
__import__('pkg_resources').run_script('pax==6.8.0', 'paxer') | |
File "/project/lgrandi/anaconda3/envs/pax_v6.8.0/lib/python3.4/site-packages/pkg_resources/__init__.py", line 739, in run_script | |
self.require(requires)[0].run_script(script_name, ns) | |
File "/project/lgrandi/anaconda3/envs/pax_v6.8.0/lib/python3.4/site-packages/pkg_resources/__init__.py", line 1494, in run_script | |
exec(code, namespace, namespace) | |
File "/project/lgrandi/anaconda3/envs/pax_v6.8.0/lib/python3.4/site-packages/pax-6.8.0-py3.4.egg/EGG-INFO/scripts/paxer", line 304, in <module> | |
main() | |
File "/project/lgrandi/anaconda3/envs/pax_v6.8.0/lib/python3.4/site-packages/pax-6.8.0-py3.4.egg/EGG-INFO/scripts/paxer", line 124, in main | |
parallel.maybe_multiprocess(args, **config_kwargs) |